From c8bcd74a7a2c3e3f06435aaaba0ae8563420a3d0 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 9 Jan 2025 05:18:26 -0800 Subject: [PATCH] feat: Automated regeneration of FirebaseStorage client (#12794) Auto-created at 2025-01-09 13:17:19 +0000 using the toys pull request generator. --- clients/firebase_storage/README.md | 2 +- .../firebase_storage/v1beta/metadata.ex | 2 +- ...migrate_location_destructively_metadata.ex | 59 ------------------- ...migrate_location_destructively_metadata.ex | 59 ------------------- clients/firebase_storage/mix.exs | 2 +- 5 files changed, 3 insertions(+), 121 deletions(-) delete mode 100644 clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1alpha_migrate_location_destructively_metadata.ex delete mode 100644 clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1beta_migrate_location_destructively_metadata.ex diff --git a/clients/firebase_storage/README.md b/clients/firebase_storage/README.md index 751522f6b2..b9139428b8 100644 --- a/clients/firebase_storage/README.md +++ b/clients/firebase_storage/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_firebase_storage, "~> 0.4"}] + [{:google_api_firebase_storage, "~> 0.5"}] end ``` diff --git a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex b/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex index 5040f2793f..3e3588c4f3 100644 --- a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex +++ b/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.FirebaseStorage.V1beta do API client metadata for GoogleApi.FirebaseStorage.V1beta. """ - @discovery_revision "20241111" + @discovery_revision "20241218" def discovery_revision(), do: @discovery_revision end diff --git a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1alpha_migrate_location_destructively_metadata.ex b/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1alpha_migrate_location_destructively_metadata.ex deleted file mode 100644 index 3f6d4875be..0000000000 --- a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1alpha_migrate_location_destructively_metadata.ex +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata do - @moduledoc """ - Metadata for MigrateLocationDestructively LRO. - - ## Attributes - - * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the LRO was created. - * `lastUpdateTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the LRO was last updated. - * `state` (*type:* `String.t`, *default:* `nil`) - The current state of the migration. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :createTime => DateTime.t() | nil, - :lastUpdateTime => DateTime.t() | nil, - :state => String.t() | nil - } - - field(:createTime, as: DateTime) - field(:lastUpdateTime, as: DateTime) - field(:state) -end - -defimpl Poison.Decoder, - for: - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata do - def decode(value, options) do - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1beta_migrate_location_destructively_metadata.ex b/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1beta_migrate_location_destructively_metadata.ex deleted file mode 100644 index 886b568ac7..0000000000 --- a/clients/firebase_storage/lib/google_api/firebase_storage/v1beta/model/google_firebase_storage_controlplane_v1beta_migrate_location_destructively_metadata.ex +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata do - @moduledoc """ - Metadata for MigrateLocationDestructively LRO. - - ## Attributes - - * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the LRO was created. - * `lastUpdateTime` (*type:* `DateTime.t`, *default:* `nil`) - The time the LRO was last updated. - * `state` (*type:* `String.t`, *default:* `nil`) - The current state of the migration. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :createTime => DateTime.t() | nil, - :lastUpdateTime => DateTime.t() | nil, - :state => String.t() | nil - } - - field(:createTime, as: DateTime) - field(:lastUpdateTime, as: DateTime) - field(:state) -end - -defimpl Poison.Decoder, - for: - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata do - def decode(value, options) do - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata.decode( - value, - options - ) - end -end - -defimpl Poison.Encoder, - for: - GoogleApi.FirebaseStorage.V1beta.Model.GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/firebase_storage/mix.exs b/clients/firebase_storage/mix.exs index 5edd596121..967ae4ec13 100644 --- a/clients/firebase_storage/mix.exs +++ b/clients/firebase_storage/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.FirebaseStorage.Mixfile do use Mix.Project - @version "0.4.0" + @version "0.5.0" def project() do [