google-cloud-metastore-v1beta 0.13.0 → 0.13.1
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/metastore/v1beta/dataproc_metastore/client.rb +41 -19
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +13 -5
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb +41 -19
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb +11 -4
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +13 -5
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +13 -5
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb +13 -5
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb +11 -4
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -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: 791e8817365e1551c7a3a5af7fa870bd3673bad6c70836e4e6808f2a1a922d17
|
4
|
+
data.tar.gz: 2bee8640f2e82e1dcc55a4b0992aeada245f2df0b0978e1b1553084cf742365f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2812fa7f3ad226e8480f3d3bfa60c07b52dd5e73aa9a6fabd0e76926affe68732044cf06146233ca19426c183a3dd8e408364304e6277ef224b1216bdbcbb8d
|
7
|
+
data.tar.gz: 89525dc7de32203514bee177604e10e0ed08ecebf992fad9f26a4d9d1ac62a0b27abfc54f591d2be7df356f4cf2f706f6b8f50228415f92ec566de1e45b182b1
|
@@ -48,6 +48,9 @@ module Google
|
|
48
48
|
# `/projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
49
49
|
#
|
50
50
|
class Client
|
51
|
+
# @private
|
52
|
+
API_VERSION = ""
|
53
|
+
|
51
54
|
# @private
|
52
55
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
53
56
|
|
@@ -326,10 +329,11 @@ module Google
|
|
326
329
|
# Customize the options with defaults
|
327
330
|
metadata = @config.rpcs.list_services.metadata.to_h
|
328
331
|
|
329
|
-
# Set x-goog-api-client
|
332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
330
333
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
331
334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
332
335
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
336
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
333
337
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
334
338
|
|
335
339
|
header_params = {}
|
@@ -415,10 +419,11 @@ module Google
|
|
415
419
|
# Customize the options with defaults
|
416
420
|
metadata = @config.rpcs.get_service.metadata.to_h
|
417
421
|
|
418
|
-
# Set x-goog-api-client
|
422
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
419
423
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
420
424
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
421
425
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
426
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
422
427
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
423
428
|
|
424
429
|
header_params = {}
|
@@ -534,10 +539,11 @@ module Google
|
|
534
539
|
# Customize the options with defaults
|
535
540
|
metadata = @config.rpcs.create_service.metadata.to_h
|
536
541
|
|
537
|
-
# Set x-goog-api-client
|
542
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
538
543
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
539
544
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
540
545
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
546
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
541
547
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
542
548
|
|
543
549
|
header_params = {}
|
@@ -649,10 +655,11 @@ module Google
|
|
649
655
|
# Customize the options with defaults
|
650
656
|
metadata = @config.rpcs.update_service.metadata.to_h
|
651
657
|
|
652
|
-
# Set x-goog-api-client
|
658
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
653
659
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
654
660
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
655
661
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
662
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
656
663
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
657
664
|
|
658
665
|
header_params = {}
|
@@ -758,10 +765,11 @@ module Google
|
|
758
765
|
# Customize the options with defaults
|
759
766
|
metadata = @config.rpcs.delete_service.metadata.to_h
|
760
767
|
|
761
|
-
# Set x-goog-api-client
|
768
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
762
769
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
763
770
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
764
771
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
772
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
765
773
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
766
774
|
|
767
775
|
header_params = {}
|
@@ -871,10 +879,11 @@ module Google
|
|
871
879
|
# Customize the options with defaults
|
872
880
|
metadata = @config.rpcs.list_metadata_imports.metadata.to_h
|
873
881
|
|
874
|
-
# Set x-goog-api-client
|
882
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
875
883
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
876
884
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
877
885
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
886
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
878
887
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
879
888
|
|
880
889
|
header_params = {}
|
@@ -960,10 +969,11 @@ module Google
|
|
960
969
|
# Customize the options with defaults
|
961
970
|
metadata = @config.rpcs.get_metadata_import.metadata.to_h
|
962
971
|
|
963
|
-
# Set x-goog-api-client
|
972
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
964
973
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
965
974
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
966
975
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
976
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
967
977
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
968
978
|
|
969
979
|
header_params = {}
|
@@ -1079,10 +1089,11 @@ module Google
|
|
1079
1089
|
# Customize the options with defaults
|
1080
1090
|
metadata = @config.rpcs.create_metadata_import.metadata.to_h
|
1081
1091
|
|
1082
|
-
# Set x-goog-api-client
|
1092
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1083
1093
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1084
1094
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1085
1095
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1096
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1086
1097
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1087
1098
|
|
1088
1099
|
header_params = {}
|
@@ -1195,10 +1206,11 @@ module Google
|
|
1195
1206
|
# Customize the options with defaults
|
1196
1207
|
metadata = @config.rpcs.update_metadata_import.metadata.to_h
|
1197
1208
|
|
1198
|
-
# Set x-goog-api-client
|
1209
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1199
1210
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1200
1211
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1201
1212
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1213
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1202
1214
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1203
1215
|
|
1204
1216
|
header_params = {}
|
@@ -1311,10 +1323,11 @@ module Google
|
|
1311
1323
|
# Customize the options with defaults
|
1312
1324
|
metadata = @config.rpcs.export_metadata.metadata.to_h
|
1313
1325
|
|
1314
|
-
# Set x-goog-api-client
|
1326
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1315
1327
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1316
1328
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1317
1329
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1330
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1318
1331
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1319
1332
|
|
1320
1333
|
header_params = {}
|
@@ -1427,10 +1440,11 @@ module Google
|
|
1427
1440
|
# Customize the options with defaults
|
1428
1441
|
metadata = @config.rpcs.restore_service.metadata.to_h
|
1429
1442
|
|
1430
|
-
# Set x-goog-api-client
|
1443
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1431
1444
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1432
1445
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1433
1446
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1447
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1434
1448
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1435
1449
|
|
1436
1450
|
header_params = {}
|
@@ -1540,10 +1554,11 @@ module Google
|
|
1540
1554
|
# Customize the options with defaults
|
1541
1555
|
metadata = @config.rpcs.list_backups.metadata.to_h
|
1542
1556
|
|
1543
|
-
# Set x-goog-api-client
|
1557
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1544
1558
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1545
1559
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1546
1560
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1561
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1547
1562
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1548
1563
|
|
1549
1564
|
header_params = {}
|
@@ -1629,10 +1644,11 @@ module Google
|
|
1629
1644
|
# Customize the options with defaults
|
1630
1645
|
metadata = @config.rpcs.get_backup.metadata.to_h
|
1631
1646
|
|
1632
|
-
# Set x-goog-api-client
|
1647
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1633
1648
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1634
1649
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1635
1650
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1651
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1636
1652
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1637
1653
|
|
1638
1654
|
header_params = {}
|
@@ -1747,10 +1763,11 @@ module Google
|
|
1747
1763
|
# Customize the options with defaults
|
1748
1764
|
metadata = @config.rpcs.create_backup.metadata.to_h
|
1749
1765
|
|
1750
|
-
# Set x-goog-api-client
|
1766
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1751
1767
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1752
1768
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1753
1769
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1770
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1754
1771
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1755
1772
|
|
1756
1773
|
header_params = {}
|
@@ -1856,10 +1873,11 @@ module Google
|
|
1856
1873
|
# Customize the options with defaults
|
1857
1874
|
metadata = @config.rpcs.delete_backup.metadata.to_h
|
1858
1875
|
|
1859
|
-
# Set x-goog-api-client
|
1876
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1860
1877
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1861
1878
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1862
1879
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1880
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1863
1881
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1864
1882
|
|
1865
1883
|
header_params = {}
|
@@ -1950,10 +1968,11 @@ module Google
|
|
1950
1968
|
# Customize the options with defaults
|
1951
1969
|
metadata = @config.rpcs.remove_iam_policy.metadata.to_h
|
1952
1970
|
|
1953
|
-
# Set x-goog-api-client
|
1971
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1954
1972
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1955
1973
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1956
1974
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
1975
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1957
1976
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1958
1977
|
|
1959
1978
|
header_params = {}
|
@@ -2048,10 +2067,11 @@ module Google
|
|
2048
2067
|
# Customize the options with defaults
|
2049
2068
|
metadata = @config.rpcs.query_metadata.metadata.to_h
|
2050
2069
|
|
2051
|
-
# Set x-goog-api-client
|
2070
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2052
2071
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2053
2072
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2054
2073
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
2074
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2055
2075
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2056
2076
|
|
2057
2077
|
header_params = {}
|
@@ -2150,10 +2170,11 @@ module Google
|
|
2150
2170
|
# Customize the options with defaults
|
2151
2171
|
metadata = @config.rpcs.move_table_to_database.metadata.to_h
|
2152
2172
|
|
2153
|
-
# Set x-goog-api-client
|
2173
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2154
2174
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2155
2175
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2156
2176
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
2177
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2157
2178
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2158
2179
|
|
2159
2180
|
header_params = {}
|
@@ -2259,10 +2280,11 @@ module Google
|
|
2259
2280
|
# Customize the options with defaults
|
2260
2281
|
metadata = @config.rpcs.alter_metadata_resource_location.metadata.to_h
|
2261
2282
|
|
2262
|
-
# Set x-goog-api-client
|
2283
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2263
2284
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2264
2285
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2265
2286
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
2287
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2266
2288
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2267
2289
|
|
2268
2290
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module DataprocMetastore
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -50,6 +50,9 @@ module Google
|
|
50
50
|
# `/projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
51
51
|
#
|
52
52
|
class Client
|
53
|
+
# @private
|
54
|
+
API_VERSION = ""
|
55
|
+
|
53
56
|
# @private
|
54
57
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
55
58
|
|
@@ -320,12 +323,13 @@ module Google
|
|
320
323
|
# Customize the options with defaults
|
321
324
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
322
325
|
|
323
|
-
# Set x-goog-api-client
|
326
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
324
327
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
325
328
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
326
329
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
327
330
|
transports_version_send: [:rest]
|
328
331
|
|
332
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
329
333
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
330
334
|
|
331
335
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -401,12 +405,13 @@ module Google
|
|
401
405
|
# Customize the options with defaults
|
402
406
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
403
407
|
|
404
|
-
# Set x-goog-api-client
|
408
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
405
409
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
406
410
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
407
411
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
408
412
|
transports_version_send: [:rest]
|
409
413
|
|
414
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
410
415
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
411
416
|
|
412
417
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
@@ -513,12 +518,13 @@ module Google
|
|
513
518
|
# Customize the options with defaults
|
514
519
|
call_metadata = @config.rpcs.create_service.metadata.to_h
|
515
520
|
|
516
|
-
# Set x-goog-api-client
|
521
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
517
522
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
518
523
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
519
524
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
520
525
|
transports_version_send: [:rest]
|
521
526
|
|
527
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
522
528
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
523
529
|
|
524
530
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
@@ -621,12 +627,13 @@ module Google
|
|
621
627
|
# Customize the options with defaults
|
622
628
|
call_metadata = @config.rpcs.update_service.metadata.to_h
|
623
629
|
|
624
|
-
# Set x-goog-api-client
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
625
631
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
626
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
627
633
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
628
634
|
transports_version_send: [:rest]
|
629
635
|
|
636
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
630
637
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
631
638
|
|
632
639
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
@@ -723,12 +730,13 @@ module Google
|
|
723
730
|
# Customize the options with defaults
|
724
731
|
call_metadata = @config.rpcs.delete_service.metadata.to_h
|
725
732
|
|
726
|
-
# Set x-goog-api-client
|
733
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
727
734
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
728
735
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
729
736
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
730
737
|
transports_version_send: [:rest]
|
731
738
|
|
739
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
732
740
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
733
741
|
|
734
742
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
@@ -829,12 +837,13 @@ module Google
|
|
829
837
|
# Customize the options with defaults
|
830
838
|
call_metadata = @config.rpcs.list_metadata_imports.metadata.to_h
|
831
839
|
|
832
|
-
# Set x-goog-api-client
|
840
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
833
841
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
834
842
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
835
843
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
836
844
|
transports_version_send: [:rest]
|
837
845
|
|
846
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
838
847
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
839
848
|
|
840
849
|
options.apply_defaults timeout: @config.rpcs.list_metadata_imports.timeout,
|
@@ -910,12 +919,13 @@ module Google
|
|
910
919
|
# Customize the options with defaults
|
911
920
|
call_metadata = @config.rpcs.get_metadata_import.metadata.to_h
|
912
921
|
|
913
|
-
# Set x-goog-api-client
|
922
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
914
923
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
915
924
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
916
925
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
917
926
|
transports_version_send: [:rest]
|
918
927
|
|
928
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
919
929
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
920
930
|
|
921
931
|
options.apply_defaults timeout: @config.rpcs.get_metadata_import.timeout,
|
@@ -1022,12 +1032,13 @@ module Google
|
|
1022
1032
|
# Customize the options with defaults
|
1023
1033
|
call_metadata = @config.rpcs.create_metadata_import.metadata.to_h
|
1024
1034
|
|
1025
|
-
# Set x-goog-api-client
|
1035
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1026
1036
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1027
1037
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1028
1038
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1029
1039
|
transports_version_send: [:rest]
|
1030
1040
|
|
1041
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1031
1042
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1032
1043
|
|
1033
1044
|
options.apply_defaults timeout: @config.rpcs.create_metadata_import.timeout,
|
@@ -1131,12 +1142,13 @@ module Google
|
|
1131
1142
|
# Customize the options with defaults
|
1132
1143
|
call_metadata = @config.rpcs.update_metadata_import.metadata.to_h
|
1133
1144
|
|
1134
|
-
# Set x-goog-api-client
|
1145
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1135
1146
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1136
1147
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1137
1148
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1138
1149
|
transports_version_send: [:rest]
|
1139
1150
|
|
1151
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1140
1152
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1141
1153
|
|
1142
1154
|
options.apply_defaults timeout: @config.rpcs.update_metadata_import.timeout,
|
@@ -1240,12 +1252,13 @@ module Google
|
|
1240
1252
|
# Customize the options with defaults
|
1241
1253
|
call_metadata = @config.rpcs.export_metadata.metadata.to_h
|
1242
1254
|
|
1243
|
-
# Set x-goog-api-client
|
1255
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1244
1256
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1245
1257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1246
1258
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1247
1259
|
transports_version_send: [:rest]
|
1248
1260
|
|
1261
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1249
1262
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1250
1263
|
|
1251
1264
|
options.apply_defaults timeout: @config.rpcs.export_metadata.timeout,
|
@@ -1349,12 +1362,13 @@ module Google
|
|
1349
1362
|
# Customize the options with defaults
|
1350
1363
|
call_metadata = @config.rpcs.restore_service.metadata.to_h
|
1351
1364
|
|
1352
|
-
# Set x-goog-api-client
|
1365
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1353
1366
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1354
1367
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1355
1368
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1356
1369
|
transports_version_send: [:rest]
|
1357
1370
|
|
1371
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1358
1372
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1359
1373
|
|
1360
1374
|
options.apply_defaults timeout: @config.rpcs.restore_service.timeout,
|
@@ -1455,12 +1469,13 @@ module Google
|
|
1455
1469
|
# Customize the options with defaults
|
1456
1470
|
call_metadata = @config.rpcs.list_backups.metadata.to_h
|
1457
1471
|
|
1458
|
-
# Set x-goog-api-client
|
1472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1459
1473
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1460
1474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1461
1475
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1462
1476
|
transports_version_send: [:rest]
|
1463
1477
|
|
1478
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1464
1479
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1465
1480
|
|
1466
1481
|
options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
|
@@ -1536,12 +1551,13 @@ module Google
|
|
1536
1551
|
# Customize the options with defaults
|
1537
1552
|
call_metadata = @config.rpcs.get_backup.metadata.to_h
|
1538
1553
|
|
1539
|
-
# Set x-goog-api-client
|
1554
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1540
1555
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1541
1556
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1542
1557
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1543
1558
|
transports_version_send: [:rest]
|
1544
1559
|
|
1560
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1545
1561
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1546
1562
|
|
1547
1563
|
options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
|
@@ -1647,12 +1663,13 @@ module Google
|
|
1647
1663
|
# Customize the options with defaults
|
1648
1664
|
call_metadata = @config.rpcs.create_backup.metadata.to_h
|
1649
1665
|
|
1650
|
-
# Set x-goog-api-client
|
1666
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1651
1667
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1652
1668
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1653
1669
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1654
1670
|
transports_version_send: [:rest]
|
1655
1671
|
|
1672
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1656
1673
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1657
1674
|
|
1658
1675
|
options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
|
@@ -1749,12 +1766,13 @@ module Google
|
|
1749
1766
|
# Customize the options with defaults
|
1750
1767
|
call_metadata = @config.rpcs.delete_backup.metadata.to_h
|
1751
1768
|
|
1752
|
-
# Set x-goog-api-client
|
1769
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1753
1770
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1754
1771
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1755
1772
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1756
1773
|
transports_version_send: [:rest]
|
1757
1774
|
|
1775
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1758
1776
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1759
1777
|
|
1760
1778
|
options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
|
@@ -1836,12 +1854,13 @@ module Google
|
|
1836
1854
|
# Customize the options with defaults
|
1837
1855
|
call_metadata = @config.rpcs.remove_iam_policy.metadata.to_h
|
1838
1856
|
|
1839
|
-
# Set x-goog-api-client
|
1857
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1840
1858
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1841
1859
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1842
1860
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1843
1861
|
transports_version_send: [:rest]
|
1844
1862
|
|
1863
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1845
1864
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1846
1865
|
|
1847
1866
|
options.apply_defaults timeout: @config.rpcs.remove_iam_policy.timeout,
|
@@ -1927,12 +1946,13 @@ module Google
|
|
1927
1946
|
# Customize the options with defaults
|
1928
1947
|
call_metadata = @config.rpcs.query_metadata.metadata.to_h
|
1929
1948
|
|
1930
|
-
# Set x-goog-api-client
|
1949
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1931
1950
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1932
1951
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1933
1952
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
1934
1953
|
transports_version_send: [:rest]
|
1935
1954
|
|
1955
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1936
1956
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1937
1957
|
|
1938
1958
|
options.apply_defaults timeout: @config.rpcs.query_metadata.timeout,
|
@@ -2022,12 +2042,13 @@ module Google
|
|
2022
2042
|
# Customize the options with defaults
|
2023
2043
|
call_metadata = @config.rpcs.move_table_to_database.metadata.to_h
|
2024
2044
|
|
2025
|
-
# Set x-goog-api-client
|
2045
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2026
2046
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2027
2047
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2028
2048
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
2029
2049
|
transports_version_send: [:rest]
|
2030
2050
|
|
2051
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2031
2052
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2032
2053
|
|
2033
2054
|
options.apply_defaults timeout: @config.rpcs.move_table_to_database.timeout,
|
@@ -2124,12 +2145,13 @@ module Google
|
|
2124
2145
|
# Customize the options with defaults
|
2125
2146
|
call_metadata = @config.rpcs.alter_metadata_resource_location.metadata.to_h
|
2126
2147
|
|
2127
|
-
# Set x-goog-api-client
|
2148
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2128
2149
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2129
2150
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2130
2151
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
2131
2152
|
transports_version_send: [:rest]
|
2132
2153
|
|
2154
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2133
2155
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2134
2156
|
|
2135
2157
|
options.apply_defaults timeout: @config.rpcs.alter_metadata_resource_location.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -44,6 +44,9 @@ module Google
|
|
44
44
|
# `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
|
45
45
|
#
|
46
46
|
class Client
|
47
|
+
# @private
|
48
|
+
API_VERSION = ""
|
49
|
+
|
47
50
|
# @private
|
48
51
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
49
52
|
|
@@ -297,10 +300,11 @@ module Google
|
|
297
300
|
# Customize the options with defaults
|
298
301
|
metadata = @config.rpcs.list_federations.metadata.to_h
|
299
302
|
|
300
|
-
# Set x-goog-api-client
|
303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
304
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
306
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
307
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
304
308
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
305
309
|
|
306
310
|
header_params = {}
|
@@ -386,10 +390,11 @@ module Google
|
|
386
390
|
# Customize the options with defaults
|
387
391
|
metadata = @config.rpcs.get_federation.metadata.to_h
|
388
392
|
|
389
|
-
# Set x-goog-api-client
|
393
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
390
394
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
391
395
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
392
396
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
397
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
393
398
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
394
399
|
|
395
400
|
header_params = {}
|
@@ -505,10 +510,11 @@ module Google
|
|
505
510
|
# Customize the options with defaults
|
506
511
|
metadata = @config.rpcs.create_federation.metadata.to_h
|
507
512
|
|
508
|
-
# Set x-goog-api-client
|
513
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
509
514
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
510
515
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
511
516
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
517
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
512
518
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
519
|
|
514
520
|
header_params = {}
|
@@ -620,10 +626,11 @@ module Google
|
|
620
626
|
# Customize the options with defaults
|
621
627
|
metadata = @config.rpcs.update_federation.metadata.to_h
|
622
628
|
|
623
|
-
# Set x-goog-api-client
|
629
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
624
630
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
625
631
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
626
632
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
633
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
634
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
635
|
|
629
636
|
header_params = {}
|
@@ -729,10 +736,11 @@ module Google
|
|
729
736
|
# Customize the options with defaults
|
730
737
|
metadata = @config.rpcs.delete_federation.metadata.to_h
|
731
738
|
|
732
|
-
# Set x-goog-api-client
|
739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
733
740
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
734
741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
735
742
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
743
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
736
744
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
737
745
|
|
738
746
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module DataprocMetastoreFederation
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -46,6 +46,9 @@ module Google
|
|
46
46
|
# `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
|
47
47
|
#
|
48
48
|
class Client
|
49
|
+
# @private
|
50
|
+
API_VERSION = ""
|
51
|
+
|
49
52
|
# @private
|
50
53
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
51
54
|
|
@@ -291,12 +294,13 @@ module Google
|
|
291
294
|
# Customize the options with defaults
|
292
295
|
call_metadata = @config.rpcs.list_federations.metadata.to_h
|
293
296
|
|
294
|
-
# Set x-goog-api-client
|
297
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
295
298
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
296
299
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
297
300
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
298
301
|
transports_version_send: [:rest]
|
299
302
|
|
303
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
300
304
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
301
305
|
|
302
306
|
options.apply_defaults timeout: @config.rpcs.list_federations.timeout,
|
@@ -372,12 +376,13 @@ module Google
|
|
372
376
|
# Customize the options with defaults
|
373
377
|
call_metadata = @config.rpcs.get_federation.metadata.to_h
|
374
378
|
|
375
|
-
# Set x-goog-api-client
|
379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
376
380
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
377
381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
378
382
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
379
383
|
transports_version_send: [:rest]
|
380
384
|
|
385
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
381
386
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
382
387
|
|
383
388
|
options.apply_defaults timeout: @config.rpcs.get_federation.timeout,
|
@@ -484,12 +489,13 @@ module Google
|
|
484
489
|
# Customize the options with defaults
|
485
490
|
call_metadata = @config.rpcs.create_federation.metadata.to_h
|
486
491
|
|
487
|
-
# Set x-goog-api-client
|
492
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
488
493
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
489
494
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
490
495
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
491
496
|
transports_version_send: [:rest]
|
492
497
|
|
498
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
493
499
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
494
500
|
|
495
501
|
options.apply_defaults timeout: @config.rpcs.create_federation.timeout,
|
@@ -592,12 +598,13 @@ module Google
|
|
592
598
|
# Customize the options with defaults
|
593
599
|
call_metadata = @config.rpcs.update_federation.metadata.to_h
|
594
600
|
|
595
|
-
# Set x-goog-api-client
|
601
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
596
602
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
597
603
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
598
604
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
599
605
|
transports_version_send: [:rest]
|
600
606
|
|
607
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
601
608
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
602
609
|
|
603
610
|
options.apply_defaults timeout: @config.rpcs.update_federation.timeout,
|
@@ -694,12 +701,13 @@ module Google
|
|
694
701
|
# Customize the options with defaults
|
695
702
|
call_metadata = @config.rpcs.delete_federation.metadata.to_h
|
696
703
|
|
697
|
-
# Set x-goog-api-client
|
704
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
698
705
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
699
706
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
700
707
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
701
708
|
transports_version_send: [:rest]
|
702
709
|
|
710
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
703
711
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
704
712
|
|
705
713
|
options.apply_defaults timeout: @config.rpcs.delete_federation.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "metastore.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Metastore::V1beta::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-metastore-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
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-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|