google-cloud-config_service-v1 0.6.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/config_service/v1/config/client.rb +49 -23
- data/lib/google/cloud/config_service/v1/config/operations.rb +13 -5
- data/lib/google/cloud/config_service/v1/config/rest/client.rb +49 -23
- data/lib/google/cloud/config_service/v1/config/rest/operations.rb +11 -4
- data/lib/google/cloud/config_service/v1/version.rb +1 -1
- 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: 805f4b8a4cd7a5d8c6c675c88c33e41e804af11699ed40377739f55f061ea795
|
|
4
|
+
data.tar.gz: 2e5c03c7b38f649c775f0778cc33606c6e41a925f351700bb44c0c24fd54a049
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2094c036ddfb1a20e712520df9d659e87877e6b98af7e854f266c8a468511179a74121bec8076e81d9995dec0c0cd50971e4c9a45bd8a05f030cbfe2b7851cd9
|
|
7
|
+
data.tar.gz: dc6d3a521ce2f16e1764083c854ddcf433588dc26982f28582172f3346cfe5944e5628b45f09f66e2d08ef9733ab96a3b088c7de6f7b599ed6a96f0ae9da5f43
|
|
@@ -33,6 +33,9 @@ module Google
|
|
|
33
33
|
# management of Google Cloud infrastructure resources.
|
|
34
34
|
#
|
|
35
35
|
class Client
|
|
36
|
+
# @private
|
|
37
|
+
API_VERSION = ""
|
|
38
|
+
|
|
36
39
|
# @private
|
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "config.$UNIVERSE_DOMAIN$"
|
|
38
41
|
|
|
@@ -298,10 +301,11 @@ module Google
|
|
|
298
301
|
# Customize the options with defaults
|
|
299
302
|
metadata = @config.rpcs.list_deployments.metadata.to_h
|
|
300
303
|
|
|
301
|
-
# Set x-goog-api-client
|
|
304
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
302
305
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
303
306
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
304
307
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
308
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
305
309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
306
310
|
|
|
307
311
|
header_params = {}
|
|
@@ -385,10 +389,11 @@ module Google
|
|
|
385
389
|
# Customize the options with defaults
|
|
386
390
|
metadata = @config.rpcs.get_deployment.metadata.to_h
|
|
387
391
|
|
|
388
|
-
# Set x-goog-api-client
|
|
392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
389
393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
390
394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
391
395
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
392
397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
393
398
|
|
|
394
399
|
header_params = {}
|
|
@@ -497,10 +502,11 @@ module Google
|
|
|
497
502
|
# Customize the options with defaults
|
|
498
503
|
metadata = @config.rpcs.create_deployment.metadata.to_h
|
|
499
504
|
|
|
500
|
-
# Set x-goog-api-client
|
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
501
506
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
502
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
503
508
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
509
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
504
510
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
505
511
|
|
|
506
512
|
header_params = {}
|
|
@@ -615,10 +621,11 @@ module Google
|
|
|
615
621
|
# Customize the options with defaults
|
|
616
622
|
metadata = @config.rpcs.update_deployment.metadata.to_h
|
|
617
623
|
|
|
618
|
-
# Set x-goog-api-client
|
|
624
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
619
625
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
620
626
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
621
627
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
628
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
622
629
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
623
630
|
|
|
624
631
|
header_params = {}
|
|
@@ -731,10 +738,11 @@ module Google
|
|
|
731
738
|
# Customize the options with defaults
|
|
732
739
|
metadata = @config.rpcs.delete_deployment.metadata.to_h
|
|
733
740
|
|
|
734
|
-
# Set x-goog-api-client
|
|
741
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
735
742
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
736
743
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
737
744
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
745
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
738
746
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
739
747
|
|
|
740
748
|
header_params = {}
|
|
@@ -854,10 +862,11 @@ module Google
|
|
|
854
862
|
# Customize the options with defaults
|
|
855
863
|
metadata = @config.rpcs.list_revisions.metadata.to_h
|
|
856
864
|
|
|
857
|
-
# Set x-goog-api-client
|
|
865
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
858
866
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
859
867
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
860
868
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
869
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
861
870
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
862
871
|
|
|
863
872
|
header_params = {}
|
|
@@ -941,10 +950,11 @@ module Google
|
|
|
941
950
|
# Customize the options with defaults
|
|
942
951
|
metadata = @config.rpcs.get_revision.metadata.to_h
|
|
943
952
|
|
|
944
|
-
# Set x-goog-api-client
|
|
953
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
945
954
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
946
955
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
947
956
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
957
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
948
958
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
949
959
|
|
|
950
960
|
header_params = {}
|
|
@@ -1028,10 +1038,11 @@ module Google
|
|
|
1028
1038
|
# Customize the options with defaults
|
|
1029
1039
|
metadata = @config.rpcs.get_resource.metadata.to_h
|
|
1030
1040
|
|
|
1031
|
-
# Set x-goog-api-client
|
|
1041
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1032
1042
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1033
1043
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1034
1044
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1045
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1035
1046
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1036
1047
|
|
|
1037
1048
|
header_params = {}
|
|
@@ -1142,10 +1153,11 @@ module Google
|
|
|
1142
1153
|
# Customize the options with defaults
|
|
1143
1154
|
metadata = @config.rpcs.list_resources.metadata.to_h
|
|
1144
1155
|
|
|
1145
|
-
# Set x-goog-api-client
|
|
1156
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1146
1157
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1147
1158
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1148
1159
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1160
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1149
1161
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1150
1162
|
|
|
1151
1163
|
header_params = {}
|
|
@@ -1234,10 +1246,11 @@ module Google
|
|
|
1234
1246
|
# Customize the options with defaults
|
|
1235
1247
|
metadata = @config.rpcs.export_deployment_statefile.metadata.to_h
|
|
1236
1248
|
|
|
1237
|
-
# Set x-goog-api-client
|
|
1249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1238
1250
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1239
1251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1240
1252
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1253
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1241
1254
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1242
1255
|
|
|
1243
1256
|
header_params = {}
|
|
@@ -1321,10 +1334,11 @@ module Google
|
|
|
1321
1334
|
# Customize the options with defaults
|
|
1322
1335
|
metadata = @config.rpcs.export_revision_statefile.metadata.to_h
|
|
1323
1336
|
|
|
1324
|
-
# Set x-goog-api-client
|
|
1337
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1325
1338
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1326
1339
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1327
1340
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1341
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1328
1342
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1329
1343
|
|
|
1330
1344
|
header_params = {}
|
|
@@ -1414,10 +1428,11 @@ module Google
|
|
|
1414
1428
|
# Customize the options with defaults
|
|
1415
1429
|
metadata = @config.rpcs.import_statefile.metadata.to_h
|
|
1416
1430
|
|
|
1417
|
-
# Set x-goog-api-client
|
|
1431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1418
1432
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1419
1433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1420
1434
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1435
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1421
1436
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1422
1437
|
|
|
1423
1438
|
header_params = {}
|
|
@@ -1503,10 +1518,11 @@ module Google
|
|
|
1503
1518
|
# Customize the options with defaults
|
|
1504
1519
|
metadata = @config.rpcs.delete_statefile.metadata.to_h
|
|
1505
1520
|
|
|
1506
|
-
# Set x-goog-api-client
|
|
1521
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1507
1522
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1508
1523
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1509
1524
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1525
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1510
1526
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1511
1527
|
|
|
1512
1528
|
header_params = {}
|
|
@@ -1596,10 +1612,11 @@ module Google
|
|
|
1596
1612
|
# Customize the options with defaults
|
|
1597
1613
|
metadata = @config.rpcs.lock_deployment.metadata.to_h
|
|
1598
1614
|
|
|
1599
|
-
# Set x-goog-api-client
|
|
1615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1600
1616
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1601
1617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1602
1618
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1619
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1603
1620
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1604
1621
|
|
|
1605
1622
|
header_params = {}
|
|
@@ -1692,10 +1709,11 @@ module Google
|
|
|
1692
1709
|
# Customize the options with defaults
|
|
1693
1710
|
metadata = @config.rpcs.unlock_deployment.metadata.to_h
|
|
1694
1711
|
|
|
1695
|
-
# Set x-goog-api-client
|
|
1712
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1696
1713
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1697
1714
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1698
1715
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1716
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1699
1717
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1700
1718
|
|
|
1701
1719
|
header_params = {}
|
|
@@ -1779,10 +1797,11 @@ module Google
|
|
|
1779
1797
|
# Customize the options with defaults
|
|
1780
1798
|
metadata = @config.rpcs.export_lock_info.metadata.to_h
|
|
1781
1799
|
|
|
1782
|
-
# Set x-goog-api-client
|
|
1800
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1783
1801
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1784
1802
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1785
1803
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1804
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1786
1805
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1787
1806
|
|
|
1788
1807
|
header_params = {}
|
|
@@ -1890,10 +1909,11 @@ module Google
|
|
|
1890
1909
|
# Customize the options with defaults
|
|
1891
1910
|
metadata = @config.rpcs.create_preview.metadata.to_h
|
|
1892
1911
|
|
|
1893
|
-
# Set x-goog-api-client
|
|
1912
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1894
1913
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1895
1914
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1896
1915
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
1916
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1897
1917
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1898
1918
|
|
|
1899
1919
|
header_params = {}
|
|
@@ -1977,10 +1997,11 @@ module Google
|
|
|
1977
1997
|
# Customize the options with defaults
|
|
1978
1998
|
metadata = @config.rpcs.get_preview.metadata.to_h
|
|
1979
1999
|
|
|
1980
|
-
# Set x-goog-api-client
|
|
2000
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1981
2001
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1982
2002
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1983
2003
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2004
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1984
2005
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1985
2006
|
|
|
1986
2007
|
header_params = {}
|
|
@@ -2100,10 +2121,11 @@ module Google
|
|
|
2100
2121
|
# Customize the options with defaults
|
|
2101
2122
|
metadata = @config.rpcs.list_previews.metadata.to_h
|
|
2102
2123
|
|
|
2103
|
-
# Set x-goog-api-client
|
|
2124
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2104
2125
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2105
2126
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2106
2127
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2128
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2107
2129
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2108
2130
|
|
|
2109
2131
|
header_params = {}
|
|
@@ -2208,10 +2230,11 @@ module Google
|
|
|
2208
2230
|
# Customize the options with defaults
|
|
2209
2231
|
metadata = @config.rpcs.delete_preview.metadata.to_h
|
|
2210
2232
|
|
|
2211
|
-
# Set x-goog-api-client
|
|
2233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2212
2234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2213
2235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2214
2236
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2215
2238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2216
2239
|
|
|
2217
2240
|
header_params = {}
|
|
@@ -2296,10 +2319,11 @@ module Google
|
|
|
2296
2319
|
# Customize the options with defaults
|
|
2297
2320
|
metadata = @config.rpcs.export_preview_result.metadata.to_h
|
|
2298
2321
|
|
|
2299
|
-
# Set x-goog-api-client
|
|
2322
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2300
2323
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2301
2324
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2302
2325
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2326
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2303
2327
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2304
2328
|
|
|
2305
2329
|
header_params = {}
|
|
@@ -2407,10 +2431,11 @@ module Google
|
|
|
2407
2431
|
# Customize the options with defaults
|
|
2408
2432
|
metadata = @config.rpcs.list_terraform_versions.metadata.to_h
|
|
2409
2433
|
|
|
2410
|
-
# Set x-goog-api-client
|
|
2434
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2411
2435
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2412
2436
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2413
2437
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2438
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2414
2439
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2415
2440
|
|
|
2416
2441
|
header_params = {}
|
|
@@ -2495,10 +2520,11 @@ module Google
|
|
|
2495
2520
|
# Customize the options with defaults
|
|
2496
2521
|
metadata = @config.rpcs.get_terraform_version.metadata.to_h
|
|
2497
2522
|
|
|
2498
|
-
# Set x-goog-api-client
|
|
2523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2499
2524
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2500
2525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2501
2526
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION
|
|
2527
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2502
2528
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2503
2529
|
|
|
2504
2530
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Config
|
|
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 = "config.$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::ConfigService::V1::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::ConfigService::V1::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::ConfigService::V1::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::ConfigService::V1::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::ConfigService::V1::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,
|
|
@@ -35,6 +35,9 @@ module Google
|
|
|
35
35
|
# management of Google Cloud infrastructure resources.
|
|
36
36
|
#
|
|
37
37
|
class Client
|
|
38
|
+
# @private
|
|
39
|
+
API_VERSION = ""
|
|
40
|
+
|
|
38
41
|
# @private
|
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "config.$UNIVERSE_DOMAIN$"
|
|
40
43
|
|
|
@@ -292,12 +295,13 @@ module Google
|
|
|
292
295
|
# Customize the options with defaults
|
|
293
296
|
call_metadata = @config.rpcs.list_deployments.metadata.to_h
|
|
294
297
|
|
|
295
|
-
# Set x-goog-api-client
|
|
298
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
296
299
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
297
300
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
298
301
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
299
302
|
transports_version_send: [:rest]
|
|
300
303
|
|
|
304
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
301
305
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
302
306
|
|
|
303
307
|
options.apply_defaults timeout: @config.rpcs.list_deployments.timeout,
|
|
@@ -371,12 +375,13 @@ module Google
|
|
|
371
375
|
# Customize the options with defaults
|
|
372
376
|
call_metadata = @config.rpcs.get_deployment.metadata.to_h
|
|
373
377
|
|
|
374
|
-
# Set x-goog-api-client
|
|
378
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
375
379
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
376
380
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
377
381
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
378
382
|
transports_version_send: [:rest]
|
|
379
383
|
|
|
384
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
380
385
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
381
386
|
|
|
382
387
|
options.apply_defaults timeout: @config.rpcs.get_deployment.timeout,
|
|
@@ -476,12 +481,13 @@ module Google
|
|
|
476
481
|
# Customize the options with defaults
|
|
477
482
|
call_metadata = @config.rpcs.create_deployment.metadata.to_h
|
|
478
483
|
|
|
479
|
-
# Set x-goog-api-client
|
|
484
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
480
485
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
481
486
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
482
487
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
483
488
|
transports_version_send: [:rest]
|
|
484
489
|
|
|
490
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
485
491
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
486
492
|
|
|
487
493
|
options.apply_defaults timeout: @config.rpcs.create_deployment.timeout,
|
|
@@ -587,12 +593,13 @@ module Google
|
|
|
587
593
|
# Customize the options with defaults
|
|
588
594
|
call_metadata = @config.rpcs.update_deployment.metadata.to_h
|
|
589
595
|
|
|
590
|
-
# Set x-goog-api-client
|
|
596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
591
597
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
592
598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
593
599
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
594
600
|
transports_version_send: [:rest]
|
|
595
601
|
|
|
602
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
596
603
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
597
604
|
|
|
598
605
|
options.apply_defaults timeout: @config.rpcs.update_deployment.timeout,
|
|
@@ -696,12 +703,13 @@ module Google
|
|
|
696
703
|
# Customize the options with defaults
|
|
697
704
|
call_metadata = @config.rpcs.delete_deployment.metadata.to_h
|
|
698
705
|
|
|
699
|
-
# Set x-goog-api-client
|
|
706
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
700
707
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
701
708
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
702
709
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
703
710
|
transports_version_send: [:rest]
|
|
704
711
|
|
|
712
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
705
713
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
706
714
|
|
|
707
715
|
options.apply_defaults timeout: @config.rpcs.delete_deployment.timeout,
|
|
@@ -812,12 +820,13 @@ module Google
|
|
|
812
820
|
# Customize the options with defaults
|
|
813
821
|
call_metadata = @config.rpcs.list_revisions.metadata.to_h
|
|
814
822
|
|
|
815
|
-
# Set x-goog-api-client
|
|
823
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
816
824
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
817
825
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
818
826
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
819
827
|
transports_version_send: [:rest]
|
|
820
828
|
|
|
829
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
821
830
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
822
831
|
|
|
823
832
|
options.apply_defaults timeout: @config.rpcs.list_revisions.timeout,
|
|
@@ -891,12 +900,13 @@ module Google
|
|
|
891
900
|
# Customize the options with defaults
|
|
892
901
|
call_metadata = @config.rpcs.get_revision.metadata.to_h
|
|
893
902
|
|
|
894
|
-
# Set x-goog-api-client
|
|
903
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
895
904
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
896
905
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
897
906
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
898
907
|
transports_version_send: [:rest]
|
|
899
908
|
|
|
909
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
900
910
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
901
911
|
|
|
902
912
|
options.apply_defaults timeout: @config.rpcs.get_revision.timeout,
|
|
@@ -971,12 +981,13 @@ module Google
|
|
|
971
981
|
# Customize the options with defaults
|
|
972
982
|
call_metadata = @config.rpcs.get_resource.metadata.to_h
|
|
973
983
|
|
|
974
|
-
# Set x-goog-api-client
|
|
984
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
975
985
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
976
986
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
977
987
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
978
988
|
transports_version_send: [:rest]
|
|
979
989
|
|
|
990
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
980
991
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
981
992
|
|
|
982
993
|
options.apply_defaults timeout: @config.rpcs.get_resource.timeout,
|
|
@@ -1078,12 +1089,13 @@ module Google
|
|
|
1078
1089
|
# Customize the options with defaults
|
|
1079
1090
|
call_metadata = @config.rpcs.list_resources.metadata.to_h
|
|
1080
1091
|
|
|
1081
|
-
# Set x-goog-api-client
|
|
1092
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1082
1093
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1083
1094
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1084
1095
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1085
1096
|
transports_version_send: [:rest]
|
|
1086
1097
|
|
|
1098
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1087
1099
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1088
1100
|
|
|
1089
1101
|
options.apply_defaults timeout: @config.rpcs.list_resources.timeout,
|
|
@@ -1162,12 +1174,13 @@ module Google
|
|
|
1162
1174
|
# Customize the options with defaults
|
|
1163
1175
|
call_metadata = @config.rpcs.export_deployment_statefile.metadata.to_h
|
|
1164
1176
|
|
|
1165
|
-
# Set x-goog-api-client
|
|
1177
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1166
1178
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1167
1179
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1168
1180
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1169
1181
|
transports_version_send: [:rest]
|
|
1170
1182
|
|
|
1183
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1171
1184
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1172
1185
|
|
|
1173
1186
|
options.apply_defaults timeout: @config.rpcs.export_deployment_statefile.timeout,
|
|
@@ -1242,12 +1255,13 @@ module Google
|
|
|
1242
1255
|
# Customize the options with defaults
|
|
1243
1256
|
call_metadata = @config.rpcs.export_revision_statefile.metadata.to_h
|
|
1244
1257
|
|
|
1245
|
-
# Set x-goog-api-client
|
|
1258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1246
1259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1247
1260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1248
1261
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1249
1262
|
transports_version_send: [:rest]
|
|
1250
1263
|
|
|
1264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1251
1265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1252
1266
|
|
|
1253
1267
|
options.apply_defaults timeout: @config.rpcs.export_revision_statefile.timeout,
|
|
@@ -1328,12 +1342,13 @@ module Google
|
|
|
1328
1342
|
# Customize the options with defaults
|
|
1329
1343
|
call_metadata = @config.rpcs.import_statefile.metadata.to_h
|
|
1330
1344
|
|
|
1331
|
-
# Set x-goog-api-client
|
|
1345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1332
1346
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1333
1347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1334
1348
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1335
1349
|
transports_version_send: [:rest]
|
|
1336
1350
|
|
|
1351
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1337
1352
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1338
1353
|
|
|
1339
1354
|
options.apply_defaults timeout: @config.rpcs.import_statefile.timeout,
|
|
@@ -1410,12 +1425,13 @@ module Google
|
|
|
1410
1425
|
# Customize the options with defaults
|
|
1411
1426
|
call_metadata = @config.rpcs.delete_statefile.metadata.to_h
|
|
1412
1427
|
|
|
1413
|
-
# Set x-goog-api-client
|
|
1428
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1414
1429
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1415
1430
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1416
1431
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1417
1432
|
transports_version_send: [:rest]
|
|
1418
1433
|
|
|
1434
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1419
1435
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1420
1436
|
|
|
1421
1437
|
options.apply_defaults timeout: @config.rpcs.delete_statefile.timeout,
|
|
@@ -1496,12 +1512,13 @@ module Google
|
|
|
1496
1512
|
# Customize the options with defaults
|
|
1497
1513
|
call_metadata = @config.rpcs.lock_deployment.metadata.to_h
|
|
1498
1514
|
|
|
1499
|
-
# Set x-goog-api-client
|
|
1515
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1500
1516
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1501
1517
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1502
1518
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1503
1519
|
transports_version_send: [:rest]
|
|
1504
1520
|
|
|
1521
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1505
1522
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1506
1523
|
|
|
1507
1524
|
options.apply_defaults timeout: @config.rpcs.lock_deployment.timeout,
|
|
@@ -1585,12 +1602,13 @@ module Google
|
|
|
1585
1602
|
# Customize the options with defaults
|
|
1586
1603
|
call_metadata = @config.rpcs.unlock_deployment.metadata.to_h
|
|
1587
1604
|
|
|
1588
|
-
# Set x-goog-api-client
|
|
1605
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1589
1606
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1590
1607
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1591
1608
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1592
1609
|
transports_version_send: [:rest]
|
|
1593
1610
|
|
|
1611
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1594
1612
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1595
1613
|
|
|
1596
1614
|
options.apply_defaults timeout: @config.rpcs.unlock_deployment.timeout,
|
|
@@ -1665,12 +1683,13 @@ module Google
|
|
|
1665
1683
|
# Customize the options with defaults
|
|
1666
1684
|
call_metadata = @config.rpcs.export_lock_info.metadata.to_h
|
|
1667
1685
|
|
|
1668
|
-
# Set x-goog-api-client
|
|
1686
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1669
1687
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1670
1688
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1671
1689
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1672
1690
|
transports_version_send: [:rest]
|
|
1673
1691
|
|
|
1692
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1674
1693
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1675
1694
|
|
|
1676
1695
|
options.apply_defaults timeout: @config.rpcs.export_lock_info.timeout,
|
|
@@ -1769,12 +1788,13 @@ module Google
|
|
|
1769
1788
|
# Customize the options with defaults
|
|
1770
1789
|
call_metadata = @config.rpcs.create_preview.metadata.to_h
|
|
1771
1790
|
|
|
1772
|
-
# Set x-goog-api-client
|
|
1791
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1773
1792
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1774
1793
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1775
1794
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1776
1795
|
transports_version_send: [:rest]
|
|
1777
1796
|
|
|
1797
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1778
1798
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1779
1799
|
|
|
1780
1800
|
options.apply_defaults timeout: @config.rpcs.create_preview.timeout,
|
|
@@ -1849,12 +1869,13 @@ module Google
|
|
|
1849
1869
|
# Customize the options with defaults
|
|
1850
1870
|
call_metadata = @config.rpcs.get_preview.metadata.to_h
|
|
1851
1871
|
|
|
1852
|
-
# Set x-goog-api-client
|
|
1872
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1853
1873
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1854
1874
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1855
1875
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1856
1876
|
transports_version_send: [:rest]
|
|
1857
1877
|
|
|
1878
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1858
1879
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1859
1880
|
|
|
1860
1881
|
options.apply_defaults timeout: @config.rpcs.get_preview.timeout,
|
|
@@ -1965,12 +1986,13 @@ module Google
|
|
|
1965
1986
|
# Customize the options with defaults
|
|
1966
1987
|
call_metadata = @config.rpcs.list_previews.metadata.to_h
|
|
1967
1988
|
|
|
1968
|
-
# Set x-goog-api-client
|
|
1989
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1969
1990
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1970
1991
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1971
1992
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
1972
1993
|
transports_version_send: [:rest]
|
|
1973
1994
|
|
|
1995
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1974
1996
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1975
1997
|
|
|
1976
1998
|
options.apply_defaults timeout: @config.rpcs.list_previews.timeout,
|
|
@@ -2065,12 +2087,13 @@ module Google
|
|
|
2065
2087
|
# Customize the options with defaults
|
|
2066
2088
|
call_metadata = @config.rpcs.delete_preview.metadata.to_h
|
|
2067
2089
|
|
|
2068
|
-
# Set x-goog-api-client
|
|
2090
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2069
2091
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2070
2092
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2071
2093
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
2072
2094
|
transports_version_send: [:rest]
|
|
2073
2095
|
|
|
2096
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2074
2097
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2075
2098
|
|
|
2076
2099
|
options.apply_defaults timeout: @config.rpcs.delete_preview.timeout,
|
|
@@ -2146,12 +2169,13 @@ module Google
|
|
|
2146
2169
|
# Customize the options with defaults
|
|
2147
2170
|
call_metadata = @config.rpcs.export_preview_result.metadata.to_h
|
|
2148
2171
|
|
|
2149
|
-
# Set x-goog-api-client
|
|
2172
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2150
2173
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2151
2174
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2152
2175
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
2153
2176
|
transports_version_send: [:rest]
|
|
2154
2177
|
|
|
2178
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2155
2179
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2156
2180
|
|
|
2157
2181
|
options.apply_defaults timeout: @config.rpcs.export_preview_result.timeout,
|
|
@@ -2250,12 +2274,13 @@ module Google
|
|
|
2250
2274
|
# Customize the options with defaults
|
|
2251
2275
|
call_metadata = @config.rpcs.list_terraform_versions.metadata.to_h
|
|
2252
2276
|
|
|
2253
|
-
# Set x-goog-api-client
|
|
2277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2254
2278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2255
2279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2256
2280
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
2257
2281
|
transports_version_send: [:rest]
|
|
2258
2282
|
|
|
2283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2259
2284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2260
2285
|
|
|
2261
2286
|
options.apply_defaults timeout: @config.rpcs.list_terraform_versions.timeout,
|
|
@@ -2330,12 +2355,13 @@ module Google
|
|
|
2330
2355
|
# Customize the options with defaults
|
|
2331
2356
|
call_metadata = @config.rpcs.get_terraform_version.metadata.to_h
|
|
2332
2357
|
|
|
2333
|
-
# Set x-goog-api-client
|
|
2358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2334
2359
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2335
2360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2336
2361
|
gapic_version: ::Google::Cloud::ConfigService::V1::VERSION,
|
|
2337
2362
|
transports_version_send: [:rest]
|
|
2338
2363
|
|
|
2364
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2339
2365
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2340
2366
|
|
|
2341
2367
|
options.apply_defaults timeout: @config.rpcs.get_terraform_version.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 = "config.$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::ConfigService::V1::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::ConfigService::V1::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::ConfigService::V1::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::ConfigService::V1::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,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-config_service-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.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-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|