Skip to content

Commit e2b1940

Browse files
feat(analyticshub): update the api
#### analyticshub:v1 The following keys were added: - resources.projects.resources.locations.resources.dataExchanges.resources.listings.methods.delete.parameters.deleteCommercial (Total Keys: 2) - schemas.RevokeSubscriptionRequest.properties.revokeCommercial.type (Total Keys: 1)
1 parent e64e91b commit e2b1940

File tree

3 files changed

+32
-20
lines changed

3 files changed

+32
-20
lines changed

docs/dyn/analyticshub_v1.projects.locations.dataExchanges.listings.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#create">create(parent, body=None, listingId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a new listing.</p>
8383
<p class="toc_element">
84-
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#delete">delete(name, deleteCommercial=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a listing.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
@@ -129,7 +129,7 @@ <h3>Method Details</h3>
129129
The object takes the form of:
130130

131131
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
132-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
132+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
133133
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
134134
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
135135
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
169169
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
170170
},
171-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
171+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
172172
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
173173
&quot;A String&quot;,
174174
],
@@ -194,7 +194,7 @@ <h3>Method Details</h3>
194194
An object of the form:
195195

196196
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
197-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
197+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
198198
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
199199
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
200200
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -233,7 +233,7 @@ <h3>Method Details</h3>
233233
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
234234
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
235235
},
236-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
236+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
237237
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
238238
&quot;A String&quot;,
239239
],
@@ -251,11 +251,12 @@ <h3>Method Details</h3>
251251
</div>
252252

253253
<div class="method">
254-
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
254+
<code class="details" id="delete">delete(name, deleteCommercial=None, x__xgafv=None)</code>
255255
<pre>Deletes a listing.
256256

257257
Args:
258258
name: string, Required. Resource name of the listing to delete. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. (required)
259+
deleteCommercial: 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.
259260
x__xgafv: string, V1 error format.
260261
Allowed values
261262
1 - v1 error format
@@ -283,7 +284,7 @@ <h3>Method Details</h3>
283284
An object of the form:
284285

285286
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
286-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
287+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
287288
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
288289
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
289290
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -322,7 +323,7 @@ <h3>Method Details</h3>
322323
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
323324
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
324325
},
325-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
326+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
326327
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
327328
&quot;A String&quot;,
328329
],
@@ -414,7 +415,7 @@ <h3>Method Details</h3>
414415
{ # Message for response to the list of Listings.
415416
&quot;listings&quot;: [ # The list of Listing.
416417
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
417-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
418+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
418419
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
419420
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
420421
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -453,7 +454,7 @@ <h3>Method Details</h3>
453454
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
454455
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
455456
},
456-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
457+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
457458
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
458459
&quot;A String&quot;,
459460
],
@@ -567,7 +568,7 @@ <h3>Method Details</h3>
567568
The object takes the form of:
568569

569570
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
570-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
571+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
571572
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
572573
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
573574
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -606,7 +607,7 @@ <h3>Method Details</h3>
606607
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
607608
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
608609
},
609-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
610+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
610611
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
611612
&quot;A String&quot;,
612613
],
@@ -632,7 +633,7 @@ <h3>Method Details</h3>
632633
An object of the form:
633634

634635
{ # A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
635-
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Required. Shared dataset i.e. BigQuery dataset source.
636+
&quot;bigqueryDataset&quot;: { # A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber&#x27;s subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber&#x27;s project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. # Shared dataset i.e. BigQuery dataset source.
636637
&quot;dataset&quot;: &quot;A String&quot;, # Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
637638
&quot;restrictedExportPolicy&quot;: { # Restricted export policy used to configure restricted export on linked dataset. # Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.
638639
&quot;enabled&quot;: True or False, # Optional. If true, enable restricted export.
@@ -671,7 +672,7 @@ <h3>Method Details</h3>
671672
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the listing publisher.
672673
&quot;primaryContact&quot;: &quot;A String&quot;, # Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
673674
},
674-
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Required. Pub/Sub topic source.
675+
&quot;pubsubTopic&quot;: { # Pub/Sub topic source. # Pub/Sub topic source.
675676
&quot;dataAffinityRegions&quot;: [ # Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See go/regions for full listing of possible Cloud regions.
676677
&quot;A String&quot;,
677678
],
@@ -795,7 +796,7 @@ <h3>Method Details</h3>
795796
},
796797
&quot;location&quot;: &quot;A String&quot;, # Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
797798
},
798-
&quot;destinationPubsubSubscription&quot;: { # Defines the destination Pub/Sub subscription. # Required. Input only. Destination Pub/Sub subscription to create for the subscriber.
799+
&quot;destinationPubsubSubscription&quot;: { # Defines the destination Pub/Sub subscription. # Input only. Destination Pub/Sub subscription to create for the subscriber.
799800
&quot;pubsubSubscription&quot;: { # A subscription resource. If none of `push_config`, `bigquery_config`, or `cloud_storage_config` is set, then the subscriber will pull and ack messages using API methods. At most one of these fields may be set. # Required. Destination Pub/Sub subscription resource.
800801
&quot;ackDeadlineSeconds&quot;: 42, # Optional. The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.
801802
&quot;analyticsHubSubscriptionInfo&quot;: { # Information about an associated [Analytics Hub subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # Output only. Information about the associated Analytics Hub subscription. Only set if the subscritpion is created by Analytics Hub.

docs/dyn/analyticshub_v1.projects.locations.subscriptions.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ <h3>Method Details</h3>
367367
The object takes the form of:
368368

369369
{ # Message for revoking a subscription.
370+
&quot;revokeCommercial&quot;: True or False, # 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.
370371
}
371372

372373
x__xgafv: string, V1 error format.

0 commit comments

Comments
 (0)