Skip to content

Commit 1bd2551

Browse files
feat: Automated regeneration of AnalyticsHub client (#13128)
Auto-created at 2025-03-10 13:19:38 +0000 using the toys pull request generator.
1 parent 2daf238 commit 1bd2551

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

clients/analytics_hub/lib/google_api/analytics_hub/v1/api/projects.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Api.Projects do
850850
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
851851
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
852852
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
853+
* `:deleteCommercial` (*type:* `boolean()`) - Optional. If the listing is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.
853854
* `opts` (*type:* `keyword()`) - Call options
854855
855856
## Returns
@@ -884,7 +885,8 @@ defmodule GoogleApi.AnalyticsHub.V1.Api.Projects do
884885
:prettyPrint => :query,
885886
:quotaUser => :query,
886887
:uploadType => :query,
887-
:upload_protocol => :query
888+
:upload_protocol => :query,
889+
:deleteCommercial => :query
888890
}
889891

890892
request =

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 "20250217"
23+
@discovery_revision "20250303"
2424

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.Listing do
2121
2222
## Attributes
2323
24-
* `bigqueryDataset` (*type:* `GoogleApi.AnalyticsHub.V1.Model.BigQueryDatasetSource.t`, *default:* `nil`) - Required. Shared dataset i.e. BigQuery dataset source.
24+
* `bigqueryDataset` (*type:* `GoogleApi.AnalyticsHub.V1.Model.BigQueryDatasetSource.t`, *default:* `nil`) - Shared dataset i.e. BigQuery dataset source.
2525
* `categories` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Categories of the listing. Up to two categories are allowed.
2626
* `commercialInfo` (*type:* `GoogleApi.AnalyticsHub.V1.Model.GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo.t`, *default:* `nil`) - Output only. Commercial info contains the information about the commercial data products associated with the listing.
2727
* `dataProvider` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DataProvider.t`, *default:* `nil`) - Optional. Details of the data provider who owns the source data.
@@ -34,7 +34,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.Listing do
3434
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
3535
* `primaryContact` (*type:* `String.t`, *default:* `nil`) - Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
3636
* `publisher` (*type:* `GoogleApi.AnalyticsHub.V1.Model.Publisher.t`, *default:* `nil`) - Optional. Details of the publisher who owns the listing and who can share the source data.
37-
* `pubsubTopic` (*type:* `GoogleApi.AnalyticsHub.V1.Model.PubSubTopicSource.t`, *default:* `nil`) - Required. Pub/Sub topic source.
37+
* `pubsubTopic` (*type:* `GoogleApi.AnalyticsHub.V1.Model.PubSubTopicSource.t`, *default:* `nil`) - Pub/Sub topic source.
3838
* `requestAccess` (*type:* `String.t`, *default:* `nil`) - Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.
3939
* `resourceType` (*type:* `String.t`, *default:* `nil`) - Output only. Listing shared asset type.
4040
* `restrictedExportConfig` (*type:* `GoogleApi.AnalyticsHub.V1.Model.RestrictedExportConfig.t`, *default:* `nil`) - Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset.

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,16 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.RevokeSubscriptionRequest do
2121
2222
## Attributes
2323
24+
* `revokeCommercial` (*type:* `boolean()`, *default:* `nil`) - Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.
2425
"""
2526

2627
use GoogleApi.Gax.ModelBase
2728

28-
@type t :: %__MODULE__{}
29+
@type t :: %__MODULE__{
30+
:revokeCommercial => boolean() | nil
31+
}
32+
33+
field(:revokeCommercial)
2934
end
3035

3136
defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1.Model.RevokeSubscriptionRequest do

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.SubscribeListingRequest do
2222
## Attributes
2323
2424
* `destinationDataset` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DestinationDataset.t`, *default:* `nil`) - Input only. BigQuery destination dataset to create for the subscriber.
25-
* `destinationPubsubSubscription` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DestinationPubSubSubscription.t`, *default:* `nil`) - Required. Input only. Destination Pub/Sub subscription to create for the subscriber.
25+
* `destinationPubsubSubscription` (*type:* `GoogleApi.AnalyticsHub.V1.Model.DestinationPubSubSubscription.t`, *default:* `nil`) - Input only. Destination Pub/Sub subscription to create for the subscriber.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)