diff --git a/clients/analytics_hub/README.md b/clients/analytics_hub/README.md index 686771c107..617b318b5d 100644 --- a/clients/analytics_hub/README.md +++ b/clients/analytics_hub/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_analytics_hub, "~> 0.4"}] + [{:google_api_analytics_hub, "~> 0.5"}] end ``` diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1/metadata.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1/metadata.ex index 5369ac8b84..b32e9e8286 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1/metadata.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1 do API client metadata for GoogleApi.AnalyticsHub.V1. """ - @discovery_revision "20240925" + @discovery_revision "20241028" def discovery_revision(), do: @discovery_revision end diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1/model/subscribe_data_exchange_request.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1/model/subscribe_data_exchange_request.ex index e278a1dad6..cc751c5447 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1/model/subscribe_data_exchange_request.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1/model/subscribe_data_exchange_request.ex @@ -22,6 +22,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.SubscribeDataExchangeRequest do ## Attributes * `destination` (*type:* `String.t`, *default:* `nil`) - Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/US` + * `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DestinationDataset.t`, *default:* `nil`) - Optional. BigQuery destination dataset to create for the subscriber. * `subscriberContact` (*type:* `String.t`, *default:* `nil`) - Email of the subscriber. * `subscription` (*type:* `String.t`, *default:* `nil`) - Required. Name of the subscription to create. e.g. `subscription1` """ @@ -30,11 +31,13 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.SubscribeDataExchangeRequest do @type t :: %__MODULE__{ :destination => String.t() | nil, + :destinationDataset => GoogleApi.AnalyticsHub.V1.Model.DestinationDataset.t() | nil, :subscriberContact => String.t() | nil, :subscription => String.t() | nil } field(:destination) + field(:destinationDataset, as: GoogleApi.AnalyticsHub.V1.Model.DestinationDataset) field(:subscriberContact) field(:subscription) end diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/metadata.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/metadata.ex index 4e91708966..3a6fc8a485 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/metadata.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1beta1 do API client metadata for GoogleApi.AnalyticsHub.V1beta1. """ - @discovery_revision "20240624" + @discovery_revision "20241028" def discovery_revision(), do: @discovery_revision end diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset.ex similarity index 68% rename from clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset.ex rename to clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset.ex index 051b4ec28a..6a70a9b1b5 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset.ex @@ -15,13 +15,13 @@ # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. -defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do +defmodule GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do @moduledoc """ Defines the destination bigquery dataset. ## Attributes - * `datasetReference` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.t`, *default:* `nil`) - Required. A reference that identifies the destination dataset. + * `datasetReference` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.t`, *default:* `nil`) - Required. A reference that identifies the destination dataset. * `description` (*type:* `String.t`, *default:* `nil`) - Optional. A user-friendly description of the dataset. * `friendlyName` (*type:* `String.t`, *default:* `nil`) - Optional. A descriptive name for the dataset. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information. @@ -32,27 +32,39 @@ defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do @type t :: %__MODULE__{ :datasetReference => - GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.t() | nil, + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.t() + | nil, :description => String.t() | nil, :friendlyName => String.t() | nil, :labels => map() | nil, :location => String.t() | nil } - field(:datasetReference, as: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference) + field(:datasetReference, + as: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference + ) + field(:description) field(:friendlyName) field(:labels, type: :map) field(:location) end -defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do +defimpl Poison.Decoder, + for: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do def decode(value, options) do - GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.decode(value, options) + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.decode( + value, + options + ) end end -defimpl Poison.Encoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do +defimpl Poison.Encoder, + for: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset_reference.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset_reference.ex similarity index 73% rename from clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset_reference.ex rename to clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset_reference.ex index 201f1a4964..056bc07495 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset_reference.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset_reference.ex @@ -15,7 +15,7 @@ # NOTE: This file is auto generated by the elixir code generator program. # Do not edit this file manually. -defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do +defmodule GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do @moduledoc """ Contains the reference that identifies a destination bigquery dataset. @@ -36,13 +36,20 @@ defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do field(:projectId) end -defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do +defimpl Poison.Decoder, + for: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do def decode(value, options) do - GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.decode(value, options) + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.decode( + value, + options + ) end end -defimpl Poison.Encoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do +defimpl Poison.Encoder, + for: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end diff --git a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/subscribe_listing_request.ex b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/subscribe_listing_request.ex index 8f0c46d4fb..f02331e1fe 100644 --- a/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/subscribe_listing_request.ex +++ b/clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/subscribe_listing_request.ex @@ -21,16 +21,21 @@ defmodule GoogleApi.AnalyticsHub.V1beta1.Model.SubscribeListingRequest do ## Attributes - * `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.t`, *default:* `nil`) - BigQuery destination dataset to create for the subscriber. + * `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.t`, *default:* `nil`) - BigQuery destination dataset to create for the subscriber. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ - :destinationDataset => GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.t() | nil + :destinationDataset => + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.t() + | nil } - field(:destinationDataset, as: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset) + field(:destinationDataset, + as: + GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset + ) end defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.SubscribeListingRequest do diff --git a/clients/analytics_hub/mix.exs b/clients/analytics_hub/mix.exs index 1b519016c7..634c0f5fe9 100644 --- a/clients/analytics_hub/mix.exs +++ b/clients/analytics_hub/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.AnalyticsHub.Mixfile do use Mix.Project - @version "0.4.2" + @version "0.5.0" def project() do [