diff --git a/clients/pub_sub/README.md b/clients/pub_sub/README.md index 2c155fcdb8..c09d54cf62 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.38"}] + [{:google_api_pub_sub, "~> 0.39"}] 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 5e52ab3bc1..7528b0b082 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 "20240319" + @discovery_revision "20240607" def discovery_revision(), do: @discovery_revision end diff --git a/clients/pub_sub/lib/google_api/pub_sub/v1/model/avro_config.ex b/clients/pub_sub/lib/google_api/pub_sub/v1/model/avro_config.ex index 28254a6dbf..8d8734a074 100644 --- a/clients/pub_sub/lib/google_api/pub_sub/v1/model/avro_config.ex +++ b/clients/pub_sub/lib/google_api/pub_sub/v1/model/avro_config.ex @@ -21,15 +21,18 @@ defmodule GoogleApi.PubSub.V1.Model.AvroConfig do ## Attributes + * `useTopicSchema` (*type:* `boolean()`, *default:* `nil`) - Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists. * `writeMetadata` (*type:* `boolean()`, *default:* `nil`) - Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :useTopicSchema => boolean() | nil, :writeMetadata => boolean() | nil } + field(:useTopicSchema) field(:writeMetadata) end diff --git a/clients/pub_sub/mix.exs b/clients/pub_sub/mix.exs index 25f4d191ce..db322d0944 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.38.0" + @version "0.39.0" def project() do [