google-cloud-bigquery-analytics_hub-v1 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/client.rb +40 -30
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/paths.rb +33 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/client.rb +40 -30
- data/lib/google/cloud/bigquery/analytics_hub/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_pb.rb +6 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_services_pb.rb +4 -2
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb +123 -33
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c57ff10677d173fe4f7d3eb0856ca4704a257853d028bd1b1ca54e8c147465e3
|
4
|
+
data.tar.gz: a1b47e5c46afc7d1351858448b9958902470fb2d7d6b3c2696d01aaf53383ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cbf9b5123e68dfff17d7e6323ee03ba07102cde2f1af92c7ef71377289ad173e6c2dddb28ee9cc11179b9c7414e37f3958c82e4f056016666d581c209b36aad
|
7
|
+
data.tar.gz: 0cb870ea7ad62b53233ae9404df58fefdaa4ed79e86941317918dbd9196f535eef0e576529b4d7c8551aa496140280a3433bf26488105cd537052879ef4db272
|
@@ -228,7 +228,7 @@ module Google
|
|
228
228
|
#
|
229
229
|
# @param parent [::String]
|
230
230
|
# Required. The parent resource path of the data exchanges.
|
231
|
-
# e.g. `projects/myproject/locations/
|
231
|
+
# e.g. `projects/myproject/locations/us`.
|
232
232
|
# @param page_size [::Integer]
|
233
233
|
# The maximum number of results to return in a single response page. Leverage
|
234
234
|
# the page tokens to iterate through the entire collection.
|
@@ -327,7 +327,7 @@ module Google
|
|
327
327
|
#
|
328
328
|
# @param organization [::String]
|
329
329
|
# Required. The organization resource path of the projects containing
|
330
|
-
# DataExchanges. e.g. `organizations/myorg/locations/
|
330
|
+
# DataExchanges. e.g. `organizations/myorg/locations/us`.
|
331
331
|
# @param page_size [::Integer]
|
332
332
|
# The maximum number of results to return in a single response page. Leverage
|
333
333
|
# the page tokens to iterate through the entire collection.
|
@@ -425,7 +425,7 @@ module Google
|
|
425
425
|
#
|
426
426
|
# @param name [::String]
|
427
427
|
# Required. The resource name of the data exchange.
|
428
|
-
# e.g. `projects/myproject/locations/
|
428
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
429
429
|
#
|
430
430
|
# @yield [response, operation] Access the result along with the RPC operation
|
431
431
|
# @yieldparam response [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange]
|
@@ -511,10 +511,10 @@ module Google
|
|
511
511
|
#
|
512
512
|
# @param parent [::String]
|
513
513
|
# Required. The parent resource path of the data exchange.
|
514
|
-
# e.g. `projects/myproject/locations/
|
514
|
+
# e.g. `projects/myproject/locations/us`.
|
515
515
|
# @param data_exchange_id [::String]
|
516
516
|
# Required. The ID of the data exchange.
|
517
|
-
# Must contain only
|
517
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
518
518
|
# Max length: 100 bytes.
|
519
519
|
# @param data_exchange [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange, ::Hash]
|
520
520
|
# Required. The data exchange to create.
|
@@ -692,7 +692,7 @@ module Google
|
|
692
692
|
#
|
693
693
|
# @param name [::String]
|
694
694
|
# Required. The full name of the data exchange resource that you want to
|
695
|
-
# delete. For example, `projects/myproject/locations/
|
695
|
+
# delete. For example, `projects/myproject/locations/us/dataExchanges/123`.
|
696
696
|
#
|
697
697
|
# @yield [response, operation] Access the result along with the RPC operation
|
698
698
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -778,7 +778,7 @@ module Google
|
|
778
778
|
#
|
779
779
|
# @param parent [::String]
|
780
780
|
# Required. The parent resource path of the listing.
|
781
|
-
# e.g. `projects/myproject/locations/
|
781
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
782
782
|
# @param page_size [::Integer]
|
783
783
|
# The maximum number of results to return in a single response page. Leverage
|
784
784
|
# the page tokens to iterate through the entire collection.
|
@@ -876,7 +876,7 @@ module Google
|
|
876
876
|
#
|
877
877
|
# @param name [::String]
|
878
878
|
# Required. The resource name of the listing.
|
879
|
-
# e.g. `projects/myproject/locations/
|
879
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
880
880
|
#
|
881
881
|
# @yield [response, operation] Access the result along with the RPC operation
|
882
882
|
# @yieldparam response [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing]
|
@@ -962,10 +962,10 @@ module Google
|
|
962
962
|
#
|
963
963
|
# @param parent [::String]
|
964
964
|
# Required. The parent resource path of the listing.
|
965
|
-
# e.g. `projects/myproject/locations/
|
965
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
966
966
|
# @param listing_id [::String]
|
967
967
|
# Required. The ID of the listing to create.
|
968
|
-
# Must contain only
|
968
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
969
969
|
# Max length: 100 bytes.
|
970
970
|
# @param listing [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing, ::Hash]
|
971
971
|
# Required. The listing to create.
|
@@ -1136,14 +1136,18 @@ module Google
|
|
1136
1136
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1137
1137
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1138
1138
|
#
|
1139
|
-
# @overload delete_listing(name: nil)
|
1139
|
+
# @overload delete_listing(name: nil, delete_commercial: nil)
|
1140
1140
|
# Pass arguments to `delete_listing` via keyword arguments. Note that at
|
1141
1141
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1142
1142
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1143
1143
|
#
|
1144
1144
|
# @param name [::String]
|
1145
1145
|
# Required. Resource name of the listing to delete.
|
1146
|
-
# e.g. `projects/myproject/locations/
|
1146
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
1147
|
+
# @param delete_commercial [::Boolean]
|
1148
|
+
# Optional. If the listing is commercial then this field must be set to true,
|
1149
|
+
# otherwise a failure is thrown. This acts as a safety guard to avoid
|
1150
|
+
# deleting commercial listings accidentally.
|
1147
1151
|
#
|
1148
1152
|
# @yield [response, operation] Access the result along with the RPC operation
|
1149
1153
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -1243,7 +1247,7 @@ module Google
|
|
1243
1247
|
# Note: The following fields are mutually exclusive: `destination_pubsub_subscription`, `destination_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1244
1248
|
# @param name [::String]
|
1245
1249
|
# Required. Resource name of the listing that you want to subscribe to.
|
1246
|
-
# e.g. `projects/myproject/locations/
|
1250
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
1247
1251
|
#
|
1248
1252
|
# @yield [response, operation] Access the result along with the RPC operation
|
1249
1253
|
# @yieldparam response [::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingResponse]
|
@@ -1310,8 +1314,10 @@ module Google
|
|
1310
1314
|
end
|
1311
1315
|
|
1312
1316
|
##
|
1313
|
-
# Creates a Subscription to a Data Clean Room. This is a
|
1314
|
-
# operation as it will create one or more linked datasets.
|
1317
|
+
# Creates a Subscription to a Data Clean Room. This is a
|
1318
|
+
# long-running operation as it will create one or more linked datasets.
|
1319
|
+
# Throws a Bad Request error if the Data Exchange does not contain any
|
1320
|
+
# listings.
|
1315
1321
|
#
|
1316
1322
|
# @overload subscribe_data_exchange(request, options = nil)
|
1317
1323
|
# Pass arguments to `subscribe_data_exchange` via a request object, either of type
|
@@ -1330,10 +1336,10 @@ module Google
|
|
1330
1336
|
#
|
1331
1337
|
# @param name [::String]
|
1332
1338
|
# Required. Resource name of the Data Exchange.
|
1333
|
-
# e.g. `projects/publisherproject/locations/
|
1339
|
+
# e.g. `projects/publisherproject/locations/us/dataExchanges/123`
|
1334
1340
|
# @param destination [::String]
|
1335
1341
|
# Required. The parent resource path of the Subscription.
|
1336
|
-
# e.g. `projects/subscriberproject/locations/
|
1342
|
+
# e.g. `projects/subscriberproject/locations/us`
|
1337
1343
|
# @param destination_dataset [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset, ::Hash]
|
1338
1344
|
# Optional. BigQuery destination dataset to create for the subscriber.
|
1339
1345
|
# @param subscription [::String]
|
@@ -1437,7 +1443,7 @@ module Google
|
|
1437
1443
|
#
|
1438
1444
|
# @param name [::String]
|
1439
1445
|
# Required. Resource name of the Subscription to refresh.
|
1440
|
-
# e.g. `projects/subscriberproject/locations/
|
1446
|
+
# e.g. `projects/subscriberproject/locations/us/subscriptions/123`
|
1441
1447
|
#
|
1442
1448
|
# @yield [response, operation] Access the result along with the RPC operation
|
1443
1449
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1532,7 +1538,7 @@ module Google
|
|
1532
1538
|
#
|
1533
1539
|
# @param name [::String]
|
1534
1540
|
# Required. Resource name of the subscription.
|
1535
|
-
# e.g. projects/123/locations/
|
1541
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1536
1542
|
#
|
1537
1543
|
# @yield [response, operation] Access the result along with the RPC operation
|
1538
1544
|
# @yieldparam response [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription]
|
@@ -1618,13 +1624,13 @@ module Google
|
|
1618
1624
|
#
|
1619
1625
|
# @param parent [::String]
|
1620
1626
|
# Required. The parent resource path of the subscription.
|
1621
|
-
# e.g. projects/myproject/locations/
|
1627
|
+
# e.g. projects/myproject/locations/us
|
1622
1628
|
# @param filter [::String]
|
1623
1629
|
# An expression for filtering the results of the request. Eligible
|
1624
1630
|
# fields for filtering are:
|
1625
1631
|
#
|
1626
|
-
#
|
1627
|
-
#
|
1632
|
+
# + `listing`
|
1633
|
+
# + `data_exchange`
|
1628
1634
|
#
|
1629
1635
|
# Alternatively, a literal wrapped in double quotes may be provided.
|
1630
1636
|
# This will be checked for an exact match against both fields above.
|
@@ -1632,9 +1638,9 @@ module Google
|
|
1632
1638
|
# In all cases, the full Data Exchange or Listing resource name must
|
1633
1639
|
# be provided. Some example of using filters:
|
1634
1640
|
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1641
|
+
# + data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
1642
|
+
# + listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
1643
|
+
# + "projects/myproject/locations/us/dataExchanges/123"
|
1638
1644
|
# @param page_size [::Integer]
|
1639
1645
|
# The maximum number of results to return in a single response page.
|
1640
1646
|
# @param page_token [::String]
|
@@ -1731,8 +1737,8 @@ module Google
|
|
1731
1737
|
# @param resource [::String]
|
1732
1738
|
# Required. Resource name of the requested target. This resource may be
|
1733
1739
|
# either a Listing or a DataExchange. e.g.
|
1734
|
-
# projects/123/locations/
|
1735
|
-
# projects/123/locations/
|
1740
|
+
# projects/123/locations/us/dataExchanges/456 OR e.g.
|
1741
|
+
# projects/123/locations/us/dataExchanges/456/listings/789
|
1736
1742
|
# @param include_deleted_subscriptions [::Boolean]
|
1737
1743
|
# If selected, includes deleted subscriptions in the response
|
1738
1744
|
# (up to 63 days after deletion).
|
@@ -1824,14 +1830,18 @@ module Google
|
|
1824
1830
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1825
1831
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1826
1832
|
#
|
1827
|
-
# @overload revoke_subscription(name: nil)
|
1833
|
+
# @overload revoke_subscription(name: nil, revoke_commercial: nil)
|
1828
1834
|
# Pass arguments to `revoke_subscription` via keyword arguments. Note that at
|
1829
1835
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1830
1836
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1831
1837
|
#
|
1832
1838
|
# @param name [::String]
|
1833
1839
|
# Required. Resource name of the subscription to revoke.
|
1834
|
-
# e.g. projects/123/locations/
|
1840
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1841
|
+
# @param revoke_commercial [::Boolean]
|
1842
|
+
# Optional. If the subscription is commercial then this field must be set to
|
1843
|
+
# true, otherwise a failure is thrown. This acts as a safety guard to avoid
|
1844
|
+
# revoking commercial subscriptions accidentally.
|
1835
1845
|
#
|
1836
1846
|
# @yield [response, operation] Access the result along with the RPC operation
|
1837
1847
|
# @yieldparam response [::Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionResponse]
|
@@ -1917,7 +1927,7 @@ module Google
|
|
1917
1927
|
#
|
1918
1928
|
# @param name [::String]
|
1919
1929
|
# Required. Resource name of the subscription to delete.
|
1920
|
-
# e.g. projects/123/locations/
|
1930
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1921
1931
|
#
|
1922
1932
|
# @yield [response, operation] Access the result along with the RPC operation
|
1923
1933
|
# @yieldparam response [::Gapic::Operation]
|
@@ -99,6 +99,39 @@ module Google
|
|
99
99
|
"projects/#{project}/locations/#{location}"
|
100
100
|
end
|
101
101
|
|
102
|
+
##
|
103
|
+
# Create a fully-qualified ManagedService resource string.
|
104
|
+
#
|
105
|
+
# The resource will be in the following format:
|
106
|
+
#
|
107
|
+
# `services/{service}`
|
108
|
+
#
|
109
|
+
# @param service [String]
|
110
|
+
#
|
111
|
+
# @return [::String]
|
112
|
+
def managed_service_path service:
|
113
|
+
"services/#{service}"
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Create a fully-qualified Routine resource string.
|
118
|
+
#
|
119
|
+
# The resource will be in the following format:
|
120
|
+
#
|
121
|
+
# `projects/{project}/datasets/{dataset}/routines/{routine}`
|
122
|
+
#
|
123
|
+
# @param project [String]
|
124
|
+
# @param dataset [String]
|
125
|
+
# @param routine [String]
|
126
|
+
#
|
127
|
+
# @return [::String]
|
128
|
+
def routine_path project:, dataset:, routine:
|
129
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
130
|
+
raise ::ArgumentError, "dataset cannot contain /" if dataset.to_s.include? "/"
|
131
|
+
|
132
|
+
"projects/#{project}/datasets/#{dataset}/routines/#{routine}"
|
133
|
+
end
|
134
|
+
|
102
135
|
##
|
103
136
|
# Create a fully-qualified Subscription resource string.
|
104
137
|
#
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
#
|
222
222
|
# @param parent [::String]
|
223
223
|
# Required. The parent resource path of the data exchanges.
|
224
|
-
# e.g. `projects/myproject/locations/
|
224
|
+
# e.g. `projects/myproject/locations/us`.
|
225
225
|
# @param page_size [::Integer]
|
226
226
|
# The maximum number of results to return in a single response page. Leverage
|
227
227
|
# the page tokens to iterate through the entire collection.
|
@@ -313,7 +313,7 @@ module Google
|
|
313
313
|
#
|
314
314
|
# @param organization [::String]
|
315
315
|
# Required. The organization resource path of the projects containing
|
316
|
-
# DataExchanges. e.g. `organizations/myorg/locations/
|
316
|
+
# DataExchanges. e.g. `organizations/myorg/locations/us`.
|
317
317
|
# @param page_size [::Integer]
|
318
318
|
# The maximum number of results to return in a single response page. Leverage
|
319
319
|
# the page tokens to iterate through the entire collection.
|
@@ -404,7 +404,7 @@ module Google
|
|
404
404
|
#
|
405
405
|
# @param name [::String]
|
406
406
|
# Required. The resource name of the data exchange.
|
407
|
-
# e.g. `projects/myproject/locations/
|
407
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
408
408
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
409
409
|
# @yieldparam result [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange]
|
410
410
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -483,10 +483,10 @@ module Google
|
|
483
483
|
#
|
484
484
|
# @param parent [::String]
|
485
485
|
# Required. The parent resource path of the data exchange.
|
486
|
-
# e.g. `projects/myproject/locations/
|
486
|
+
# e.g. `projects/myproject/locations/us`.
|
487
487
|
# @param data_exchange_id [::String]
|
488
488
|
# Required. The ID of the data exchange.
|
489
|
-
# Must contain only
|
489
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
490
490
|
# Max length: 100 bytes.
|
491
491
|
# @param data_exchange [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange, ::Hash]
|
492
492
|
# Required. The data exchange to create.
|
@@ -650,7 +650,7 @@ module Google
|
|
650
650
|
#
|
651
651
|
# @param name [::String]
|
652
652
|
# Required. The full name of the data exchange resource that you want to
|
653
|
-
# delete. For example, `projects/myproject/locations/
|
653
|
+
# delete. For example, `projects/myproject/locations/us/dataExchanges/123`.
|
654
654
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
655
655
|
# @yieldparam result [::Google::Protobuf::Empty]
|
656
656
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -729,7 +729,7 @@ module Google
|
|
729
729
|
#
|
730
730
|
# @param parent [::String]
|
731
731
|
# Required. The parent resource path of the listing.
|
732
|
-
# e.g. `projects/myproject/locations/
|
732
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
733
733
|
# @param page_size [::Integer]
|
734
734
|
# The maximum number of results to return in a single response page. Leverage
|
735
735
|
# the page tokens to iterate through the entire collection.
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
#
|
821
821
|
# @param name [::String]
|
822
822
|
# Required. The resource name of the listing.
|
823
|
-
# e.g. `projects/myproject/locations/
|
823
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
824
824
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
825
825
|
# @yieldparam result [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing]
|
826
826
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -899,10 +899,10 @@ module Google
|
|
899
899
|
#
|
900
900
|
# @param parent [::String]
|
901
901
|
# Required. The parent resource path of the listing.
|
902
|
-
# e.g. `projects/myproject/locations/
|
902
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
903
903
|
# @param listing_id [::String]
|
904
904
|
# Required. The ID of the listing to create.
|
905
|
-
# Must contain only
|
905
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
906
906
|
# Max length: 100 bytes.
|
907
907
|
# @param listing [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing, ::Hash]
|
908
908
|
# Required. The listing to create.
|
@@ -1059,14 +1059,18 @@ module Google
|
|
1059
1059
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1060
1060
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1061
1061
|
#
|
1062
|
-
# @overload delete_listing(name: nil)
|
1062
|
+
# @overload delete_listing(name: nil, delete_commercial: nil)
|
1063
1063
|
# Pass arguments to `delete_listing` via keyword arguments. Note that at
|
1064
1064
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1065
1065
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1066
1066
|
#
|
1067
1067
|
# @param name [::String]
|
1068
1068
|
# Required. Resource name of the listing to delete.
|
1069
|
-
# e.g. `projects/myproject/locations/
|
1069
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
1070
|
+
# @param delete_commercial [::Boolean]
|
1071
|
+
# Optional. If the listing is commercial then this field must be set to true,
|
1072
|
+
# otherwise a failure is thrown. This acts as a safety guard to avoid
|
1073
|
+
# deleting commercial listings accidentally.
|
1070
1074
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1071
1075
|
# @yieldparam result [::Google::Protobuf::Empty]
|
1072
1076
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1159,7 +1163,7 @@ module Google
|
|
1159
1163
|
# Note: The following fields are mutually exclusive: `destination_pubsub_subscription`, `destination_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1160
1164
|
# @param name [::String]
|
1161
1165
|
# Required. Resource name of the listing that you want to subscribe to.
|
1162
|
-
# e.g. `projects/myproject/locations/
|
1166
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
1163
1167
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1164
1168
|
# @yieldparam result [::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingResponse]
|
1165
1169
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1219,8 +1223,10 @@ module Google
|
|
1219
1223
|
end
|
1220
1224
|
|
1221
1225
|
##
|
1222
|
-
# Creates a Subscription to a Data Clean Room. This is a
|
1223
|
-
# operation as it will create one or more linked datasets.
|
1226
|
+
# Creates a Subscription to a Data Clean Room. This is a
|
1227
|
+
# long-running operation as it will create one or more linked datasets.
|
1228
|
+
# Throws a Bad Request error if the Data Exchange does not contain any
|
1229
|
+
# listings.
|
1224
1230
|
#
|
1225
1231
|
# @overload subscribe_data_exchange(request, options = nil)
|
1226
1232
|
# Pass arguments to `subscribe_data_exchange` via a request object, either of type
|
@@ -1239,10 +1245,10 @@ module Google
|
|
1239
1245
|
#
|
1240
1246
|
# @param name [::String]
|
1241
1247
|
# Required. Resource name of the Data Exchange.
|
1242
|
-
# e.g. `projects/publisherproject/locations/
|
1248
|
+
# e.g. `projects/publisherproject/locations/us/dataExchanges/123`
|
1243
1249
|
# @param destination [::String]
|
1244
1250
|
# Required. The parent resource path of the Subscription.
|
1245
|
-
# e.g. `projects/subscriberproject/locations/
|
1251
|
+
# e.g. `projects/subscriberproject/locations/us`
|
1246
1252
|
# @param destination_dataset [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset, ::Hash]
|
1247
1253
|
# Optional. BigQuery destination dataset to create for the subscriber.
|
1248
1254
|
# @param subscription [::String]
|
@@ -1339,7 +1345,7 @@ module Google
|
|
1339
1345
|
#
|
1340
1346
|
# @param name [::String]
|
1341
1347
|
# Required. Resource name of the Subscription to refresh.
|
1342
|
-
# e.g. `projects/subscriberproject/locations/
|
1348
|
+
# e.g. `projects/subscriberproject/locations/us/subscriptions/123`
|
1343
1349
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1344
1350
|
# @yieldparam result [::Gapic::Operation]
|
1345
1351
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1427,7 +1433,7 @@ module Google
|
|
1427
1433
|
#
|
1428
1434
|
# @param name [::String]
|
1429
1435
|
# Required. Resource name of the subscription.
|
1430
|
-
# e.g. projects/123/locations/
|
1436
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1431
1437
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1432
1438
|
# @yieldparam result [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription]
|
1433
1439
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1506,13 +1512,13 @@ module Google
|
|
1506
1512
|
#
|
1507
1513
|
# @param parent [::String]
|
1508
1514
|
# Required. The parent resource path of the subscription.
|
1509
|
-
# e.g. projects/myproject/locations/
|
1515
|
+
# e.g. projects/myproject/locations/us
|
1510
1516
|
# @param filter [::String]
|
1511
1517
|
# An expression for filtering the results of the request. Eligible
|
1512
1518
|
# fields for filtering are:
|
1513
1519
|
#
|
1514
|
-
#
|
1515
|
-
#
|
1520
|
+
# + `listing`
|
1521
|
+
# + `data_exchange`
|
1516
1522
|
#
|
1517
1523
|
# Alternatively, a literal wrapped in double quotes may be provided.
|
1518
1524
|
# This will be checked for an exact match against both fields above.
|
@@ -1520,9 +1526,9 @@ module Google
|
|
1520
1526
|
# In all cases, the full Data Exchange or Listing resource name must
|
1521
1527
|
# be provided. Some example of using filters:
|
1522
1528
|
#
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1529
|
+
# + data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
1530
|
+
# + listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
1531
|
+
# + "projects/myproject/locations/us/dataExchanges/123"
|
1526
1532
|
# @param page_size [::Integer]
|
1527
1533
|
# The maximum number of results to return in a single response page.
|
1528
1534
|
# @param page_token [::String]
|
@@ -1612,8 +1618,8 @@ module Google
|
|
1612
1618
|
# @param resource [::String]
|
1613
1619
|
# Required. Resource name of the requested target. This resource may be
|
1614
1620
|
# either a Listing or a DataExchange. e.g.
|
1615
|
-
# projects/123/locations/
|
1616
|
-
# projects/123/locations/
|
1621
|
+
# projects/123/locations/us/dataExchanges/456 OR e.g.
|
1622
|
+
# projects/123/locations/us/dataExchanges/456/listings/789
|
1617
1623
|
# @param include_deleted_subscriptions [::Boolean]
|
1618
1624
|
# If selected, includes deleted subscriptions in the response
|
1619
1625
|
# (up to 63 days after deletion).
|
@@ -1698,14 +1704,18 @@ module Google
|
|
1698
1704
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1699
1705
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1700
1706
|
#
|
1701
|
-
# @overload revoke_subscription(name: nil)
|
1707
|
+
# @overload revoke_subscription(name: nil, revoke_commercial: nil)
|
1702
1708
|
# Pass arguments to `revoke_subscription` via keyword arguments. Note that at
|
1703
1709
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1704
1710
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1705
1711
|
#
|
1706
1712
|
# @param name [::String]
|
1707
1713
|
# Required. Resource name of the subscription to revoke.
|
1708
|
-
# e.g. projects/123/locations/
|
1714
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1715
|
+
# @param revoke_commercial [::Boolean]
|
1716
|
+
# Optional. If the subscription is commercial then this field must be set to
|
1717
|
+
# true, otherwise a failure is thrown. This acts as a safety guard to avoid
|
1718
|
+
# revoking commercial subscriptions accidentally.
|
1709
1719
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1710
1720
|
# @yieldparam result [::Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionResponse]
|
1711
1721
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1784,7 +1794,7 @@ module Google
|
|
1784
1794
|
#
|
1785
1795
|
# @param name [::String]
|
1786
1796
|
# Required. Resource name of the subscription to delete.
|
1787
|
-
# e.g. projects/123/locations/
|
1797
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
1788
1798
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1789
1799
|
# @yieldparam result [::Gapic::Operation]
|
1790
1800
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -18,7 +18,7 @@ require 'google/protobuf/timestamp_pb'
|
|
18
18
|
require 'google/protobuf/wrappers_pb'
|
19
19
|
|
20
20
|
|
21
|
-
descriptor_data = "\n8google/cloud/bigquery/analyticshub/v1/analyticshub.proto\x12%google.cloud.bigquery.analyticshub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/bigquery/analyticshub/v1/pubsub.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xe9\x04\n\x0c\x44\x61taExchange\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdocumentation\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlisting_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04icon\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x01\x12h\n\x1asharing_environment_config\x18\x08 \x01(\x0b\x32?.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfigB\x03\xe0\x41\x01\x12V\n\x0e\x64iscovery_type\x18\t \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.DiscoveryTypeB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x35\n#log_linked_dataset_query_user_email\x18\n \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01:t\xea\x41q\n(analyticshub.googleapis.com/DataExchange\x12\x45projects/{project}/locations/{location}/dataExchanges/{data_exchange}B\x11\n\x0f_discovery_typeB&\n$_log_linked_dataset_query_user_email\"\x94\x04\n\x18SharingEnvironmentConfig\x12x\n\x17\x64\x65\x66\x61ult_exchange_config\x18\x01 \x01(\x0b\x32U.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DefaultExchangeConfigH\x00\x12p\n\x13\x64\x63r_exchange_config\x18\x02 \x01(\x0b\x32Q.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DcrExchangeConfigH\x00\x1a\x17\n\x15\x44\x65\x66\x61ultExchangeConfig\x1a\xe3\x01\n\x11\x44\x63rExchangeConfig\x12>\n,single_selected_resource_sharing_restriction\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x35\n#single_linked_dataset_per_cleanroom\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x42/\n-_single_selected_resource_sharing_restrictionB&\n$_single_linked_dataset_per_cleanroomB\r\n\x0b\x65nvironment\"?\n\x0c\x44\x61taProvider\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x02 \x01(\tB\x03\xe0\x41\x01\"<\n\tPublisher\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x02 \x01(\tB\x03\xe0\x41\x01\"O\n\x1b\x44\x65stinationDatasetReference\x12\x17\n\ndataset_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nproject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8c\x03\n\x12\x44\x65stinationDataset\x12\x62\n\x11\x64\x61taset_reference\x18\x01 \x01(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReferenceB\x03\xe0\x41\x02\x12\x38\n\rfriendly_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x01\x12\x36\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x01\x12Z\n\x06labels\x18\x04 \x03(\x0b\x32\x45.google.cloud.bigquery.analyticshub.v1.DestinationDataset.LabelsEntryB\x03\xe0\x41\x01\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x1d\x44\x65stinationPubSubSubscription\x12[\n\x13pubsub_subscription\x18\x01 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.PubSubSubscriptionB\x03\xe0\x41\x02\"\x9b\x15\n\x07Listing\x12`\n\x10\x62igquery_dataset\x18\x06 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSourceH\x00\x12X\n\x0cpubsub_topic\x18\x10 \x01(\x0b\x32@.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSourceH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdocumentation\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12H\n\x05state\x18\x07 \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.Listing.StateB\x03\xe0\x41\x03\x12\x11\n\x04icon\x18\x08 \x01(\x0c\x42\x03\xe0\x41\x01\x12O\n\rdata_provider\x18\t \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataProviderB\x03\xe0\x41\x01\x12P\n\ncategories\x18\n \x03(\x0e\x32\x37.google.cloud.bigquery.analyticshub.v1.Listing.CategoryB\x03\xe0\x41\x01\x12H\n\tpublisher\x18\x0b \x01(\x0b\x32\x30.google.cloud.bigquery.analyticshub.v1.PublisherB\x03\xe0\x41\x01\x12\x1b\n\x0erequest_access\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12l\n\x18restricted_export_config\x18\r \x01(\x0b\x32\x45.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfigB\x03\xe0\x41\x01\x12V\n\x0e\x64iscovery_type\x18\x0e \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.DiscoveryTypeB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12U\n\rresource_type\x18\x0f \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.SharedResourceTypeB\x03\xe0\x41\x03\x12\x35\n#log_linked_dataset_query_user_email\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x1a\xfa\x04\n\x15\x42igQueryDatasetSource\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x62igquery.googleapis.com/Dataset\x12v\n\x12selected_resources\x18\x02 \x03(\x0b\x32U.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResourceB\x03\xe0\x41\x01\x12\x82\x01\n\x18restricted_export_policy\x18\x03 \x01(\x0b\x32[.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicyB\x03\xe0\x41\x01\x1aV\n\x10SelectedResource\x12\x36\n\x05table\x18\x01 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x62igquery.googleapis.com/TableH\x00\x42\n\n\x08resource\x1a\xd1\x01\n\x16RestrictedExportPolicy\x12\x30\n\x07\x65nabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12\x45\n\x1crestrict_direct_table_access\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12>\n\x15restrict_query_result\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x1ak\n\x11PubSubTopicSource\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\"\n\x15\x64\x61ta_affinity_regions\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a}\n\x16RestrictedExportConfig\x12\x14\n\x07\x65nabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1crestrict_direct_table_access\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\"\n\x15restrict_query_result\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"*\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\"\xb7\x04\n\x08\x43\x61tegory\x12\x18\n\x14\x43\x41TEGORY_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43\x41TEGORY_OTHERS\x10\x01\x12&\n\"CATEGORY_ADVERTISING_AND_MARKETING\x10\x02\x12\x15\n\x11\x43\x41TEGORY_COMMERCE\x10\x03\x12$\n CATEGORY_CLIMATE_AND_ENVIRONMENT\x10\x04\x12\x19\n\x15\x43\x41TEGORY_DEMOGRAPHICS\x10\x05\x12\x16\n\x12\x43\x41TEGORY_ECONOMICS\x10\x06\x12\x16\n\x12\x43\x41TEGORY_EDUCATION\x10\x07\x12\x13\n\x0f\x43\x41TEGORY_ENERGY\x10\x08\x12\x16\n\x12\x43\x41TEGORY_FINANCIAL\x10\t\x12\x13\n\x0f\x43\x41TEGORY_GAMING\x10\n\x12\x17\n\x13\x43\x41TEGORY_GEOSPATIAL\x10\x0b\x12(\n$CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE\x10\x0c\x12\x12\n\x0e\x43\x41TEGORY_MEDIA\x10\r\x12\x1a\n\x16\x43\x41TEGORY_PUBLIC_SECTOR\x10\x0e\x12\x13\n\x0f\x43\x41TEGORY_RETAIL\x10\x0f\x12\x13\n\x0f\x43\x41TEGORY_SPORTS\x10\x10\x12!\n\x1d\x43\x41TEGORY_SCIENCE_AND_RESEARCH\x10\x11\x12)\n%CATEGORY_TRANSPORTATION_AND_LOGISTICS\x10\x12\x12\x1f\n\x1b\x43\x41TEGORY_TRAVEL_AND_TOURISM\x10\x13:\x82\x01\xea\x41\x7f\n#analyticshub.googleapis.com/Listing\x12Xprojects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}B\x08\n\x06sourceB\x11\n\x0f_discovery_typeB&\n$_log_linked_dataset_query_user_email\"\xde\t\n\x0cSubscription\x12\x16\n\x07listing\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1c\n\rdata_exchange\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcreation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_modify_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0forganization_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19organization_display_name\x18\n \x01(\tB\x03\xe0\x41\x03\x12M\n\x05state\x18\x07 \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.Subscription.StateB\x03\xe0\x41\x03\x12j\n\x12linked_dataset_map\x18\x08 \x03(\x0b\x32I.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedDatasetMapEntryB\x03\xe0\x41\x03\x12\x1f\n\x12subscriber_contact\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x61\n\x10linked_resources\x18\x0b \x03(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResourceB\x03\xe0\x41\x03\x12U\n\rresource_type\x18\x0c \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.SharedResourceTypeB\x03\xe0\x41\x03\x12\x35\n#log_linked_dataset_query_user_email\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x1a}\n\x0eLinkedResource\x12\x1d\n\x0elinked_dataset\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x12)\n\x1alinked_pubsub_subscription\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x14\n\x07listing\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\x0b\n\treference\x1a{\n\x15LinkedDatasetMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource:\x02\x38\x01\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x0f\n\x0bSTATE_STALE\x10\x02\x12\x12\n\x0eSTATE_INACTIVE\x10\x03:s\xea\x41p\n(analyticshub.googleapis.com/Subscription\x12\x44projects/{project}/locations/{location}/subscriptions/{subscription}B\x0f\n\rresource_nameB&\n$_log_linked_dataset_query_user_email\"\x83\x01\n\x18ListDataExchangesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/DataExchange\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x81\x01\n\x19ListDataExchangesResponse\x12K\n\x0e\x64\x61ta_exchanges\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1bListOrgDataExchangesRequest\x12\x19\n\x0corganization\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n\x1cListOrgDataExchangesResponse\x12K\n\x0e\x64\x61ta_exchanges\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x16GetDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\"\xcd\x01\n\x19\x43reateDataExchangeRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/DataExchange\x12\x1d\n\x10\x64\x61ta_exchange_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\rdata_exchange\x18\x03 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchangeB\x03\xe0\x41\x02\"\xa2\x01\n\x19UpdateDataExchangeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12O\n\rdata_exchange\x18\x02 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchangeB\x03\xe0\x41\x02\"[\n\x19\x44\x65leteDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\"~\n\x13ListListingsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x14ListListingsResponse\x12@\n\x08listings\x18\x01 \x03(\x0b\x32..google.cloud.bigquery.analyticshub.v1.Listing\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x11GetListingRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/Listing\"\xb7\x01\n\x14\x43reateListingRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12\x17\n\nlisting_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07listing\x18\x03 \x01(\x0b\x32..google.cloud.bigquery.analyticshub.v1.ListingB\x03\xe0\x41\x02\"\x92\x01\n\x14UpdateListingRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x44\n\x07listing\x18\x02 \x01(\x0b\x32..google.cloud.bigquery.analyticshub.v1.ListingB\x03\xe0\x41\x02\"Q\n\x14\x44\x65leteListingRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/Listing\"\xb8\x02\n\x17SubscribeListingRequest\x12]\n\x13\x64\x65stination_dataset\x18\x03 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetB\x03\xe0\x41\x04H\x00\x12t\n\x1f\x64\x65stination_pubsub_subscription\x18\x05 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscriptionB\x03\xe0\x41\x04H\x00\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/ListingB\r\n\x0b\x64\x65stination\"e\n\x18SubscribeListingResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"\xb2\x02\n\x1cSubscribeDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12>\n\x0b\x64\x65stination\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x13\x64\x65stination_dataset\x18\x05 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\x12subscriber_contact\x18\x03 \x01(\t\"j\n\x1dSubscribeDataExchangeResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"\\\n\x1aRefreshSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"h\n\x1bRefreshSubscriptionResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"X\n\x16GetSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"\x93\x01\n\x18ListSubscriptionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/Subscription\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x80\x01\n\x19ListSubscriptionsResponse\x12J\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x93\x01\n&ListSharedResourceSubscriptionsRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12%\n\x1dinclude_deleted_subscriptions\x18\x02 \x01(\x08\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x9e\x01\n\'ListSharedResourceSubscriptionsResponse\x12Z\n\x1dshared_resource_subscriptions\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"[\n\x19RevokeSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"\x1c\n\x1aRevokeSubscriptionResponse\"[\n\x19\x44\x65leteSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03*f\n\rDiscoveryType\x12\x1e\n\x1a\x44ISCOVERY_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44ISCOVERY_TYPE_PRIVATE\x10\x01\x12\x19\n\x15\x44ISCOVERY_TYPE_PUBLIC\x10\x02*b\n\x12SharedResourceType\x12$\n SHARED_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x42IGQUERY_DATASET\x10\x01\x12\x10\n\x0cPUBSUB_TOPIC\x10\x02\x32\xda*\n\x13\x41nalyticsHubService\x12\xda\x01\n\x11ListDataExchanges\x12?.google.cloud.bigquery.analyticshub.v1.ListDataExchangesRequest\x1a@.google.cloud.bigquery.analyticshub.v1.ListDataExchangesResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/dataExchanges\x12\xf4\x01\n\x14ListOrgDataExchanges\x12\x42.google.cloud.bigquery.analyticshub.v1.ListOrgDataExchangesRequest\x1a\x43.google.cloud.bigquery.analyticshub.v1.ListOrgDataExchangesResponse\"S\xda\x41\x0corganization\x82\xd3\xe4\x93\x02>\x12</v1/{organization=organizations/*/locations/*}/dataExchanges\x12\xc7\x01\n\x0fGetDataExchange\x12=.google.cloud.bigquery.analyticshub.v1.GetDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/dataExchanges/*}\x12\xec\x01\n\x12\x43reateDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.CreateDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"_\xda\x41\x14parent,data_exchange\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/dataExchanges:\rdata_exchange\x12\xff\x01\n\x12UpdateDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.UpdateDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"r\xda\x41\x19\x64\x61ta_exchange,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{data_exchange.name=projects/*/locations/*/dataExchanges/*}:\rdata_exchange\x12\xb0\x01\n\x12\x44\x65leteDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.DeleteDataExchangeRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/dataExchanges/*}\x12\xd6\x01\n\x0cListListings\x12:.google.cloud.bigquery.analyticshub.v1.ListListingsRequest\x1a;.google.cloud.bigquery.analyticshub.v1.ListListingsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/dataExchanges/*}/listings\x12\xc3\x01\n\nGetListing\x12\x38.google.cloud.bigquery.analyticshub.v1.GetListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}\x12\xdc\x01\n\rCreateListing\x12;.google.cloud.bigquery.analyticshub.v1.CreateListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"^\xda\x41\x0eparent,listing\x82\xd3\xe4\x93\x02G\"</v1/{parent=projects/*/locations/*/dataExchanges/*}/listings:\x07listing\x12\xe9\x01\n\rUpdateListing\x12;.google.cloud.bigquery.analyticshub.v1.UpdateListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"k\xda\x41\x13listing,update_mask\x82\xd3\xe4\x93\x02O2D/v1/{listing.name=projects/*/locations/*/dataExchanges/*/listings/*}:\x07listing\x12\xb1\x01\n\rDeleteListing\x12;.google.cloud.bigquery.analyticshub.v1.DeleteListingRequest\x1a\x16.google.protobuf.Empty\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}\x12\xed\x01\n\x10SubscribeListing\x12>.google.cloud.bigquery.analyticshub.v1.SubscribeListingRequest\x1a?.google.cloud.bigquery.analyticshub.v1.SubscribeListingResponse\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe:\x01*\x12\x80\x02\n\x15SubscribeDataExchange\x12\x43.google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x32\n\x1dSubscribeDataExchangeResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/locations/*/dataExchanges/*}:subscribe:\x01*\x12\xf7\x01\n\x13RefreshSubscription\x12\x41.google.cloud.bigquery.analyticshub.v1.RefreshSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x30\n\x1bRefreshSubscriptionResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/*/subscriptions/*}:refresh:\x01*\x12\xc7\x01\n\x0fGetSubscription\x12=.google.cloud.bigquery.analyticshub.v1.GetSubscriptionRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/subscriptions/*}\x12\xda\x01\n\x11ListSubscriptions\x12?.google.cloud.bigquery.analyticshub.v1.ListSubscriptionsRequest\x1a@.google.cloud.bigquery.analyticshub.v1.ListSubscriptionsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/subscriptions\x12\xf4\x02\n\x1fListSharedResourceSubscriptions\x12M.google.cloud.bigquery.analyticshub.v1.ListSharedResourceSubscriptionsRequest\x1aN.google.cloud.bigquery.analyticshub.v1.ListSharedResourceSubscriptionsResponse\"\xb1\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x9f\x01\x12G/v1/{resource=projects/*/locations/*/dataExchanges/*}:listSubscriptionsZT\x12R/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:listSubscriptions\x12\xe5\x01\n\x12RevokeSubscription\x12@.google.cloud.bigquery.analyticshub.v1.RevokeSubscriptionRequest\x1a\x41.google.cloud.bigquery.analyticshub.v1.RevokeSubscriptionResponse\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/subscriptions/*}:revoke:\x01*\x12\xe4\x01\n\x12\x44\x65leteSubscription\x12@.google.cloud.bigquery.analyticshub.v1.DeleteSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/subscriptions/*}\x12\xb7\x02\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xeb\x01\x82\xd3\xe4\x93\x02\xe4\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:getIamPolicy:\x01*ZG\"B/v1/{resource=projects/*/locations/*/subscriptions/*}:getIamPolicy:\x01*\x12\xb7\x02\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xeb\x01\x82\xd3\xe4\x93\x02\xe4\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:setIamPolicy:\x01*ZG\"B/v1/{resource=projects/*/locations/*/subscriptions/*}:setIamPolicy:\x01*\x12\x9a\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xae\x01\x82\xd3\xe4\x93\x02\xa7\x01\"H/v1/{resource=projects/*/locations/*/dataExchanges/*}:testIamPermissions:\x01*ZX\"S/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:testIamPermissions:\x01*\x1ax\xca\x41\x1b\x61nalyticshub.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xf4\x05\n)com.google.cloud.bigquery.analyticshub.v1B\x11\x41nalyticsHubProtoP\x01ZMcloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb;analyticshubpb\xaa\x02%Google.Cloud.BigQuery.AnalyticsHub.V1\xca\x02%Google\\Cloud\\BigQuery\\AnalyticsHub\\V1\xea\x02)Google::Cloud::Bigquery::AnalyticsHub::V1\xea\x41H\n\x1f\x62igquery.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41U\n\x1d\x62igquery.googleapis.com/Table\x12\x34projects/{project}/datasets/{dataset}/tables/{table}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\xea\x41[\n\x1f\x62igquery.googleapis.com/Routine\x12\x38projects/{project}/datasets/{dataset}/routines/{routine}\xea\x41\x45\n/servicemanagement.googleapis.com/ManagedService\x12\x12services/{service}\xea\x41Z\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x12!projects/{project}/orders/{order}b\x06proto3"
|
21
|
+
descriptor_data = "\n8google/cloud/bigquery/analyticshub/v1/analyticshub.proto\x12%google.cloud.bigquery.analyticshub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/bigquery/analyticshub/v1/pubsub.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xe9\x04\n\x0c\x44\x61taExchange\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdocumentation\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlisting_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04icon\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x01\x12h\n\x1asharing_environment_config\x18\x08 \x01(\x0b\x32?.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfigB\x03\xe0\x41\x01\x12V\n\x0e\x64iscovery_type\x18\t \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.DiscoveryTypeB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x35\n#log_linked_dataset_query_user_email\x18\n \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01:t\xea\x41q\n(analyticshub.googleapis.com/DataExchange\x12\x45projects/{project}/locations/{location}/dataExchanges/{data_exchange}B\x11\n\x0f_discovery_typeB&\n$_log_linked_dataset_query_user_email\"\x94\x04\n\x18SharingEnvironmentConfig\x12x\n\x17\x64\x65\x66\x61ult_exchange_config\x18\x01 \x01(\x0b\x32U.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DefaultExchangeConfigH\x00\x12p\n\x13\x64\x63r_exchange_config\x18\x02 \x01(\x0b\x32Q.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DcrExchangeConfigH\x00\x1a\x17\n\x15\x44\x65\x66\x61ultExchangeConfig\x1a\xe3\x01\n\x11\x44\x63rExchangeConfig\x12>\n,single_selected_resource_sharing_restriction\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x35\n#single_linked_dataset_per_cleanroom\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x42/\n-_single_selected_resource_sharing_restrictionB&\n$_single_linked_dataset_per_cleanroomB\r\n\x0b\x65nvironment\"?\n\x0c\x44\x61taProvider\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x02 \x01(\tB\x03\xe0\x41\x01\"<\n\tPublisher\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x02 \x01(\tB\x03\xe0\x41\x01\"O\n\x1b\x44\x65stinationDatasetReference\x12\x17\n\ndataset_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nproject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8c\x03\n\x12\x44\x65stinationDataset\x12\x62\n\x11\x64\x61taset_reference\x18\x01 \x01(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReferenceB\x03\xe0\x41\x02\x12\x38\n\rfriendly_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x01\x12\x36\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x01\x12Z\n\x06labels\x18\x04 \x03(\x0b\x32\x45.google.cloud.bigquery.analyticshub.v1.DestinationDataset.LabelsEntryB\x03\xe0\x41\x01\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x1d\x44\x65stinationPubSubSubscription\x12[\n\x13pubsub_subscription\x18\x01 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.PubSubSubscriptionB\x03\xe0\x41\x02\"\xb4\x1b\n\x07Listing\x12`\n\x10\x62igquery_dataset\x18\x06 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSourceH\x00\x12X\n\x0cpubsub_topic\x18\x10 \x01(\x0b\x32@.google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSourceH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fprimary_contact\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdocumentation\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12H\n\x05state\x18\x07 \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.Listing.StateB\x03\xe0\x41\x03\x12\x11\n\x04icon\x18\x08 \x01(\x0c\x42\x03\xe0\x41\x01\x12O\n\rdata_provider\x18\t \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataProviderB\x03\xe0\x41\x01\x12P\n\ncategories\x18\n \x03(\x0e\x32\x37.google.cloud.bigquery.analyticshub.v1.Listing.CategoryB\x03\xe0\x41\x01\x12H\n\tpublisher\x18\x0b \x01(\x0b\x32\x30.google.cloud.bigquery.analyticshub.v1.PublisherB\x03\xe0\x41\x01\x12\x1b\n\x0erequest_access\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12l\n\x18restricted_export_config\x18\r \x01(\x0b\x32\x45.google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfigB\x03\xe0\x41\x01\x12V\n\x0e\x64iscovery_type\x18\x0e \x01(\x0e\x32\x34.google.cloud.bigquery.analyticshub.v1.DiscoveryTypeB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12U\n\rresource_type\x18\x0f \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.SharedResourceTypeB\x03\xe0\x41\x03\x12`\n\x0f\x63ommercial_info\x18\x11 \x01(\x0b\x32=.google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfoB\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x35\n#log_linked_dataset_query_user_email\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x12-\n\x1b\x61llow_only_metadata_sharing\x18\x13 \x01(\x08\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x1a\xb7\x05\n\x15\x42igQueryDatasetSource\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x62igquery.googleapis.com/Dataset\x12v\n\x12selected_resources\x18\x02 \x03(\x0b\x32U.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResourceB\x03\xe0\x41\x01\x12\x82\x01\n\x18restricted_export_policy\x18\x03 \x01(\x0b\x32[.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicyB\x03\xe0\x41\x01\x1a\x92\x01\n\x10SelectedResource\x12\x36\n\x05table\x18\x01 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x62igquery.googleapis.com/TableH\x00\x12:\n\x07routine\x18\x02 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x62igquery.googleapis.com/RoutineH\x00\x42\n\n\x08resource\x1a\xd1\x01\n\x16RestrictedExportPolicy\x12\x30\n\x07\x65nabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12\x45\n\x1crestrict_direct_table_access\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12>\n\x15restrict_query_result\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x1ak\n\x11PubSubTopicSource\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\"\n\x15\x64\x61ta_affinity_regions\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a}\n\x16RestrictedExportConfig\x12\x14\n\x07\x65nabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1crestrict_direct_table_access\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\"\n\x15restrict_query_result\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x94\x04\n\x0e\x43ommercialInfo\x12}\n\x11\x63loud_marketplace\x18\x01 \x01(\x0b\x32X.google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfoB\x03\xe0\x41\x03H\x00\x88\x01\x01\x1a\xec\x02\n\x1aGoogleCloudMarketplaceInfo\x12M\n\x07service\x18\x01 \x01(\tB7\xe0\x41\x03\xfa\x41\x31\n/servicemanagement.googleapis.com/ManagedServiceH\x00\x88\x01\x01\x12\x8c\x01\n\x10\x63ommercial_state\x18\x03 \x01(\x0e\x32h.google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialStateB\x03\xe0\x41\x03H\x01\x88\x01\x01\"O\n\x0f\x43ommercialState\x12 \n\x1c\x43OMMERCIAL_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nONBOARDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\n\n\x08_serviceB\x13\n\x11_commercial_stateB\x14\n\x12_cloud_marketplace\"*\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\"\xb7\x04\n\x08\x43\x61tegory\x12\x18\n\x14\x43\x41TEGORY_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43\x41TEGORY_OTHERS\x10\x01\x12&\n\"CATEGORY_ADVERTISING_AND_MARKETING\x10\x02\x12\x15\n\x11\x43\x41TEGORY_COMMERCE\x10\x03\x12$\n CATEGORY_CLIMATE_AND_ENVIRONMENT\x10\x04\x12\x19\n\x15\x43\x41TEGORY_DEMOGRAPHICS\x10\x05\x12\x16\n\x12\x43\x41TEGORY_ECONOMICS\x10\x06\x12\x16\n\x12\x43\x41TEGORY_EDUCATION\x10\x07\x12\x13\n\x0f\x43\x41TEGORY_ENERGY\x10\x08\x12\x16\n\x12\x43\x41TEGORY_FINANCIAL\x10\t\x12\x13\n\x0f\x43\x41TEGORY_GAMING\x10\n\x12\x17\n\x13\x43\x41TEGORY_GEOSPATIAL\x10\x0b\x12(\n$CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE\x10\x0c\x12\x12\n\x0e\x43\x41TEGORY_MEDIA\x10\r\x12\x1a\n\x16\x43\x41TEGORY_PUBLIC_SECTOR\x10\x0e\x12\x13\n\x0f\x43\x41TEGORY_RETAIL\x10\x0f\x12\x13\n\x0f\x43\x41TEGORY_SPORTS\x10\x10\x12!\n\x1d\x43\x41TEGORY_SCIENCE_AND_RESEARCH\x10\x11\x12)\n%CATEGORY_TRANSPORTATION_AND_LOGISTICS\x10\x12\x12\x1f\n\x1b\x43\x41TEGORY_TRAVEL_AND_TOURISM\x10\x13:\x82\x01\xea\x41\x7f\n#analyticshub.googleapis.com/Listing\x12Xprojects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}B\x08\n\x06sourceB\x11\n\x0f_discovery_typeB\x12\n\x10_commercial_infoB&\n$_log_linked_dataset_query_user_emailB\x1e\n\x1c_allow_only_metadata_sharing\"\x98\r\n\x0cSubscription\x12\x16\n\x07listing\x18\x05 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1c\n\rdata_exchange\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcreation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_modify_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0forganization_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12&\n\x19organization_display_name\x18\n \x01(\tB\x03\xe0\x41\x03\x12M\n\x05state\x18\x07 \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.Subscription.StateB\x03\xe0\x41\x03\x12j\n\x12linked_dataset_map\x18\x08 \x03(\x0b\x32I.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedDatasetMapEntryB\x03\xe0\x41\x03\x12\x1f\n\x12subscriber_contact\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x61\n\x10linked_resources\x18\x0b \x03(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResourceB\x03\xe0\x41\x03\x12U\n\rresource_type\x18\x0c \x01(\x0e\x32\x39.google.cloud.bigquery.analyticshub.v1.SharedResourceTypeB\x03\xe0\x41\x03\x12`\n\x0f\x63ommercial_info\x18\r \x01(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfoB\x03\xe0\x41\x03\x12\x35\n#log_linked_dataset_query_user_email\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12[\n\x13\x64\x65stination_dataset\x18\x0f \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetB\x03\xe0\x41\x01\x1a}\n\x0eLinkedResource\x12\x1d\n\x0elinked_dataset\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x12)\n\x1alinked_pubsub_subscription\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x14\n\x07listing\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\x0b\n\treference\x1a\xf8\x01\n\x0e\x43ommercialInfo\x12}\n\x11\x63loud_marketplace\x18\x01 \x01(\x0b\x32].google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo.GoogleCloudMarketplaceInfoB\x03\xe0\x41\x03\x1ag\n\x1aGoogleCloudMarketplaceInfo\x12I\n\x05order\x18\x01 \x01(\tB:\xfa\x41\x37\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x1a{\n\x15LinkedDatasetMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0b\x32\x42.google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource:\x02\x38\x01\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x0f\n\x0bSTATE_STALE\x10\x02\x12\x12\n\x0eSTATE_INACTIVE\x10\x03:s\xea\x41p\n(analyticshub.googleapis.com/Subscription\x12\x44projects/{project}/locations/{location}/subscriptions/{subscription}B\x0f\n\rresource_nameB&\n$_log_linked_dataset_query_user_email\"\x83\x01\n\x18ListDataExchangesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/DataExchange\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x81\x01\n\x19ListDataExchangesResponse\x12K\n\x0e\x64\x61ta_exchanges\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1bListOrgDataExchangesRequest\x12\x19\n\x0corganization\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n\x1cListOrgDataExchangesResponse\x12K\n\x0e\x64\x61ta_exchanges\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x16GetDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\"\xcd\x01\n\x19\x43reateDataExchangeRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/DataExchange\x12\x1d\n\x10\x64\x61ta_exchange_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\rdata_exchange\x18\x03 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchangeB\x03\xe0\x41\x02\"\xa2\x01\n\x19UpdateDataExchangeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12O\n\rdata_exchange\x18\x02 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.DataExchangeB\x03\xe0\x41\x02\"[\n\x19\x44\x65leteDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\"~\n\x13ListListingsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x14ListListingsResponse\x12@\n\x08listings\x18\x01 \x03(\x0b\x32..google.cloud.bigquery.analyticshub.v1.Listing\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x11GetListingRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/Listing\"\xb7\x01\n\x14\x43reateListingRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12\x17\n\nlisting_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07listing\x18\x03 \x01(\x0b\x32..google.cloud.bigquery.analyticshub.v1.ListingB\x03\xe0\x41\x02\"\x92\x01\n\x14UpdateListingRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x44\n\x07listing\x18\x02 \x01(\x0b\x32..google.cloud.bigquery.analyticshub.v1.ListingB\x03\xe0\x41\x02\"q\n\x14\x44\x65leteListingRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/Listing\x12\x1e\n\x11\x64\x65lete_commercial\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xb8\x02\n\x17SubscribeListingRequest\x12]\n\x13\x64\x65stination_dataset\x18\x03 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetB\x03\xe0\x41\x04H\x00\x12t\n\x1f\x64\x65stination_pubsub_subscription\x18\x05 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscriptionB\x03\xe0\x41\x04H\x00\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#analyticshub.googleapis.com/ListingB\r\n\x0b\x64\x65stination\"e\n\x18SubscribeListingResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"\xb2\x02\n\x1cSubscribeDataExchangeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/DataExchange\x12>\n\x0b\x64\x65stination\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x13\x64\x65stination_dataset\x18\x05 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\x12subscriber_contact\x18\x03 \x01(\t\"j\n\x1dSubscribeDataExchangeResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"\\\n\x1aRefreshSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"h\n\x1bRefreshSubscriptionResponse\x12I\n\x0csubscription\x18\x01 \x01(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"X\n\x16GetSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"\x93\x01\n\x18ListSubscriptionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(analyticshub.googleapis.com/Subscription\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x80\x01\n\x19ListSubscriptionsResponse\x12J\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x93\x01\n&ListSharedResourceSubscriptionsRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12%\n\x1dinclude_deleted_subscriptions\x18\x02 \x01(\x08\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x9e\x01\n\'ListSharedResourceSubscriptionsResponse\x12Z\n\x1dshared_resource_subscriptions\x18\x01 \x03(\x0b\x32\x33.google.cloud.bigquery.analyticshub.v1.Subscription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x19RevokeSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\x12\x1e\n\x11revoke_commercial\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x1c\n\x1aRevokeSubscriptionResponse\"[\n\x19\x44\x65leteSubscriptionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(analyticshub.googleapis.com/Subscription\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03*f\n\rDiscoveryType\x12\x1e\n\x1a\x44ISCOVERY_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44ISCOVERY_TYPE_PRIVATE\x10\x01\x12\x19\n\x15\x44ISCOVERY_TYPE_PUBLIC\x10\x02*b\n\x12SharedResourceType\x12$\n SHARED_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x42IGQUERY_DATASET\x10\x01\x12\x10\n\x0cPUBSUB_TOPIC\x10\x02\x32\xda*\n\x13\x41nalyticsHubService\x12\xda\x01\n\x11ListDataExchanges\x12?.google.cloud.bigquery.analyticshub.v1.ListDataExchangesRequest\x1a@.google.cloud.bigquery.analyticshub.v1.ListDataExchangesResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/dataExchanges\x12\xf4\x01\n\x14ListOrgDataExchanges\x12\x42.google.cloud.bigquery.analyticshub.v1.ListOrgDataExchangesRequest\x1a\x43.google.cloud.bigquery.analyticshub.v1.ListOrgDataExchangesResponse\"S\xda\x41\x0corganization\x82\xd3\xe4\x93\x02>\x12</v1/{organization=organizations/*/locations/*}/dataExchanges\x12\xc7\x01\n\x0fGetDataExchange\x12=.google.cloud.bigquery.analyticshub.v1.GetDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/dataExchanges/*}\x12\xec\x01\n\x12\x43reateDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.CreateDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"_\xda\x41\x14parent,data_exchange\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/dataExchanges:\rdata_exchange\x12\xff\x01\n\x12UpdateDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.UpdateDataExchangeRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.DataExchange\"r\xda\x41\x19\x64\x61ta_exchange,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{data_exchange.name=projects/*/locations/*/dataExchanges/*}:\rdata_exchange\x12\xb0\x01\n\x12\x44\x65leteDataExchange\x12@.google.cloud.bigquery.analyticshub.v1.DeleteDataExchangeRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/dataExchanges/*}\x12\xd6\x01\n\x0cListListings\x12:.google.cloud.bigquery.analyticshub.v1.ListListingsRequest\x1a;.google.cloud.bigquery.analyticshub.v1.ListListingsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/dataExchanges/*}/listings\x12\xc3\x01\n\nGetListing\x12\x38.google.cloud.bigquery.analyticshub.v1.GetListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}\x12\xdc\x01\n\rCreateListing\x12;.google.cloud.bigquery.analyticshub.v1.CreateListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"^\xda\x41\x0eparent,listing\x82\xd3\xe4\x93\x02G\"</v1/{parent=projects/*/locations/*/dataExchanges/*}/listings:\x07listing\x12\xe9\x01\n\rUpdateListing\x12;.google.cloud.bigquery.analyticshub.v1.UpdateListingRequest\x1a..google.cloud.bigquery.analyticshub.v1.Listing\"k\xda\x41\x13listing,update_mask\x82\xd3\xe4\x93\x02O2D/v1/{listing.name=projects/*/locations/*/dataExchanges/*/listings/*}:\x07listing\x12\xb1\x01\n\rDeleteListing\x12;.google.cloud.bigquery.analyticshub.v1.DeleteListingRequest\x1a\x16.google.protobuf.Empty\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}\x12\xed\x01\n\x10SubscribeListing\x12>.google.cloud.bigquery.analyticshub.v1.SubscribeListingRequest\x1a?.google.cloud.bigquery.analyticshub.v1.SubscribeListingResponse\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe:\x01*\x12\x80\x02\n\x15SubscribeDataExchange\x12\x43.google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x32\n\x1dSubscribeDataExchangeResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/locations/*/dataExchanges/*}:subscribe:\x01*\x12\xf7\x01\n\x13RefreshSubscription\x12\x41.google.cloud.bigquery.analyticshub.v1.RefreshSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41\x30\n\x1bRefreshSubscriptionResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/*/subscriptions/*}:refresh:\x01*\x12\xc7\x01\n\x0fGetSubscription\x12=.google.cloud.bigquery.analyticshub.v1.GetSubscriptionRequest\x1a\x33.google.cloud.bigquery.analyticshub.v1.Subscription\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/subscriptions/*}\x12\xda\x01\n\x11ListSubscriptions\x12?.google.cloud.bigquery.analyticshub.v1.ListSubscriptionsRequest\x1a@.google.cloud.bigquery.analyticshub.v1.ListSubscriptionsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/subscriptions\x12\xf4\x02\n\x1fListSharedResourceSubscriptions\x12M.google.cloud.bigquery.analyticshub.v1.ListSharedResourceSubscriptionsRequest\x1aN.google.cloud.bigquery.analyticshub.v1.ListSharedResourceSubscriptionsResponse\"\xb1\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x9f\x01\x12G/v1/{resource=projects/*/locations/*/dataExchanges/*}:listSubscriptionsZT\x12R/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:listSubscriptions\x12\xe5\x01\n\x12RevokeSubscription\x12@.google.cloud.bigquery.analyticshub.v1.RevokeSubscriptionRequest\x1a\x41.google.cloud.bigquery.analyticshub.v1.RevokeSubscriptionResponse\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/subscriptions/*}:revoke:\x01*\x12\xe4\x01\n\x12\x44\x65leteSubscription\x12@.google.cloud.bigquery.analyticshub.v1.DeleteSubscriptionRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/subscriptions/*}\x12\xb7\x02\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xeb\x01\x82\xd3\xe4\x93\x02\xe4\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:getIamPolicy:\x01*ZG\"B/v1/{resource=projects/*/locations/*/subscriptions/*}:getIamPolicy:\x01*\x12\xb7\x02\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xeb\x01\x82\xd3\xe4\x93\x02\xe4\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:setIamPolicy:\x01*ZG\"B/v1/{resource=projects/*/locations/*/subscriptions/*}:setIamPolicy:\x01*\x12\x9a\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xae\x01\x82\xd3\xe4\x93\x02\xa7\x01\"H/v1/{resource=projects/*/locations/*/dataExchanges/*}:testIamPermissions:\x01*ZX\"S/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:testIamPermissions:\x01*\x1ax\xca\x41\x1b\x61nalyticshub.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xf4\x05\n)com.google.cloud.bigquery.analyticshub.v1B\x11\x41nalyticsHubProtoP\x01ZMcloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb;analyticshubpb\xaa\x02%Google.Cloud.BigQuery.AnalyticsHub.V1\xca\x02%Google\\Cloud\\BigQuery\\AnalyticsHub\\V1\xea\x02)Google::Cloud::Bigquery::AnalyticsHub::V1\xea\x41H\n\x1f\x62igquery.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41U\n\x1d\x62igquery.googleapis.com/Table\x12\x34projects/{project}/datasets/{dataset}/tables/{table}\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\xea\x41[\n\x1f\x62igquery.googleapis.com/Routine\x12\x38projects/{project}/datasets/{dataset}/routines/{routine}\xea\x41\x45\n/servicemanagement.googleapis.com/ManagedService\x12\x12services/{service}\xea\x41Z\n5cloudcommerceconsumerprocurement.googleapis.com/Order\x12!projects/{project}/orders/{order}b\x06proto3"
|
22
22
|
|
23
23
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
24
24
|
|
@@ -68,10 +68,15 @@ module Google
|
|
68
68
|
Listing::BigQueryDatasetSource::RestrictedExportPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy").msgclass
|
69
69
|
Listing::PubSubTopicSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource").msgclass
|
70
70
|
Listing::RestrictedExportConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig").msgclass
|
71
|
+
Listing::CommercialInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo").msgclass
|
72
|
+
Listing::CommercialInfo::GoogleCloudMarketplaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo").msgclass
|
73
|
+
Listing::CommercialInfo::GoogleCloudMarketplaceInfo::CommercialState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.CommercialInfo.GoogleCloudMarketplaceInfo.CommercialState").enummodule
|
71
74
|
Listing::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.State").enummodule
|
72
75
|
Listing::Category = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.Category").enummodule
|
73
76
|
Subscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Subscription").msgclass
|
74
77
|
Subscription::LinkedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource").msgclass
|
78
|
+
Subscription::CommercialInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo").msgclass
|
79
|
+
Subscription::CommercialInfo::GoogleCloudMarketplaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Subscription.CommercialInfo.GoogleCloudMarketplaceInfo").msgclass
|
75
80
|
Subscription::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Subscription.State").enummodule
|
76
81
|
ListDataExchangesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.ListDataExchangesRequest").msgclass
|
77
82
|
ListDataExchangesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.ListDataExchangesResponse").msgclass
|
@@ -69,8 +69,10 @@ module Google
|
|
69
69
|
# Upon subscription to a listing for a BigQuery dataset, Analytics Hub
|
70
70
|
# creates a linked dataset in the subscriber's project.
|
71
71
|
rpc :SubscribeListing, ::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingRequest, ::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingResponse
|
72
|
-
# Creates a Subscription to a Data Clean Room. This is a
|
73
|
-
# operation as it will create one or more linked datasets.
|
72
|
+
# Creates a Subscription to a Data Clean Room. This is a
|
73
|
+
# long-running operation as it will create one or more linked datasets.
|
74
|
+
# Throws a Bad Request error if the Data Exchange does not contain any
|
75
|
+
# listings.
|
74
76
|
rpc :SubscribeDataExchange, ::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeDataExchangeRequest, ::Google::Longrunning::Operation
|
75
77
|
# Refreshes a Subscription to a Data Exchange. A Data Exchange can become
|
76
78
|
# stale when a publisher adds or removes data. This is a long-running
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @!attribute [r] name
|
29
29
|
# @return [::String]
|
30
30
|
# Output only. The resource name of the data exchange.
|
31
|
-
# e.g. `projects/myproject/locations/
|
31
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
32
32
|
# @!attribute [rw] display_name
|
33
33
|
# @return [::String]
|
34
34
|
# Required. Human-readable display name of the data exchange. The display
|
@@ -71,7 +71,6 @@ module Google
|
|
71
71
|
# @return [::Boolean]
|
72
72
|
# Optional. By default, false.
|
73
73
|
# If true, the DataExchange has an email sharing mandate enabled.
|
74
|
-
# Publishers can view the logged email of the subscriber.
|
75
74
|
class DataExchange
|
76
75
|
include ::Google::Protobuf::MessageExts
|
77
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -222,7 +221,7 @@ module Google
|
|
222
221
|
# @!attribute [r] name
|
223
222
|
# @return [::String]
|
224
223
|
# Output only. The resource name of the listing.
|
225
|
-
# e.g. `projects/myproject/locations/
|
224
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`
|
226
225
|
# @!attribute [rw] display_name
|
227
226
|
# @return [::String]
|
228
227
|
# Required. Human-readable display name of the listing. The display name must
|
@@ -277,10 +276,18 @@ module Google
|
|
277
276
|
# @!attribute [r] resource_type
|
278
277
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType]
|
279
278
|
# Output only. Listing shared asset type.
|
279
|
+
# @!attribute [r] commercial_info
|
280
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::CommercialInfo]
|
281
|
+
# Output only. Commercial info contains the information about the commercial
|
282
|
+
# data products associated with the listing.
|
280
283
|
# @!attribute [rw] log_linked_dataset_query_user_email
|
281
284
|
# @return [::Boolean]
|
282
285
|
# Optional. By default, false.
|
283
286
|
# If true, the Listing has an email sharing mandate enabled.
|
287
|
+
# @!attribute [rw] allow_only_metadata_sharing
|
288
|
+
# @return [::Boolean]
|
289
|
+
# Optional. If true, the listing is only available to get the resource
|
290
|
+
# metadata. Listing is non subscribable.
|
284
291
|
class Listing
|
285
292
|
include ::Google::Protobuf::MessageExts
|
286
293
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -315,6 +322,16 @@ module Google
|
|
315
322
|
# For table:
|
316
323
|
# `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
|
317
324
|
# Example:"projects/test_project/datasets/test_dataset/tables/test_table"
|
325
|
+
#
|
326
|
+
# Note: The following fields are mutually exclusive: `table`, `routine`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
327
|
+
# @!attribute [rw] routine
|
328
|
+
# @return [::String]
|
329
|
+
# Optional. Format:
|
330
|
+
# For routine:
|
331
|
+
# `projects/{projectId}/datasets/{datasetId}/routines/{routineId}`
|
332
|
+
# Example:"projects/test_project/datasets/test_dataset/routines/test_routine"
|
333
|
+
#
|
334
|
+
# Note: The following fields are mutually exclusive: `routine`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
318
335
|
class SelectedResource
|
319
336
|
include ::Google::Protobuf::MessageExts
|
320
337
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -372,6 +389,43 @@ module Google
|
|
372
389
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
373
390
|
end
|
374
391
|
|
392
|
+
# Commercial info contains the information about the commercial data products
|
393
|
+
# associated with the listing.
|
394
|
+
# @!attribute [r] cloud_marketplace
|
395
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::CommercialInfo::GoogleCloudMarketplaceInfo]
|
396
|
+
# Output only. Details of the Marketplace Data Product associated with the
|
397
|
+
# Listing.
|
398
|
+
class CommercialInfo
|
399
|
+
include ::Google::Protobuf::MessageExts
|
400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
401
|
+
|
402
|
+
# Specifies the details of the Marketplace Data Product associated with the
|
403
|
+
# Listing.
|
404
|
+
# @!attribute [r] service
|
405
|
+
# @return [::String]
|
406
|
+
# Output only. Resource name of the commercial service associated with
|
407
|
+
# the Marketplace Data Product. e.g. example.com
|
408
|
+
# @!attribute [r] commercial_state
|
409
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::CommercialInfo::GoogleCloudMarketplaceInfo::CommercialState]
|
410
|
+
# Output only. Commercial state of the Marketplace Data Product.
|
411
|
+
class GoogleCloudMarketplaceInfo
|
412
|
+
include ::Google::Protobuf::MessageExts
|
413
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
414
|
+
|
415
|
+
# Indicates whether this commercial access is currently active.
|
416
|
+
module CommercialState
|
417
|
+
# Commercialization is incomplete and cannot be used.
|
418
|
+
COMMERCIAL_STATE_UNSPECIFIED = 0
|
419
|
+
|
420
|
+
# Commercialization has been initialized.
|
421
|
+
ONBOARDING = 1
|
422
|
+
|
423
|
+
# Commercialization is complete and available for use.
|
424
|
+
ACTIVE = 2
|
425
|
+
end
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
375
429
|
# State of the listing.
|
376
430
|
module State
|
377
431
|
# Default value. This value is unused.
|
@@ -432,19 +486,19 @@ module Google
|
|
432
486
|
# @!attribute [r] listing
|
433
487
|
# @return [::String]
|
434
488
|
# Output only. Resource name of the source Listing.
|
435
|
-
# e.g. projects/123/locations/
|
489
|
+
# e.g. projects/123/locations/us/dataExchanges/456/listings/789
|
436
490
|
#
|
437
491
|
# Note: The following fields are mutually exclusive: `listing`, `data_exchange`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
438
492
|
# @!attribute [r] data_exchange
|
439
493
|
# @return [::String]
|
440
494
|
# Output only. Resource name of the source Data Exchange.
|
441
|
-
# e.g. projects/123/locations/
|
495
|
+
# e.g. projects/123/locations/us/dataExchanges/456
|
442
496
|
#
|
443
497
|
# Note: The following fields are mutually exclusive: `data_exchange`, `listing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
444
498
|
# @!attribute [r] name
|
445
499
|
# @return [::String]
|
446
500
|
# Output only. The resource name of the subscription.
|
447
|
-
# e.g. `projects/myproject/locations/
|
501
|
+
# e.g. `projects/myproject/locations/us/subscriptions/123`.
|
448
502
|
# @!attribute [r] creation_time
|
449
503
|
# @return [::Google::Protobuf::Timestamp]
|
450
504
|
# Output only. Timestamp when the subscription was created.
|
@@ -463,7 +517,7 @@ module Google
|
|
463
517
|
# @!attribute [r] linked_dataset_map
|
464
518
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource}]
|
465
519
|
# Output only. Map of listing resource names to associated linked resource,
|
466
|
-
# e.g. projects/123/locations/
|
520
|
+
# e.g. projects/123/locations/us/dataExchanges/456/listings/789
|
467
521
|
# ->
|
468
522
|
# projects/123/datasets/my_dataset
|
469
523
|
#
|
@@ -479,11 +533,18 @@ module Google
|
|
479
533
|
# @!attribute [r] resource_type
|
480
534
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType]
|
481
535
|
# Output only. Listing shared asset type.
|
536
|
+
# @!attribute [r] commercial_info
|
537
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo]
|
538
|
+
# Output only. This is set if this is a commercial subscription i.e. if this
|
539
|
+
# subscription was created from subscribing to a commercial listing.
|
482
540
|
# @!attribute [r] log_linked_dataset_query_user_email
|
483
541
|
# @return [::Boolean]
|
484
542
|
# Output only. By default, false.
|
485
543
|
# If true, the Subscriber agreed to the email sharing mandate
|
486
544
|
# that is enabled for DataExchange/Listing.
|
545
|
+
# @!attribute [rw] destination_dataset
|
546
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset]
|
547
|
+
# Optional. BigQuery destination dataset to create for the subscriber.
|
487
548
|
class Subscription
|
488
549
|
include ::Google::Protobuf::MessageExts
|
489
550
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -509,6 +570,25 @@ module Google
|
|
509
570
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
510
571
|
end
|
511
572
|
|
573
|
+
# Commercial info metadata for this subscription.
|
574
|
+
# @!attribute [r] cloud_marketplace
|
575
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo]
|
576
|
+
# Output only. This is set when the subscription is commercialised via
|
577
|
+
# Cloud Marketplace.
|
578
|
+
class CommercialInfo
|
579
|
+
include ::Google::Protobuf::MessageExts
|
580
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
581
|
+
|
582
|
+
# Cloud Marketplace commercial metadata for this subscription.
|
583
|
+
# @!attribute [rw] order
|
584
|
+
# @return [::String]
|
585
|
+
# Resource name of the Marketplace Order.
|
586
|
+
class GoogleCloudMarketplaceInfo
|
587
|
+
include ::Google::Protobuf::MessageExts
|
588
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
512
592
|
# @!attribute [rw] key
|
513
593
|
# @return [::String]
|
514
594
|
# @!attribute [rw] value
|
@@ -540,7 +620,7 @@ module Google
|
|
540
620
|
# @!attribute [rw] parent
|
541
621
|
# @return [::String]
|
542
622
|
# Required. The parent resource path of the data exchanges.
|
543
|
-
# e.g. `projects/myproject/locations/
|
623
|
+
# e.g. `projects/myproject/locations/us`.
|
544
624
|
# @!attribute [rw] page_size
|
545
625
|
# @return [::Integer]
|
546
626
|
# The maximum number of results to return in a single response page. Leverage
|
@@ -571,7 +651,7 @@ module Google
|
|
571
651
|
# @!attribute [rw] organization
|
572
652
|
# @return [::String]
|
573
653
|
# Required. The organization resource path of the projects containing
|
574
|
-
# DataExchanges. e.g. `organizations/myorg/locations/
|
654
|
+
# DataExchanges. e.g. `organizations/myorg/locations/us`.
|
575
655
|
# @!attribute [rw] page_size
|
576
656
|
# @return [::Integer]
|
577
657
|
# The maximum number of results to return in a single response page. Leverage
|
@@ -602,7 +682,7 @@ module Google
|
|
602
682
|
# @!attribute [rw] name
|
603
683
|
# @return [::String]
|
604
684
|
# Required. The resource name of the data exchange.
|
605
|
-
# e.g. `projects/myproject/locations/
|
685
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
606
686
|
class GetDataExchangeRequest
|
607
687
|
include ::Google::Protobuf::MessageExts
|
608
688
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -612,11 +692,11 @@ module Google
|
|
612
692
|
# @!attribute [rw] parent
|
613
693
|
# @return [::String]
|
614
694
|
# Required. The parent resource path of the data exchange.
|
615
|
-
# e.g. `projects/myproject/locations/
|
695
|
+
# e.g. `projects/myproject/locations/us`.
|
616
696
|
# @!attribute [rw] data_exchange_id
|
617
697
|
# @return [::String]
|
618
698
|
# Required. The ID of the data exchange.
|
619
|
-
# Must contain only
|
699
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
620
700
|
# Max length: 100 bytes.
|
621
701
|
# @!attribute [rw] data_exchange
|
622
702
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange]
|
@@ -644,7 +724,7 @@ module Google
|
|
644
724
|
# @!attribute [rw] name
|
645
725
|
# @return [::String]
|
646
726
|
# Required. The full name of the data exchange resource that you want to
|
647
|
-
# delete. For example, `projects/myproject/locations/
|
727
|
+
# delete. For example, `projects/myproject/locations/us/dataExchanges/123`.
|
648
728
|
class DeleteDataExchangeRequest
|
649
729
|
include ::Google::Protobuf::MessageExts
|
650
730
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -654,7 +734,7 @@ module Google
|
|
654
734
|
# @!attribute [rw] parent
|
655
735
|
# @return [::String]
|
656
736
|
# Required. The parent resource path of the listing.
|
657
|
-
# e.g. `projects/myproject/locations/
|
737
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
658
738
|
# @!attribute [rw] page_size
|
659
739
|
# @return [::Integer]
|
660
740
|
# The maximum number of results to return in a single response page. Leverage
|
@@ -684,7 +764,7 @@ module Google
|
|
684
764
|
# @!attribute [rw] name
|
685
765
|
# @return [::String]
|
686
766
|
# Required. The resource name of the listing.
|
687
|
-
# e.g. `projects/myproject/locations/
|
767
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
688
768
|
class GetListingRequest
|
689
769
|
include ::Google::Protobuf::MessageExts
|
690
770
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -694,11 +774,11 @@ module Google
|
|
694
774
|
# @!attribute [rw] parent
|
695
775
|
# @return [::String]
|
696
776
|
# Required. The parent resource path of the listing.
|
697
|
-
# e.g. `projects/myproject/locations/
|
777
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123`.
|
698
778
|
# @!attribute [rw] listing_id
|
699
779
|
# @return [::String]
|
700
780
|
# Required. The ID of the listing to create.
|
701
|
-
# Must contain only
|
781
|
+
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
702
782
|
# Max length: 100 bytes.
|
703
783
|
# @!attribute [rw] listing
|
704
784
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing]
|
@@ -726,7 +806,12 @@ module Google
|
|
726
806
|
# @!attribute [rw] name
|
727
807
|
# @return [::String]
|
728
808
|
# Required. Resource name of the listing to delete.
|
729
|
-
# e.g. `projects/myproject/locations/
|
809
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
810
|
+
# @!attribute [rw] delete_commercial
|
811
|
+
# @return [::Boolean]
|
812
|
+
# Optional. If the listing is commercial then this field must be set to true,
|
813
|
+
# otherwise a failure is thrown. This acts as a safety guard to avoid
|
814
|
+
# deleting commercial listings accidentally.
|
730
815
|
class DeleteListingRequest
|
731
816
|
include ::Google::Protobuf::MessageExts
|
732
817
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -747,7 +832,7 @@ module Google
|
|
747
832
|
# @!attribute [rw] name
|
748
833
|
# @return [::String]
|
749
834
|
# Required. Resource name of the listing that you want to subscribe to.
|
750
|
-
# e.g. `projects/myproject/locations/
|
835
|
+
# e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
|
751
836
|
class SubscribeListingRequest
|
752
837
|
include ::Google::Protobuf::MessageExts
|
753
838
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -766,11 +851,11 @@ module Google
|
|
766
851
|
# @!attribute [rw] name
|
767
852
|
# @return [::String]
|
768
853
|
# Required. Resource name of the Data Exchange.
|
769
|
-
# e.g. `projects/publisherproject/locations/
|
854
|
+
# e.g. `projects/publisherproject/locations/us/dataExchanges/123`
|
770
855
|
# @!attribute [rw] destination
|
771
856
|
# @return [::String]
|
772
857
|
# Required. The parent resource path of the Subscription.
|
773
|
-
# e.g. `projects/subscriberproject/locations/
|
858
|
+
# e.g. `projects/subscriberproject/locations/us`
|
774
859
|
# @!attribute [rw] destination_dataset
|
775
860
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset]
|
776
861
|
# Optional. BigQuery destination dataset to create for the subscriber.
|
@@ -799,7 +884,7 @@ module Google
|
|
799
884
|
# @!attribute [rw] name
|
800
885
|
# @return [::String]
|
801
886
|
# Required. Resource name of the Subscription to refresh.
|
802
|
-
# e.g. `projects/subscriberproject/locations/
|
887
|
+
# e.g. `projects/subscriberproject/locations/us/subscriptions/123`
|
803
888
|
class RefreshSubscriptionRequest
|
804
889
|
include ::Google::Protobuf::MessageExts
|
805
890
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -818,7 +903,7 @@ module Google
|
|
818
903
|
# @!attribute [rw] name
|
819
904
|
# @return [::String]
|
820
905
|
# Required. Resource name of the subscription.
|
821
|
-
# e.g. projects/123/locations/
|
906
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
822
907
|
class GetSubscriptionRequest
|
823
908
|
include ::Google::Protobuf::MessageExts
|
824
909
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -828,14 +913,14 @@ module Google
|
|
828
913
|
# @!attribute [rw] parent
|
829
914
|
# @return [::String]
|
830
915
|
# Required. The parent resource path of the subscription.
|
831
|
-
# e.g. projects/myproject/locations/
|
916
|
+
# e.g. projects/myproject/locations/us
|
832
917
|
# @!attribute [rw] filter
|
833
918
|
# @return [::String]
|
834
919
|
# An expression for filtering the results of the request. Eligible
|
835
920
|
# fields for filtering are:
|
836
921
|
#
|
837
|
-
#
|
838
|
-
#
|
922
|
+
# + `listing`
|
923
|
+
# + `data_exchange`
|
839
924
|
#
|
840
925
|
# Alternatively, a literal wrapped in double quotes may be provided.
|
841
926
|
# This will be checked for an exact match against both fields above.
|
@@ -843,9 +928,9 @@ module Google
|
|
843
928
|
# In all cases, the full Data Exchange or Listing resource name must
|
844
929
|
# be provided. Some example of using filters:
|
845
930
|
#
|
846
|
-
#
|
847
|
-
#
|
848
|
-
#
|
931
|
+
# + data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
932
|
+
# + listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
933
|
+
# + "projects/myproject/locations/us/dataExchanges/123"
|
849
934
|
# @!attribute [rw] page_size
|
850
935
|
# @return [::Integer]
|
851
936
|
# The maximum number of results to return in a single response page.
|
@@ -874,8 +959,8 @@ module Google
|
|
874
959
|
# @return [::String]
|
875
960
|
# Required. Resource name of the requested target. This resource may be
|
876
961
|
# either a Listing or a DataExchange. e.g.
|
877
|
-
# projects/123/locations/
|
878
|
-
# projects/123/locations/
|
962
|
+
# projects/123/locations/us/dataExchanges/456 OR e.g.
|
963
|
+
# projects/123/locations/us/dataExchanges/456/listings/789
|
879
964
|
# @!attribute [rw] include_deleted_subscriptions
|
880
965
|
# @return [::Boolean]
|
881
966
|
# If selected, includes deleted subscriptions in the response
|
@@ -907,7 +992,12 @@ module Google
|
|
907
992
|
# @!attribute [rw] name
|
908
993
|
# @return [::String]
|
909
994
|
# Required. Resource name of the subscription to revoke.
|
910
|
-
# e.g. projects/123/locations/
|
995
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
996
|
+
# @!attribute [rw] revoke_commercial
|
997
|
+
# @return [::Boolean]
|
998
|
+
# Optional. If the subscription is commercial then this field must be set to
|
999
|
+
# true, otherwise a failure is thrown. This acts as a safety guard to avoid
|
1000
|
+
# revoking commercial subscriptions accidentally.
|
911
1001
|
class RevokeSubscriptionRequest
|
912
1002
|
include ::Google::Protobuf::MessageExts
|
913
1003
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -924,7 +1014,7 @@ module Google
|
|
924
1014
|
# @!attribute [rw] name
|
925
1015
|
# @return [::String]
|
926
1016
|
# Required. Resource name of the subscription to delete.
|
927
|
-
# e.g. projects/123/locations/
|
1017
|
+
# e.g. projects/123/locations/us/subscriptions/456
|
928
1018
|
class DeleteSubscriptionRequest
|
929
1019
|
include ::Google::Protobuf::MessageExts
|
930
1020
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|