From 21ddfedebd884f3504e244879f8c278feeaec696 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 26 Mar 2024 06:08:16 -0700 Subject: [PATCH] feat: Automated regeneration of PubSub client (#11198) Auto-created at 2024-03-26 13:06:02 +0000 using the toys pull request generator. --- clients/pub_sub/README.md | 2 +- clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex | 2 +- .../lib/google_api/pub_sub/v1/model/cloud_storage_config.ex | 3 +++ clients/pub_sub/mix.exs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/clients/pub_sub/README.md b/clients/pub_sub/README.md index 03805e7351..2c155fcdb8 100644 --- a/clients/pub_sub/README.md +++ b/clients/pub_sub/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_pub_sub, "~> 0.37"}] + [{:google_api_pub_sub, "~> 0.38"}] end ``` diff --git a/clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex b/clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex index 8898482eb7..5e52ab3bc1 100644 --- a/clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex +++ b/clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.PubSub.V1 do API client metadata for GoogleApi.PubSub.V1. """ - @discovery_revision "20240227" + @discovery_revision "20240319" def discovery_revision(), do: @discovery_revision end diff --git a/clients/pub_sub/lib/google_api/pub_sub/v1/model/cloud_storage_config.ex b/clients/pub_sub/lib/google_api/pub_sub/v1/model/cloud_storage_config.ex index bcb23dc863..f6c0aae65f 100644 --- a/clients/pub_sub/lib/google_api/pub_sub/v1/model/cloud_storage_config.ex +++ b/clients/pub_sub/lib/google_api/pub_sub/v1/model/cloud_storage_config.ex @@ -23,6 +23,7 @@ defmodule GoogleApi.PubSub.V1.Model.CloudStorageConfig do * `avroConfig` (*type:* `GoogleApi.PubSub.V1.Model.AvroConfig.t`, *default:* `nil`) - Optional. If set, message data will be written to Cloud Storage in Avro format. * `bucket` (*type:* `String.t`, *default:* `nil`) - Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + * `filenameDatetimeFormat` (*type:* `String.t`, *default:* `nil`) - Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names). * `filenamePrefix` (*type:* `String.t`, *default:* `nil`) - Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). * `filenameSuffix` (*type:* `String.t`, *default:* `nil`) - Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/". * `maxBytes` (*type:* `String.t`, *default:* `nil`) - Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit. @@ -37,6 +38,7 @@ defmodule GoogleApi.PubSub.V1.Model.CloudStorageConfig do @type t :: %__MODULE__{ :avroConfig => GoogleApi.PubSub.V1.Model.AvroConfig.t() | nil, :bucket => String.t() | nil, + :filenameDatetimeFormat => String.t() | nil, :filenamePrefix => String.t() | nil, :filenameSuffix => String.t() | nil, :maxBytes => String.t() | nil, @@ -48,6 +50,7 @@ defmodule GoogleApi.PubSub.V1.Model.CloudStorageConfig do field(:avroConfig, as: GoogleApi.PubSub.V1.Model.AvroConfig) field(:bucket) + field(:filenameDatetimeFormat) field(:filenamePrefix) field(:filenameSuffix) field(:maxBytes) diff --git a/clients/pub_sub/mix.exs b/clients/pub_sub/mix.exs index 1f19d11a75..25f4d191ce 100644 --- a/clients/pub_sub/mix.exs +++ b/clients/pub_sub/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.PubSub.Mixfile do use Mix.Project - @version "0.37.0" + @version "0.38.0" def project() do [