Skip to content

Commit

Permalink
feat: Automated regeneration of PubSub client (#11198)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-26 13:06:02 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 26, 2024
1 parent 561e1dc commit 21ddfed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/pub_sub/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_pub_sub, "~> 0.37"}]
[{:google_api_pub_sub, "~> 0.38"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/pub_sub/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.PubSub.Mixfile do
use Mix.Project

@version "0.37.0"
@version "0.38.0"

def project() do
[
Expand Down

0 comments on commit 21ddfed

Please sign in to comment.