google-cloud-bigquery-analytics_hub-v1 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/client.rb +63 -24
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/operations.rb +13 -5
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/paths.rb +19 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/client.rb +63 -24
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/operations.rb +11 -4
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/service_stub.rb +16 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb +94 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4e5cf13a7767acbd76e74bdffc1ffbf0e76342a28c334f64073514cbc5ba66e
|
4
|
+
data.tar.gz: 77b7d30cd24e080d91cbee58d7c1aaea7603704cb9baf297323c6662e7664942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c23a0fb1f6dc115dce64c7543feb796cb5fec4416d7af20357bdf54067e74ab2e5b1715540c7133d94a0d6e5114bdaae7ba922bf0a1d12bbdf400f5b78e62d56
|
7
|
+
data.tar.gz: 4db114844579212755683771f91c081ac35e0d1da3f5abaa9de9bd59906107ebafb53ac48b92a6ffb69a45a4aa159605468c764747ab18e27413a811ddf76b87
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# dataset in your project.
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "analyticshub.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -251,10 +254,11 @@ module Google
|
|
251
254
|
# Customize the options with defaults
|
252
255
|
metadata = @config.rpcs.list_data_exchanges.metadata.to_h
|
253
256
|
|
254
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
257
260
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
263
|
|
260
264
|
header_params = {}
|
@@ -349,10 +353,11 @@ module Google
|
|
349
353
|
# Customize the options with defaults
|
350
354
|
metadata = @config.rpcs.list_org_data_exchanges.metadata.to_h
|
351
355
|
|
352
|
-
# Set x-goog-api-client
|
356
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
353
357
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
354
358
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
355
359
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
360
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
356
361
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
357
362
|
|
358
363
|
header_params = {}
|
@@ -436,10 +441,11 @@ module Google
|
|
436
441
|
# Customize the options with defaults
|
437
442
|
metadata = @config.rpcs.get_data_exchange.metadata.to_h
|
438
443
|
|
439
|
-
# Set x-goog-api-client
|
444
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
440
445
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
441
446
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
442
447
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
448
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
443
449
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
444
450
|
|
445
451
|
header_params = {}
|
@@ -530,10 +536,11 @@ module Google
|
|
530
536
|
# Customize the options with defaults
|
531
537
|
metadata = @config.rpcs.create_data_exchange.metadata.to_h
|
532
538
|
|
533
|
-
# Set x-goog-api-client
|
539
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
534
540
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
535
541
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
536
542
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
543
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
537
544
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
538
545
|
|
539
546
|
header_params = {}
|
@@ -619,10 +626,11 @@ module Google
|
|
619
626
|
# Customize the options with defaults
|
620
627
|
metadata = @config.rpcs.update_data_exchange.metadata.to_h
|
621
628
|
|
622
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
623
630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
624
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
625
632
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
626
634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
627
635
|
|
628
636
|
header_params = {}
|
@@ -705,10 +713,11 @@ module Google
|
|
705
713
|
# Customize the options with defaults
|
706
714
|
metadata = @config.rpcs.delete_data_exchange.metadata.to_h
|
707
715
|
|
708
|
-
# Set x-goog-api-client
|
716
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
709
717
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
710
718
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
711
719
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
720
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
712
721
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
713
722
|
|
714
723
|
header_params = {}
|
@@ -801,10 +810,11 @@ module Google
|
|
801
810
|
# Customize the options with defaults
|
802
811
|
metadata = @config.rpcs.list_listings.metadata.to_h
|
803
812
|
|
804
|
-
# Set x-goog-api-client
|
813
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
805
814
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
806
815
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
807
816
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
817
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
808
818
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
809
819
|
|
810
820
|
header_params = {}
|
@@ -888,10 +898,11 @@ module Google
|
|
888
898
|
# Customize the options with defaults
|
889
899
|
metadata = @config.rpcs.get_listing.metadata.to_h
|
890
900
|
|
891
|
-
# Set x-goog-api-client
|
901
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
892
902
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
893
903
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
894
904
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
905
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
895
906
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
896
907
|
|
897
908
|
header_params = {}
|
@@ -982,10 +993,11 @@ module Google
|
|
982
993
|
# Customize the options with defaults
|
983
994
|
metadata = @config.rpcs.create_listing.metadata.to_h
|
984
995
|
|
985
|
-
# Set x-goog-api-client
|
996
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
986
997
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
987
998
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
988
999
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1000
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
989
1001
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
990
1002
|
|
991
1003
|
header_params = {}
|
@@ -1071,10 +1083,11 @@ module Google
|
|
1071
1083
|
# Customize the options with defaults
|
1072
1084
|
metadata = @config.rpcs.update_listing.metadata.to_h
|
1073
1085
|
|
1074
|
-
# Set x-goog-api-client
|
1086
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1075
1087
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1076
1088
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1077
1089
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1090
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1078
1091
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1079
1092
|
|
1080
1093
|
header_params = {}
|
@@ -1157,10 +1170,11 @@ module Google
|
|
1157
1170
|
# Customize the options with defaults
|
1158
1171
|
metadata = @config.rpcs.delete_listing.metadata.to_h
|
1159
1172
|
|
1160
|
-
# Set x-goog-api-client
|
1173
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1161
1174
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1162
1175
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1163
1176
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1177
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1164
1178
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1165
1179
|
|
1166
1180
|
header_params = {}
|
@@ -1211,7 +1225,7 @@ module Google
|
|
1211
1225
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1212
1226
|
#
|
1213
1227
|
# @param destination_dataset [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset, ::Hash]
|
1214
|
-
# BigQuery destination dataset to create for the subscriber.
|
1228
|
+
# Input only. BigQuery destination dataset to create for the subscriber.
|
1215
1229
|
# @param name [::String]
|
1216
1230
|
# Required. Resource name of the listing that you want to subscribe to.
|
1217
1231
|
# e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
|
@@ -1250,10 +1264,11 @@ module Google
|
|
1250
1264
|
# Customize the options with defaults
|
1251
1265
|
metadata = @config.rpcs.subscribe_listing.metadata.to_h
|
1252
1266
|
|
1253
|
-
# Set x-goog-api-client
|
1267
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1254
1268
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1255
1269
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1256
1270
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1271
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1257
1272
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1258
1273
|
|
1259
1274
|
header_params = {}
|
@@ -1352,10 +1367,11 @@ module Google
|
|
1352
1367
|
# Customize the options with defaults
|
1353
1368
|
metadata = @config.rpcs.subscribe_data_exchange.metadata.to_h
|
1354
1369
|
|
1355
|
-
# Set x-goog-api-client
|
1370
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1356
1371
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1357
1372
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1358
1373
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1374
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1359
1375
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1360
1376
|
|
1361
1377
|
header_params = {}
|
@@ -1448,10 +1464,11 @@ module Google
|
|
1448
1464
|
# Customize the options with defaults
|
1449
1465
|
metadata = @config.rpcs.refresh_subscription.metadata.to_h
|
1450
1466
|
|
1451
|
-
# Set x-goog-api-client
|
1467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1452
1468
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1453
1469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1454
1470
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1471
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1455
1472
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1456
1473
|
|
1457
1474
|
header_params = {}
|
@@ -1535,10 +1552,11 @@ module Google
|
|
1535
1552
|
# Customize the options with defaults
|
1536
1553
|
metadata = @config.rpcs.get_subscription.metadata.to_h
|
1537
1554
|
|
1538
|
-
# Set x-goog-api-client
|
1555
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1539
1556
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1540
1557
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1541
1558
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1559
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1542
1560
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1543
1561
|
|
1544
1562
|
header_params = {}
|
@@ -1587,7 +1605,21 @@ module Google
|
|
1587
1605
|
# Required. The parent resource path of the subscription.
|
1588
1606
|
# e.g. projects/myproject/locations/US
|
1589
1607
|
# @param filter [::String]
|
1590
|
-
#
|
1608
|
+
# An expression for filtering the results of the request. Eligible
|
1609
|
+
# fields for filtering are:
|
1610
|
+
#
|
1611
|
+
# * `listing`
|
1612
|
+
# * `data_exchange`
|
1613
|
+
#
|
1614
|
+
# Alternatively, a literal wrapped in double quotes may be provided.
|
1615
|
+
# This will be checked for an exact match against both fields above.
|
1616
|
+
#
|
1617
|
+
# In all cases, the full Data Exchange or Listing resource name must
|
1618
|
+
# be provided. Some example of using filters:
|
1619
|
+
#
|
1620
|
+
# * data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
1621
|
+
# * listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
1622
|
+
# * "projects/myproject/locations/us/dataExchanges/123"
|
1591
1623
|
# @param page_size [::Integer]
|
1592
1624
|
# The maximum number of results to return in a single response page.
|
1593
1625
|
# @param page_token [::String]
|
@@ -1631,10 +1663,11 @@ module Google
|
|
1631
1663
|
# Customize the options with defaults
|
1632
1664
|
metadata = @config.rpcs.list_subscriptions.metadata.to_h
|
1633
1665
|
|
1634
|
-
# Set x-goog-api-client
|
1666
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1635
1667
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1636
1668
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1637
1669
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1670
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1638
1671
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1639
1672
|
|
1640
1673
|
header_params = {}
|
@@ -1731,10 +1764,11 @@ module Google
|
|
1731
1764
|
# Customize the options with defaults
|
1732
1765
|
metadata = @config.rpcs.list_shared_resource_subscriptions.metadata.to_h
|
1733
1766
|
|
1734
|
-
# Set x-goog-api-client
|
1767
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1735
1768
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1736
1769
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1737
1770
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1771
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1738
1772
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1739
1773
|
|
1740
1774
|
header_params = {}
|
@@ -1818,10 +1852,11 @@ module Google
|
|
1818
1852
|
# Customize the options with defaults
|
1819
1853
|
metadata = @config.rpcs.revoke_subscription.metadata.to_h
|
1820
1854
|
|
1821
|
-
# Set x-goog-api-client
|
1855
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1822
1856
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1823
1857
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1824
1858
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1859
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1825
1860
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1826
1861
|
|
1827
1862
|
header_params = {}
|
@@ -1911,10 +1946,11 @@ module Google
|
|
1911
1946
|
# Customize the options with defaults
|
1912
1947
|
metadata = @config.rpcs.delete_subscription.metadata.to_h
|
1913
1948
|
|
1914
|
-
# Set x-goog-api-client
|
1949
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1915
1950
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1916
1951
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1917
1952
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
1953
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1918
1954
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1919
1955
|
|
1920
1956
|
header_params = {}
|
@@ -2001,10 +2037,11 @@ module Google
|
|
2001
2037
|
# Customize the options with defaults
|
2002
2038
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2003
2039
|
|
2004
|
-
# Set x-goog-api-client
|
2040
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2005
2041
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2006
2042
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2007
2043
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
2044
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2008
2045
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2009
2046
|
|
2010
2047
|
header_params = {}
|
@@ -2098,10 +2135,11 @@ module Google
|
|
2098
2135
|
# Customize the options with defaults
|
2099
2136
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2100
2137
|
|
2101
|
-
# Set x-goog-api-client
|
2138
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2102
2139
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2103
2140
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2104
2141
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
2142
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2105
2143
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2106
2144
|
|
2107
2145
|
header_params = {}
|
@@ -2189,10 +2227,11 @@ module Google
|
|
2189
2227
|
# Customize the options with defaults
|
2190
2228
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2191
2229
|
|
2192
|
-
# Set x-goog-api-client
|
2230
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2193
2231
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2194
2232
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2195
2233
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
2234
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2196
2235
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2197
2236
|
|
2198
2237
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module AnalyticsHubService
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "analyticshub.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -118,6 +118,25 @@ module Google
|
|
118
118
|
"projects/#{project}/locations/#{location}/subscriptions/#{subscription}"
|
119
119
|
end
|
120
120
|
|
121
|
+
##
|
122
|
+
# Create a fully-qualified Table resource string.
|
123
|
+
#
|
124
|
+
# The resource will be in the following format:
|
125
|
+
#
|
126
|
+
# `projects/{project}/datasets/{dataset}/tables/{table}`
|
127
|
+
#
|
128
|
+
# @param project [String]
|
129
|
+
# @param dataset [String]
|
130
|
+
# @param table [String]
|
131
|
+
#
|
132
|
+
# @return [::String]
|
133
|
+
def table_path project:, dataset:, table:
|
134
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
135
|
+
raise ::ArgumentError, "dataset cannot contain /" if dataset.to_s.include? "/"
|
136
|
+
|
137
|
+
"projects/#{project}/datasets/#{dataset}/tables/#{table}"
|
138
|
+
end
|
139
|
+
|
121
140
|
extend self
|
122
141
|
end
|
123
142
|
end
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# dataset in your project.
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "analyticshub.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -243,12 +246,13 @@ module Google
|
|
243
246
|
# Customize the options with defaults
|
244
247
|
call_metadata = @config.rpcs.list_data_exchanges.metadata.to_h
|
245
248
|
|
246
|
-
# Set x-goog-api-client
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
249
252
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
250
253
|
transports_version_send: [:rest]
|
251
254
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
253
257
|
|
254
258
|
options.apply_defaults timeout: @config.rpcs.list_data_exchanges.timeout,
|
@@ -334,12 +338,13 @@ module Google
|
|
334
338
|
# Customize the options with defaults
|
335
339
|
call_metadata = @config.rpcs.list_org_data_exchanges.metadata.to_h
|
336
340
|
|
337
|
-
# Set x-goog-api-client
|
341
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
338
342
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
339
343
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
340
344
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
341
345
|
transports_version_send: [:rest]
|
342
346
|
|
347
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
343
348
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
344
349
|
|
345
350
|
options.apply_defaults timeout: @config.rpcs.list_org_data_exchanges.timeout,
|
@@ -414,12 +419,13 @@ module Google
|
|
414
419
|
# Customize the options with defaults
|
415
420
|
call_metadata = @config.rpcs.get_data_exchange.metadata.to_h
|
416
421
|
|
417
|
-
# Set x-goog-api-client
|
422
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
418
423
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
419
424
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
420
425
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
421
426
|
transports_version_send: [:rest]
|
422
427
|
|
428
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
423
429
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
424
430
|
|
425
431
|
options.apply_defaults timeout: @config.rpcs.get_data_exchange.timeout,
|
@@ -501,12 +507,13 @@ module Google
|
|
501
507
|
# Customize the options with defaults
|
502
508
|
call_metadata = @config.rpcs.create_data_exchange.metadata.to_h
|
503
509
|
|
504
|
-
# Set x-goog-api-client
|
510
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
505
511
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
506
512
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
507
513
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
508
514
|
transports_version_send: [:rest]
|
509
515
|
|
516
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
510
517
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
511
518
|
|
512
519
|
options.apply_defaults timeout: @config.rpcs.create_data_exchange.timeout,
|
@@ -583,12 +590,13 @@ module Google
|
|
583
590
|
# Customize the options with defaults
|
584
591
|
call_metadata = @config.rpcs.update_data_exchange.metadata.to_h
|
585
592
|
|
586
|
-
# Set x-goog-api-client
|
593
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
587
594
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
588
595
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
589
596
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
590
597
|
transports_version_send: [:rest]
|
591
598
|
|
599
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
592
600
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
593
601
|
|
594
602
|
options.apply_defaults timeout: @config.rpcs.update_data_exchange.timeout,
|
@@ -662,12 +670,13 @@ module Google
|
|
662
670
|
# Customize the options with defaults
|
663
671
|
call_metadata = @config.rpcs.delete_data_exchange.metadata.to_h
|
664
672
|
|
665
|
-
# Set x-goog-api-client
|
673
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
666
674
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
667
675
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
668
676
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
669
677
|
transports_version_send: [:rest]
|
670
678
|
|
679
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
671
680
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
672
681
|
|
673
682
|
options.apply_defaults timeout: @config.rpcs.delete_data_exchange.timeout,
|
@@ -751,12 +760,13 @@ module Google
|
|
751
760
|
# Customize the options with defaults
|
752
761
|
call_metadata = @config.rpcs.list_listings.metadata.to_h
|
753
762
|
|
754
|
-
# Set x-goog-api-client
|
763
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
755
764
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
756
765
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
757
766
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
758
767
|
transports_version_send: [:rest]
|
759
768
|
|
769
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
760
770
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
761
771
|
|
762
772
|
options.apply_defaults timeout: @config.rpcs.list_listings.timeout,
|
@@ -831,12 +841,13 @@ module Google
|
|
831
841
|
# Customize the options with defaults
|
832
842
|
call_metadata = @config.rpcs.get_listing.metadata.to_h
|
833
843
|
|
834
|
-
# Set x-goog-api-client
|
844
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
835
845
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
836
846
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
837
847
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
838
848
|
transports_version_send: [:rest]
|
839
849
|
|
850
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
840
851
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
841
852
|
|
842
853
|
options.apply_defaults timeout: @config.rpcs.get_listing.timeout,
|
@@ -918,12 +929,13 @@ module Google
|
|
918
929
|
# Customize the options with defaults
|
919
930
|
call_metadata = @config.rpcs.create_listing.metadata.to_h
|
920
931
|
|
921
|
-
# Set x-goog-api-client
|
932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
922
933
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
923
934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
924
935
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
925
936
|
transports_version_send: [:rest]
|
926
937
|
|
938
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
927
939
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
928
940
|
|
929
941
|
options.apply_defaults timeout: @config.rpcs.create_listing.timeout,
|
@@ -1000,12 +1012,13 @@ module Google
|
|
1000
1012
|
# Customize the options with defaults
|
1001
1013
|
call_metadata = @config.rpcs.update_listing.metadata.to_h
|
1002
1014
|
|
1003
|
-
# Set x-goog-api-client
|
1015
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1004
1016
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1005
1017
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1006
1018
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1007
1019
|
transports_version_send: [:rest]
|
1008
1020
|
|
1021
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1009
1022
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1010
1023
|
|
1011
1024
|
options.apply_defaults timeout: @config.rpcs.update_listing.timeout,
|
@@ -1079,12 +1092,13 @@ module Google
|
|
1079
1092
|
# Customize the options with defaults
|
1080
1093
|
call_metadata = @config.rpcs.delete_listing.metadata.to_h
|
1081
1094
|
|
1082
|
-
# Set x-goog-api-client
|
1095
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1083
1096
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1084
1097
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1085
1098
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1086
1099
|
transports_version_send: [:rest]
|
1087
1100
|
|
1101
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1088
1102
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1089
1103
|
|
1090
1104
|
options.apply_defaults timeout: @config.rpcs.delete_listing.timeout,
|
@@ -1127,7 +1141,7 @@ module Google
|
|
1127
1141
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1128
1142
|
#
|
1129
1143
|
# @param destination_dataset [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset, ::Hash]
|
1130
|
-
# BigQuery destination dataset to create for the subscriber.
|
1144
|
+
# Input only. BigQuery destination dataset to create for the subscriber.
|
1131
1145
|
# @param name [::String]
|
1132
1146
|
# Required. Resource name of the listing that you want to subscribe to.
|
1133
1147
|
# e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
|
@@ -1165,12 +1179,13 @@ module Google
|
|
1165
1179
|
# Customize the options with defaults
|
1166
1180
|
call_metadata = @config.rpcs.subscribe_listing.metadata.to_h
|
1167
1181
|
|
1168
|
-
# Set x-goog-api-client
|
1182
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1169
1183
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1170
1184
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1171
1185
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1172
1186
|
transports_version_send: [:rest]
|
1173
1187
|
|
1188
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1174
1189
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1175
1190
|
|
1176
1191
|
options.apply_defaults timeout: @config.rpcs.subscribe_listing.timeout,
|
@@ -1260,12 +1275,13 @@ module Google
|
|
1260
1275
|
# Customize the options with defaults
|
1261
1276
|
call_metadata = @config.rpcs.subscribe_data_exchange.metadata.to_h
|
1262
1277
|
|
1263
|
-
# Set x-goog-api-client
|
1278
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1264
1279
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1265
1280
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1266
1281
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1267
1282
|
transports_version_send: [:rest]
|
1268
1283
|
|
1284
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1269
1285
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1270
1286
|
|
1271
1287
|
options.apply_defaults timeout: @config.rpcs.subscribe_data_exchange.timeout,
|
@@ -1349,12 +1365,13 @@ module Google
|
|
1349
1365
|
# Customize the options with defaults
|
1350
1366
|
call_metadata = @config.rpcs.refresh_subscription.metadata.to_h
|
1351
1367
|
|
1352
|
-
# Set x-goog-api-client
|
1368
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1353
1369
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1354
1370
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1355
1371
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1356
1372
|
transports_version_send: [:rest]
|
1357
1373
|
|
1374
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1358
1375
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1359
1376
|
|
1360
1377
|
options.apply_defaults timeout: @config.rpcs.refresh_subscription.timeout,
|
@@ -1429,12 +1446,13 @@ module Google
|
|
1429
1446
|
# Customize the options with defaults
|
1430
1447
|
call_metadata = @config.rpcs.get_subscription.metadata.to_h
|
1431
1448
|
|
1432
|
-
# Set x-goog-api-client
|
1449
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1433
1450
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1434
1451
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1435
1452
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1436
1453
|
transports_version_send: [:rest]
|
1437
1454
|
|
1455
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1438
1456
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1439
1457
|
|
1440
1458
|
options.apply_defaults timeout: @config.rpcs.get_subscription.timeout,
|
@@ -1475,7 +1493,21 @@ module Google
|
|
1475
1493
|
# Required. The parent resource path of the subscription.
|
1476
1494
|
# e.g. projects/myproject/locations/US
|
1477
1495
|
# @param filter [::String]
|
1478
|
-
#
|
1496
|
+
# An expression for filtering the results of the request. Eligible
|
1497
|
+
# fields for filtering are:
|
1498
|
+
#
|
1499
|
+
# * `listing`
|
1500
|
+
# * `data_exchange`
|
1501
|
+
#
|
1502
|
+
# Alternatively, a literal wrapped in double quotes may be provided.
|
1503
|
+
# This will be checked for an exact match against both fields above.
|
1504
|
+
#
|
1505
|
+
# In all cases, the full Data Exchange or Listing resource name must
|
1506
|
+
# be provided. Some example of using filters:
|
1507
|
+
#
|
1508
|
+
# * data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
1509
|
+
# * listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
1510
|
+
# * "projects/myproject/locations/us/dataExchanges/123"
|
1479
1511
|
# @param page_size [::Integer]
|
1480
1512
|
# The maximum number of results to return in a single response page.
|
1481
1513
|
# @param page_token [::String]
|
@@ -1518,12 +1550,13 @@ module Google
|
|
1518
1550
|
# Customize the options with defaults
|
1519
1551
|
call_metadata = @config.rpcs.list_subscriptions.metadata.to_h
|
1520
1552
|
|
1521
|
-
# Set x-goog-api-client
|
1553
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1522
1554
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1523
1555
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1524
1556
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1525
1557
|
transports_version_send: [:rest]
|
1526
1558
|
|
1559
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1527
1560
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1528
1561
|
|
1529
1562
|
options.apply_defaults timeout: @config.rpcs.list_subscriptions.timeout,
|
@@ -1611,12 +1644,13 @@ module Google
|
|
1611
1644
|
# Customize the options with defaults
|
1612
1645
|
call_metadata = @config.rpcs.list_shared_resource_subscriptions.metadata.to_h
|
1613
1646
|
|
1614
|
-
# Set x-goog-api-client
|
1647
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1615
1648
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1616
1649
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1617
1650
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1618
1651
|
transports_version_send: [:rest]
|
1619
1652
|
|
1653
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1620
1654
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1621
1655
|
|
1622
1656
|
options.apply_defaults timeout: @config.rpcs.list_shared_resource_subscriptions.timeout,
|
@@ -1691,12 +1725,13 @@ module Google
|
|
1691
1725
|
# Customize the options with defaults
|
1692
1726
|
call_metadata = @config.rpcs.revoke_subscription.metadata.to_h
|
1693
1727
|
|
1694
|
-
# Set x-goog-api-client
|
1728
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1695
1729
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1696
1730
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1697
1731
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1698
1732
|
transports_version_send: [:rest]
|
1699
1733
|
|
1734
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1700
1735
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1701
1736
|
|
1702
1737
|
options.apply_defaults timeout: @config.rpcs.revoke_subscription.timeout,
|
@@ -1777,12 +1812,13 @@ module Google
|
|
1777
1812
|
# Customize the options with defaults
|
1778
1813
|
call_metadata = @config.rpcs.delete_subscription.metadata.to_h
|
1779
1814
|
|
1780
|
-
# Set x-goog-api-client
|
1815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1781
1816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1782
1817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1783
1818
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1784
1819
|
transports_version_send: [:rest]
|
1785
1820
|
|
1821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1786
1822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1787
1823
|
|
1788
1824
|
options.apply_defaults timeout: @config.rpcs.delete_subscription.timeout,
|
@@ -1860,12 +1896,13 @@ module Google
|
|
1860
1896
|
# Customize the options with defaults
|
1861
1897
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1862
1898
|
|
1863
|
-
# Set x-goog-api-client
|
1899
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1864
1900
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1865
1901
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1866
1902
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1867
1903
|
transports_version_send: [:rest]
|
1868
1904
|
|
1905
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1869
1906
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1870
1907
|
|
1871
1908
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1950,12 +1987,13 @@ module Google
|
|
1950
1987
|
# Customize the options with defaults
|
1951
1988
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1952
1989
|
|
1953
|
-
# Set x-goog-api-client
|
1990
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1954
1991
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1955
1992
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1956
1993
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
1957
1994
|
transports_version_send: [:rest]
|
1958
1995
|
|
1996
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1959
1997
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1960
1998
|
|
1961
1999
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -2034,12 +2072,13 @@ module Google
|
|
2034
2072
|
# Customize the options with defaults
|
2035
2073
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2036
2074
|
|
2037
|
-
# Set x-goog-api-client
|
2075
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2038
2076
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2039
2077
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2040
2078
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
2041
2079
|
transports_version_send: [:rest]
|
2042
2080
|
|
2081
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2043
2082
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2044
2083
|
|
2045
2084
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Rest
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "analyticshub.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -182,12 +185,13 @@ module Google
|
|
182
185
|
# Customize the options with defaults
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
184
187
|
|
185
|
-
# Set x-goog-api-client
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
188
191
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
189
192
|
transports_version_send: [:rest]
|
190
193
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
192
196
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -270,12 +274,13 @@ module Google
|
|
270
274
|
# Customize the options with defaults
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
272
276
|
|
273
|
-
# Set x-goog-api-client
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
280
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
277
281
|
transports_version_send: [:rest]
|
278
282
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
280
285
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -352,12 +357,13 @@ module Google
|
|
352
357
|
# Customize the options with defaults
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
354
359
|
|
355
|
-
# Set x-goog-api-client
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
363
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
359
364
|
transports_version_send: [:rest]
|
360
365
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
368
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -439,12 +445,13 @@ module Google
|
|
439
445
|
# Customize the options with defaults
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
441
447
|
|
442
|
-
# Set x-goog-api-client
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
451
|
gapic_version: ::Google::Cloud::Bigquery::AnalyticsHub::V1::VERSION,
|
446
452
|
transports_version_send: [:rest]
|
447
453
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
456
|
|
450
457
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -1339,6 +1339,14 @@ module Google
|
|
1339
1339
|
["resource", %r{^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+/?$}, false]
|
1340
1340
|
]
|
1341
1341
|
)
|
1342
|
+
.with_bindings(
|
1343
|
+
uri_method: :post,
|
1344
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
1345
|
+
body: "*",
|
1346
|
+
matches: [
|
1347
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+/?$}, false]
|
1348
|
+
]
|
1349
|
+
)
|
1342
1350
|
transcoder.transcode request_pb
|
1343
1351
|
end
|
1344
1352
|
|
@@ -1369,6 +1377,14 @@ module Google
|
|
1369
1377
|
["resource", %r{^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+/?$}, false]
|
1370
1378
|
]
|
1371
1379
|
)
|
1380
|
+
.with_bindings(
|
1381
|
+
uri_method: :post,
|
1382
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
1383
|
+
body: "*",
|
1384
|
+
matches: [
|
1385
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+/?$}, false]
|
1386
|
+
]
|
1387
|
+
)
|
1372
1388
|
transcoder.transcode request_pb
|
1373
1389
|
end
|
1374
1390
|
|
@@ -17,7 +17,7 @@ require 'google/protobuf/timestamp_pb'
|
|
17
17
|
require 'google/protobuf/wrappers_pb'
|
18
18
|
|
19
19
|
|
20
|
-
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\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\"\x9f\x03\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:t\xea\x41q\n(analyticshub.googleapis.com/DataExchange\x12\x45projects/{project}/locations/{location}/dataExchanges/{data_exchange}\"\xc3\x02\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\x13\n\x11\x44\x63rExchangeConfigB\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\"\x8b\r\n\x07Listing\x12\x65\n\x10\x62igquery_dataset\x18\x06 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSourceB\x03\xe0\x41\x02H\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\x1aN\n\x15\x42igQueryDatasetSource\x12\x35\n\x07\x64\x61taset\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x62igquery.googleapis.com/Dataset\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\x06source\"\x84\x07\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\x1a<\n\x0eLinkedResource\x12\x1d\n\x0elinked_dataset\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\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_name\"\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\"\xbd\x01\n\x17SubscribeListingRequest\x12X\n\x13\x64\x65stination_dataset\x18\x03 \x01(\x0b\x32\x39.google.cloud.bigquery.analyticshub.v1.DestinationDatasetH\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\"\xd5\x01\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\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\x32\xc8)\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\xee\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa2\x01\x82\xd3\xe4\x93\x02\x9b\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:getIamPolicy:\x01*\x12\xee\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa2\x01\x82\xd3\xe4\x93\x02\x9b\x01\"B/v1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy:\x01*ZR\"M/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}: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\xd6\x02\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}b\x06proto3"
|
20
|
+
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\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\"\x8a\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:t\xea\x41q\n(analyticshub.googleapis.com/DataExchange\x12\x45projects/{project}/locations/{location}/dataExchanges/{data_exchange}B\x11\n\x0f_discovery_type\"\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\"\xa0\x12\n\x07Listing\x12\x65\n\x10\x62igquery_dataset\x18\x06 \x01(\x0b\x32\x44.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSourceB\x03\xe0\x41\x02H\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\x1a\xf7\x04\n\x15\x42igQueryDatasetSource\x12\x35\n\x07\x64\x61taset\x18\x01 \x01(\tB$\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\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_type\"\x84\x07\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\x1a<\n\x0eLinkedResource\x12\x1d\n\x0elinked_dataset\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\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_name\"\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\"\xc2\x01\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\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\"\xd5\x01\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\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\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\xae\x03\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}b\x06proto3"
|
21
21
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
23
|
|
@@ -61,6 +61,8 @@ module Google
|
|
61
61
|
DestinationDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.DestinationDataset").msgclass
|
62
62
|
Listing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing").msgclass
|
63
63
|
Listing::BigQueryDatasetSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource").msgclass
|
64
|
+
Listing::BigQueryDatasetSource::SelectedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource").msgclass
|
65
|
+
Listing::BigQueryDatasetSource::RestrictedExportPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy").msgclass
|
64
66
|
Listing::RestrictedExportConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig").msgclass
|
65
67
|
Listing::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.State").enummodule
|
66
68
|
Listing::Category = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.Listing.Category").enummodule
|
@@ -96,6 +98,7 @@ module Google
|
|
96
98
|
RevokeSubscriptionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.RevokeSubscriptionResponse").msgclass
|
97
99
|
DeleteSubscriptionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.DeleteSubscriptionRequest").msgclass
|
98
100
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.OperationMetadata").msgclass
|
101
|
+
DiscoveryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.analyticshub.v1.DiscoveryType").enummodule
|
99
102
|
end
|
100
103
|
end
|
101
104
|
end
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -62,6 +62,11 @@ module Google
|
|
62
62
|
# @!attribute [rw] sharing_environment_config
|
63
63
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::SharingEnvironmentConfig]
|
64
64
|
# Optional. Configurable data sharing environment option for a data exchange.
|
65
|
+
# @!attribute [rw] discovery_type
|
66
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DiscoveryType]
|
67
|
+
# Optional. Type of discovery on the discovery page for all the listings
|
68
|
+
# under this exchange. Updating this field also updates (overwrites) the
|
69
|
+
# discovery_type field for all the listings under this exchange.
|
65
70
|
class DataExchange
|
66
71
|
include ::Google::Protobuf::MessageExts
|
67
72
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -86,6 +91,21 @@ module Google
|
|
86
91
|
end
|
87
92
|
|
88
93
|
# Data Clean Room (DCR), used for privacy-safe and secured data sharing.
|
94
|
+
# @!attribute [r] single_selected_resource_sharing_restriction
|
95
|
+
# @return [::Boolean]
|
96
|
+
# Output only. If True, this DCR restricts the contributors to sharing
|
97
|
+
# only a single resource in a Listing. And no two resources should have the
|
98
|
+
# same IDs. So if a contributor adds a view with a conflicting name, the
|
99
|
+
# CreateListing API will reject the request. if False, the data contributor
|
100
|
+
# can publish an entire dataset (as before). This is not configurable, and
|
101
|
+
# by default, all new DCRs will have the restriction set to True.
|
102
|
+
# @!attribute [r] single_linked_dataset_per_cleanroom
|
103
|
+
# @return [::Boolean]
|
104
|
+
# Output only. If True, when subscribing to this DCR, it will create only
|
105
|
+
# one linked dataset containing all resources shared within the
|
106
|
+
# cleanroom. If False, when subscribing to this DCR, it will
|
107
|
+
# create 1 linked dataset per listing. This is not configurable, and by
|
108
|
+
# default, all new DCRs will have the restriction set to True.
|
89
109
|
class DcrExchangeConfig
|
90
110
|
include ::Google::Protobuf::MessageExts
|
91
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -227,6 +247,9 @@ module Google
|
|
227
247
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::RestrictedExportConfig]
|
228
248
|
# Optional. If set, restricted export configuration will be propagated and
|
229
249
|
# enforced on the linked dataset.
|
250
|
+
# @!attribute [rw] discovery_type
|
251
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DiscoveryType]
|
252
|
+
# Optional. Type of discovery of the listing on the discovery page.
|
230
253
|
class Listing
|
231
254
|
include ::Google::Protobuf::MessageExts
|
232
255
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -242,9 +265,48 @@ module Google
|
|
242
265
|
# @return [::String]
|
243
266
|
# Resource name of the dataset source for this listing.
|
244
267
|
# e.g. `projects/myproject/datasets/123`
|
268
|
+
# @!attribute [rw] selected_resources
|
269
|
+
# @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
|
270
|
+
# Optional. Resources in this dataset that are selectively shared.
|
271
|
+
# If this field is empty, then the entire dataset (all resources) are
|
272
|
+
# shared. This field is only valid for data clean room exchanges.
|
273
|
+
# @!attribute [rw] restricted_export_policy
|
274
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
|
275
|
+
# Optional. If set, restricted export policy will be propagated and
|
276
|
+
# enforced on the linked dataset.
|
245
277
|
class BigQueryDatasetSource
|
246
278
|
include ::Google::Protobuf::MessageExts
|
247
279
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
280
|
+
|
281
|
+
# Resource in this dataset that are selectively shared.
|
282
|
+
# @!attribute [rw] table
|
283
|
+
# @return [::String]
|
284
|
+
# Optional. Format:
|
285
|
+
# For table:
|
286
|
+
# `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
|
287
|
+
# Example:"projects/test_project/datasets/test_dataset/tables/test_table"
|
288
|
+
class SelectedResource
|
289
|
+
include ::Google::Protobuf::MessageExts
|
290
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
291
|
+
end
|
292
|
+
|
293
|
+
# Restricted export policy used to configure restricted export on linked
|
294
|
+
# dataset.
|
295
|
+
# @!attribute [rw] enabled
|
296
|
+
# @return [::Google::Protobuf::BoolValue]
|
297
|
+
# Optional. If true, enable restricted export.
|
298
|
+
# @!attribute [rw] restrict_direct_table_access
|
299
|
+
# @return [::Google::Protobuf::BoolValue]
|
300
|
+
# Optional. If true, restrict direct table access (read
|
301
|
+
# api/tabledata.list) on linked table.
|
302
|
+
# @!attribute [rw] restrict_query_result
|
303
|
+
# @return [::Google::Protobuf::BoolValue]
|
304
|
+
# Optional. If true, restrict export of query result derived from
|
305
|
+
# restricted linked dataset table.
|
306
|
+
class RestrictedExportPolicy
|
307
|
+
include ::Google::Protobuf::MessageExts
|
308
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
309
|
+
end
|
248
310
|
end
|
249
311
|
|
250
312
|
# Restricted export config, used to configure restricted export on linked
|
@@ -605,7 +667,7 @@ module Google
|
|
605
667
|
# Message for subscribing to a listing.
|
606
668
|
# @!attribute [rw] destination_dataset
|
607
669
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset]
|
608
|
-
# BigQuery destination dataset to create for the subscriber.
|
670
|
+
# Input only. BigQuery destination dataset to create for the subscriber.
|
609
671
|
# @!attribute [rw] name
|
610
672
|
# @return [::String]
|
611
673
|
# Required. Resource name of the listing that you want to subscribe to.
|
@@ -690,7 +752,21 @@ module Google
|
|
690
752
|
# e.g. projects/myproject/locations/US
|
691
753
|
# @!attribute [rw] filter
|
692
754
|
# @return [::String]
|
693
|
-
#
|
755
|
+
# An expression for filtering the results of the request. Eligible
|
756
|
+
# fields for filtering are:
|
757
|
+
#
|
758
|
+
# * `listing`
|
759
|
+
# * `data_exchange`
|
760
|
+
#
|
761
|
+
# Alternatively, a literal wrapped in double quotes may be provided.
|
762
|
+
# This will be checked for an exact match against both fields above.
|
763
|
+
#
|
764
|
+
# In all cases, the full Data Exchange or Listing resource name must
|
765
|
+
# be provided. Some example of using filters:
|
766
|
+
#
|
767
|
+
# * data_exchange="projects/myproject/locations/us/dataExchanges/123"
|
768
|
+
# * listing="projects/123/locations/us/dataExchanges/456/listings/789"
|
769
|
+
# * "projects/myproject/locations/us/dataExchanges/123"
|
694
770
|
# @!attribute [rw] page_size
|
695
771
|
# @return [::Integer]
|
696
772
|
# The maximum number of results to return in a single response page.
|
@@ -804,6 +880,22 @@ module Google
|
|
804
880
|
include ::Google::Protobuf::MessageExts
|
805
881
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
806
882
|
end
|
883
|
+
|
884
|
+
# Specifies the type of discovery on the discovery page. Note that
|
885
|
+
# this does not control the visibility of the exchange/listing which is
|
886
|
+
# defined by IAM permission.
|
887
|
+
module DiscoveryType
|
888
|
+
# Unspecified. Defaults to DISCOVERY_TYPE_PRIVATE.
|
889
|
+
DISCOVERY_TYPE_UNSPECIFIED = 0
|
890
|
+
|
891
|
+
# The Data exchange/listing can be discovered in the 'Private' results
|
892
|
+
# list.
|
893
|
+
DISCOVERY_TYPE_PRIVATE = 1
|
894
|
+
|
895
|
+
# The Data exchange/listing can be discovered in the 'Public' results
|
896
|
+
# list.
|
897
|
+
DISCOVERY_TYPE_PUBLIC = 2
|
898
|
+
end
|
807
899
|
end
|
808
900
|
end
|
809
901
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-analytics_hub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|