From 1c4a57f40649e609614f0fb3c60a8de9d068e498 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Mar 2024 02:37:29 +0000 Subject: [PATCH] feat: Automated regeneration of FirebaseRules client --- clients/firebase_rules/README.md | 2 +- .../lib/google_api/firebase_rules/v1/metadata.ex | 2 +- .../lib/google_api/firebase_rules/v1/model/ruleset.ex | 3 +++ clients/firebase_rules/mix.exs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/clients/firebase_rules/README.md b/clients/firebase_rules/README.md index 4f2d57423e..e74c8362ee 100644 --- a/clients/firebase_rules/README.md +++ b/clients/firebase_rules/README.md @@ -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 ``` diff --git a/clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex b/clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex index 4a520b7565..9d4c4a6bfd 100644 --- a/clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex +++ b/clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex @@ -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 diff --git a/clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex b/clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex index 9c31ca1d89..0d46d7b381 100644 --- a/clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex +++ b/clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex @@ -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}` @@ -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) diff --git a/clients/firebase_rules/mix.exs b/clients/firebase_rules/mix.exs index 2ea68392b2..c2bb1f89fe 100644 --- a/clients/firebase_rules/mix.exs +++ b/clients/firebase_rules/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.FirebaseRules.Mixfile do use Mix.Project - @version "0.16.5" + @version "0.17.0" def project() do [