Skip to content

Commit eac3234

Browse files
feat: Automated regeneration of AnalyticsHub client (googleapis#12464)
Auto-created at 2024-11-02 13:15:09 +0000 using the toys pull request generator.
1 parent 07cf0d9 commit eac3234

File tree

8 files changed

+45
-18
lines changed

8 files changed

+45
-18
lines changed

clients/analytics_hub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_analytics_hub, "~> 0.4"}]
14+
[{:google_api_analytics_hub, "~> 0.5"}]
1515
end
1616
```
1717

clients/analytics_hub/lib/google_api/analytics_hub/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1 do
2020
API client metadata for GoogleApi.AnalyticsHub.V1.
2121
"""
2222

23-
@discovery_revision "20240925"
23+
@discovery_revision "20241028"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/analytics_hub/lib/google_api/analytics_hub/v1/model/subscribe_data_exchange_request.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.SubscribeDataExchangeRequest do
2222
## Attributes
2323
2424
* `destination` (*type:* `String.t`, *default:* `nil`) - Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/US`
25+
* `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DestinationDataset.t`, *default:* `nil`) - Optional. BigQuery destination dataset to create for the subscriber.
2526
* `subscriberContact` (*type:* `String.t`, *default:* `nil`) - Email of the subscriber.
2627
* `subscription` (*type:* `String.t`, *default:* `nil`) - Required. Name of the subscription to create. e.g. `subscription1`
2728
"""
@@ -30,11 +31,13 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.SubscribeDataExchangeRequest do
3031

3132
@type t :: %__MODULE__{
3233
:destination => String.t() | nil,
34+
:destinationDataset => GoogleApi.AnalyticsHub.V1.Model.DestinationDataset.t() | nil,
3335
:subscriberContact => String.t() | nil,
3436
:subscription => String.t() | nil
3537
}
3638

3739
field(:destination)
40+
field(:destinationDataset, as: GoogleApi.AnalyticsHub.V1.Model.DestinationDataset)
3841
field(:subscriberContact)
3942
field(:subscription)
4043
end

clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1beta1 do
2020
API client metadata for GoogleApi.AnalyticsHub.V1beta1.
2121
"""
2222

23-
@discovery_revision "20240624"
23+
@discovery_revision "20241028"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset.ex renamed to clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset.ex

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
# NOTE: This file is auto generated by the elixir code generator program.
1616
# Do not edit this file manually.
1717

18-
defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do
18+
defmodule GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do
1919
@moduledoc """
2020
Defines the destination bigquery dataset.
2121
2222
## Attributes
2323
24-
* `datasetReference` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.t`, *default:* `nil`) - Required. A reference that identifies the destination dataset.
24+
* `datasetReference` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.t`, *default:* `nil`) - Required. A reference that identifies the destination dataset.
2525
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A user-friendly description of the dataset.
2626
* `friendlyName` (*type:* `String.t`, *default:* `nil`) - Optional. A descriptive name for the dataset.
2727
* `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
3232

3333
@type t :: %__MODULE__{
3434
:datasetReference =>
35-
GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.t() | nil,
35+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.t()
36+
| nil,
3637
:description => String.t() | nil,
3738
:friendlyName => String.t() | nil,
3839
:labels => map() | nil,
3940
:location => String.t() | nil
4041
}
4142

42-
field(:datasetReference, as: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference)
43+
field(:datasetReference,
44+
as:
45+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference
46+
)
47+
4348
field(:description)
4449
field(:friendlyName)
4550
field(:labels, type: :map)
4651
field(:location)
4752
end
4853

49-
defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do
54+
defimpl Poison.Decoder,
55+
for:
56+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do
5057
def decode(value, options) do
51-
GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.decode(value, options)
58+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.decode(
59+
value,
60+
options
61+
)
5262
end
5363
end
5464

55-
defimpl Poison.Encoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset do
65+
defimpl Poison.Encoder,
66+
for:
67+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset do
5668
def encode(value, options) do
5769
GoogleApi.Gax.ModelBase.encode(value, options)
5870
end

clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/destination_dataset_reference.ex renamed to clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/google_cloud_bigquery_dataexchange_v1beta1_destination_dataset_reference.ex

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# NOTE: This file is auto generated by the elixir code generator program.
1616
# Do not edit this file manually.
1717

18-
defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do
18+
defmodule GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do
1919
@moduledoc """
2020
Contains the reference that identifies a destination bigquery dataset.
2121
@@ -36,13 +36,20 @@ defmodule GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do
3636
field(:projectId)
3737
end
3838

39-
defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do
39+
defimpl Poison.Decoder,
40+
for:
41+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do
4042
def decode(value, options) do
41-
GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference.decode(value, options)
43+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference.decode(
44+
value,
45+
options
46+
)
4247
end
4348
end
4449

45-
defimpl Poison.Encoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDatasetReference do
50+
defimpl Poison.Encoder,
51+
for:
52+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference do
4653
def encode(value, options) do
4754
GoogleApi.Gax.ModelBase.encode(value, options)
4855
end

clients/analytics_hub/lib/google_api/analytics_hub/v1beta1/model/subscribe_listing_request.ex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,21 @@ defmodule GoogleApi.AnalyticsHub.V1beta1.Model.SubscribeListingRequest do
2121
2222
## Attributes
2323
24-
* `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.t`, *default:* `nil`) - BigQuery destination dataset to create for the subscriber.
24+
* `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.t`, *default:* `nil`) - BigQuery destination dataset to create for the subscriber.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase
2828

2929
@type t :: %__MODULE__{
30-
:destinationDataset => GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset.t() | nil
30+
:destinationDataset =>
31+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset.t()
32+
| nil
3133
}
3234

33-
field(:destinationDataset, as: GoogleApi.AnalyticsHub.V1beta1.Model.DestinationDataset)
35+
field(:destinationDataset,
36+
as:
37+
GoogleApi.AnalyticsHub.V1beta1.Model.GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset
38+
)
3439
end
3540

3641
defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1beta1.Model.SubscribeListingRequest do

clients/analytics_hub/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.AnalyticsHub.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.4.2"
21+
@version "0.5.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)