Skip to content

Commit

Permalink
feat: Automated regeneration of FirebaseRules client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 9e554ee commit 1c4a57f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/firebase_rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_firebase_rules, "~> 0.16"}]
[{:google_api_firebase_rules, "~> 0.17"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.FirebaseRules.V1 do
API client metadata for GoogleApi.FirebaseRules.V1.
"""

@discovery_revision "20220619"
@discovery_revision "20240214"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defmodule GoogleApi.FirebaseRules.V1.Model.Ruleset do
## Attributes
* `attachmentPoint` (*type:* `String.t`, *default:* `nil`) - Immutable. Intended resource to which this Ruleset should be released. May be left blank to signify the resource associated with the default release. Expected format: firestore.googleapis.com/projects//databases/
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time the `Ruleset` was created.
* `metadata` (*type:* `GoogleApi.FirebaseRules.V1.Model.Metadata.t`, *default:* `nil`) - Output only. The metadata for this ruleset.
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`
Expand All @@ -30,12 +31,14 @@ defmodule GoogleApi.FirebaseRules.V1.Model.Ruleset do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:attachmentPoint => String.t() | nil,
:createTime => DateTime.t() | nil,
:metadata => GoogleApi.FirebaseRules.V1.Model.Metadata.t() | nil,
:name => String.t() | nil,
:source => GoogleApi.FirebaseRules.V1.Model.Source.t() | nil
}

field(:attachmentPoint)
field(:createTime, as: DateTime)
field(:metadata, as: GoogleApi.FirebaseRules.V1.Model.Metadata)
field(:name)
Expand Down
2 changes: 1 addition & 1 deletion clients/firebase_rules/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.FirebaseRules.Mixfile do
use Mix.Project

@version "0.16.5"
@version "0.17.0"

def project() do
[
Expand Down

0 comments on commit 1c4a57f

Please sign in to comment.