google-cloud-deploy-v1 0.19.0 → 0.19.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/deploy/v1/cloud_deploy/client.rb +83 -40
- data/lib/google/cloud/deploy/v1/cloud_deploy/operations.rb +13 -5
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb +83 -40
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/operations.rb +11 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +1 -1
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +24 -14
- 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: ad86c91975b493c02c111eefb2a83b1d18fb7e415d1f2f49e1eb0638b4380ee5
|
4
|
+
data.tar.gz: b2a3152b3e7e11012b29cd1725aa57231bd81e20de0484ccba499defe71ea01b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda03a9187a3af0684f654b2a363727fbca074099799ff6d8b682546948cbf7300faffc3821a68f8431b6f70e6c5e8122555b1200ed44e156e8af8113f96ec59
|
7
|
+
data.tar.gz: 80b8c2f8eb0322c91fe4300462f4da0461c30b408ad1875da5c59a2e17b3561f85231d64be98f5645a835cb0f3a7ab856e1dd9a837f405cf94e2748ec2aba8ec
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# on Google Cloud Platform via Skaffold (https://skaffold.dev).
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "clouddeploy.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -410,10 +413,11 @@ module Google
|
|
410
413
|
# Customize the options with defaults
|
411
414
|
metadata = @config.rpcs.list_delivery_pipelines.metadata.to_h
|
412
415
|
|
413
|
-
# Set x-goog-api-client
|
416
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
414
417
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
415
418
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
416
419
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
420
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
417
421
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
418
422
|
|
419
423
|
header_params = {}
|
@@ -497,10 +501,11 @@ module Google
|
|
497
501
|
# Customize the options with defaults
|
498
502
|
metadata = @config.rpcs.get_delivery_pipeline.metadata.to_h
|
499
503
|
|
500
|
-
# Set x-goog-api-client
|
504
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
501
505
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
502
506
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
503
507
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
508
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
504
509
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
505
510
|
|
506
511
|
header_params = {}
|
@@ -612,10 +617,11 @@ module Google
|
|
612
617
|
# Customize the options with defaults
|
613
618
|
metadata = @config.rpcs.create_delivery_pipeline.metadata.to_h
|
614
619
|
|
615
|
-
# Set x-goog-api-client
|
620
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
616
621
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
617
622
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
618
623
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
624
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
619
625
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
620
626
|
|
621
627
|
header_params = {}
|
@@ -731,10 +737,11 @@ module Google
|
|
731
737
|
# Customize the options with defaults
|
732
738
|
metadata = @config.rpcs.update_delivery_pipeline.metadata.to_h
|
733
739
|
|
734
|
-
# Set x-goog-api-client
|
740
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
735
741
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
736
742
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
737
743
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
744
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
738
745
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
739
746
|
|
740
747
|
header_params = {}
|
@@ -853,10 +860,11 @@ module Google
|
|
853
860
|
# Customize the options with defaults
|
854
861
|
metadata = @config.rpcs.delete_delivery_pipeline.metadata.to_h
|
855
862
|
|
856
|
-
# Set x-goog-api-client
|
863
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
857
864
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
858
865
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
859
866
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
867
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
860
868
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
861
869
|
|
862
870
|
header_params = {}
|
@@ -961,10 +969,11 @@ module Google
|
|
961
969
|
# Customize the options with defaults
|
962
970
|
metadata = @config.rpcs.list_targets.metadata.to_h
|
963
971
|
|
964
|
-
# Set x-goog-api-client
|
972
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
965
973
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
966
974
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
967
975
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
976
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
968
977
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
969
978
|
|
970
979
|
header_params = {}
|
@@ -1065,10 +1074,11 @@ module Google
|
|
1065
1074
|
# Customize the options with defaults
|
1066
1075
|
metadata = @config.rpcs.rollback_target.metadata.to_h
|
1067
1076
|
|
1068
|
-
# Set x-goog-api-client
|
1077
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1069
1078
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1070
1079
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1071
1080
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1081
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1072
1082
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1073
1083
|
|
1074
1084
|
header_params = {}
|
@@ -1151,10 +1161,11 @@ module Google
|
|
1151
1161
|
# Customize the options with defaults
|
1152
1162
|
metadata = @config.rpcs.get_target.metadata.to_h
|
1153
1163
|
|
1154
|
-
# Set x-goog-api-client
|
1164
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1155
1165
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1156
1166
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1157
1167
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1168
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1158
1169
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1159
1170
|
|
1160
1171
|
header_params = {}
|
@@ -1266,10 +1277,11 @@ module Google
|
|
1266
1277
|
# Customize the options with defaults
|
1267
1278
|
metadata = @config.rpcs.create_target.metadata.to_h
|
1268
1279
|
|
1269
|
-
# Set x-goog-api-client
|
1280
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1270
1281
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1271
1282
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1272
1283
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1284
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1273
1285
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1274
1286
|
|
1275
1287
|
header_params = {}
|
@@ -1385,10 +1397,11 @@ module Google
|
|
1385
1397
|
# Customize the options with defaults
|
1386
1398
|
metadata = @config.rpcs.update_target.metadata.to_h
|
1387
1399
|
|
1388
|
-
# Set x-goog-api-client
|
1400
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1389
1401
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1390
1402
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1391
1403
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1404
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1392
1405
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1393
1406
|
|
1394
1407
|
header_params = {}
|
@@ -1503,10 +1516,11 @@ module Google
|
|
1503
1516
|
# Customize the options with defaults
|
1504
1517
|
metadata = @config.rpcs.delete_target.metadata.to_h
|
1505
1518
|
|
1506
|
-
# Set x-goog-api-client
|
1519
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1507
1520
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1508
1521
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1509
1522
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1523
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1510
1524
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1511
1525
|
|
1512
1526
|
header_params = {}
|
@@ -1611,10 +1625,11 @@ module Google
|
|
1611
1625
|
# Customize the options with defaults
|
1612
1626
|
metadata = @config.rpcs.list_custom_target_types.metadata.to_h
|
1613
1627
|
|
1614
|
-
# Set x-goog-api-client
|
1628
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1615
1629
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1616
1630
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1617
1631
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1632
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1618
1633
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1619
1634
|
|
1620
1635
|
header_params = {}
|
@@ -1698,10 +1713,11 @@ module Google
|
|
1698
1713
|
# Customize the options with defaults
|
1699
1714
|
metadata = @config.rpcs.get_custom_target_type.metadata.to_h
|
1700
1715
|
|
1701
|
-
# Set x-goog-api-client
|
1716
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1702
1717
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1703
1718
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1704
1719
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1720
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1705
1721
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1706
1722
|
|
1707
1723
|
header_params = {}
|
@@ -1813,10 +1829,11 @@ module Google
|
|
1813
1829
|
# Customize the options with defaults
|
1814
1830
|
metadata = @config.rpcs.create_custom_target_type.metadata.to_h
|
1815
1831
|
|
1816
|
-
# Set x-goog-api-client
|
1832
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1817
1833
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1818
1834
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1819
1835
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1836
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1820
1837
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1821
1838
|
|
1822
1839
|
header_params = {}
|
@@ -1932,10 +1949,11 @@ module Google
|
|
1932
1949
|
# Customize the options with defaults
|
1933
1950
|
metadata = @config.rpcs.update_custom_target_type.metadata.to_h
|
1934
1951
|
|
1935
|
-
# Set x-goog-api-client
|
1952
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1936
1953
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1937
1954
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1938
1955
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
1956
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1939
1957
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1940
1958
|
|
1941
1959
|
header_params = {}
|
@@ -2050,10 +2068,11 @@ module Google
|
|
2050
2068
|
# Customize the options with defaults
|
2051
2069
|
metadata = @config.rpcs.delete_custom_target_type.metadata.to_h
|
2052
2070
|
|
2053
|
-
# Set x-goog-api-client
|
2071
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2054
2072
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2055
2073
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2056
2074
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2075
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2057
2076
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2058
2077
|
|
2059
2078
|
header_params = {}
|
@@ -2158,10 +2177,11 @@ module Google
|
|
2158
2177
|
# Customize the options with defaults
|
2159
2178
|
metadata = @config.rpcs.list_releases.metadata.to_h
|
2160
2179
|
|
2161
|
-
# Set x-goog-api-client
|
2180
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2162
2181
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2163
2182
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2164
2183
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2184
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2165
2185
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2166
2186
|
|
2167
2187
|
header_params = {}
|
@@ -2245,10 +2265,11 @@ module Google
|
|
2245
2265
|
# Customize the options with defaults
|
2246
2266
|
metadata = @config.rpcs.get_release.metadata.to_h
|
2247
2267
|
|
2248
|
-
# Set x-goog-api-client
|
2268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2249
2269
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2250
2270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2251
2271
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2272
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2252
2273
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2253
2274
|
|
2254
2275
|
header_params = {}
|
@@ -2360,10 +2381,11 @@ module Google
|
|
2360
2381
|
# Customize the options with defaults
|
2361
2382
|
metadata = @config.rpcs.create_release.metadata.to_h
|
2362
2383
|
|
2363
|
-
# Set x-goog-api-client
|
2384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2364
2385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2365
2386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2366
2387
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2367
2389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2368
2390
|
|
2369
2391
|
header_params = {}
|
@@ -2447,10 +2469,11 @@ module Google
|
|
2447
2469
|
# Customize the options with defaults
|
2448
2470
|
metadata = @config.rpcs.abandon_release.metadata.to_h
|
2449
2471
|
|
2450
|
-
# Set x-goog-api-client
|
2472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2451
2473
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2452
2474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2453
2475
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2476
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2454
2477
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2455
2478
|
|
2456
2479
|
header_params = {}
|
@@ -2535,10 +2558,11 @@ module Google
|
|
2535
2558
|
# Customize the options with defaults
|
2536
2559
|
metadata = @config.rpcs.approve_rollout.metadata.to_h
|
2537
2560
|
|
2538
|
-
# Set x-goog-api-client
|
2561
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2539
2562
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2540
2563
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2541
2564
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2565
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2542
2566
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2543
2567
|
|
2544
2568
|
header_params = {}
|
@@ -2623,10 +2647,11 @@ module Google
|
|
2623
2647
|
# Customize the options with defaults
|
2624
2648
|
metadata = @config.rpcs.advance_rollout.metadata.to_h
|
2625
2649
|
|
2626
|
-
# Set x-goog-api-client
|
2650
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2627
2651
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2628
2652
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2629
2653
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2654
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2630
2655
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2631
2656
|
|
2632
2657
|
header_params = {}
|
@@ -2709,10 +2734,11 @@ module Google
|
|
2709
2734
|
# Customize the options with defaults
|
2710
2735
|
metadata = @config.rpcs.cancel_rollout.metadata.to_h
|
2711
2736
|
|
2712
|
-
# Set x-goog-api-client
|
2737
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2713
2738
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2714
2739
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2715
2740
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2741
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2716
2742
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2717
2743
|
|
2718
2744
|
header_params = {}
|
@@ -2815,10 +2841,11 @@ module Google
|
|
2815
2841
|
# Customize the options with defaults
|
2816
2842
|
metadata = @config.rpcs.list_rollouts.metadata.to_h
|
2817
2843
|
|
2818
|
-
# Set x-goog-api-client
|
2844
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2819
2845
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2820
2846
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2821
2847
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2848
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2822
2849
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2823
2850
|
|
2824
2851
|
header_params = {}
|
@@ -2902,10 +2929,11 @@ module Google
|
|
2902
2929
|
# Customize the options with defaults
|
2903
2930
|
metadata = @config.rpcs.get_rollout.metadata.to_h
|
2904
2931
|
|
2905
|
-
# Set x-goog-api-client
|
2932
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2906
2933
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2907
2934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2908
2935
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
2936
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2909
2937
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2910
2938
|
|
2911
2939
|
header_params = {}
|
@@ -3020,10 +3048,11 @@ module Google
|
|
3020
3048
|
# Customize the options with defaults
|
3021
3049
|
metadata = @config.rpcs.create_rollout.metadata.to_h
|
3022
3050
|
|
3023
|
-
# Set x-goog-api-client
|
3051
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3024
3052
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3025
3053
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3026
3054
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3055
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3027
3056
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3028
3057
|
|
3029
3058
|
header_params = {}
|
@@ -3111,10 +3140,11 @@ module Google
|
|
3111
3140
|
# Customize the options with defaults
|
3112
3141
|
metadata = @config.rpcs.ignore_job.metadata.to_h
|
3113
3142
|
|
3114
|
-
# Set x-goog-api-client
|
3143
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3115
3144
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3116
3145
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3117
3146
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3147
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3118
3148
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3119
3149
|
|
3120
3150
|
header_params = {}
|
@@ -3201,10 +3231,11 @@ module Google
|
|
3201
3231
|
# Customize the options with defaults
|
3202
3232
|
metadata = @config.rpcs.retry_job.metadata.to_h
|
3203
3233
|
|
3204
|
-
# Set x-goog-api-client
|
3234
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3205
3235
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3206
3236
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3207
3237
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3238
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3208
3239
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3209
3240
|
|
3210
3241
|
header_params = {}
|
@@ -3307,10 +3338,11 @@ module Google
|
|
3307
3338
|
# Customize the options with defaults
|
3308
3339
|
metadata = @config.rpcs.list_job_runs.metadata.to_h
|
3309
3340
|
|
3310
|
-
# Set x-goog-api-client
|
3341
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3311
3342
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3312
3343
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3313
3344
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3345
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3314
3346
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3315
3347
|
|
3316
3348
|
header_params = {}
|
@@ -3394,10 +3426,11 @@ module Google
|
|
3394
3426
|
# Customize the options with defaults
|
3395
3427
|
metadata = @config.rpcs.get_job_run.metadata.to_h
|
3396
3428
|
|
3397
|
-
# Set x-goog-api-client
|
3429
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3398
3430
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3399
3431
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3400
3432
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3433
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3401
3434
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3402
3435
|
|
3403
3436
|
header_params = {}
|
@@ -3480,10 +3513,11 @@ module Google
|
|
3480
3513
|
# Customize the options with defaults
|
3481
3514
|
metadata = @config.rpcs.terminate_job_run.metadata.to_h
|
3482
3515
|
|
3483
|
-
# Set x-goog-api-client
|
3516
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3484
3517
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3485
3518
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3486
3519
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3520
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3487
3521
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3488
3522
|
|
3489
3523
|
header_params = {}
|
@@ -3565,10 +3599,11 @@ module Google
|
|
3565
3599
|
# Customize the options with defaults
|
3566
3600
|
metadata = @config.rpcs.get_config.metadata.to_h
|
3567
3601
|
|
3568
|
-
# Set x-goog-api-client
|
3602
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3569
3603
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3570
3604
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3571
3605
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3606
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3572
3607
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3573
3608
|
|
3574
3609
|
header_params = {}
|
@@ -3680,10 +3715,11 @@ module Google
|
|
3680
3715
|
# Customize the options with defaults
|
3681
3716
|
metadata = @config.rpcs.create_automation.metadata.to_h
|
3682
3717
|
|
3683
|
-
# Set x-goog-api-client
|
3718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3684
3719
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3685
3720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3686
3721
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3722
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3687
3723
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3688
3724
|
|
3689
3725
|
header_params = {}
|
@@ -3799,10 +3835,11 @@ module Google
|
|
3799
3835
|
# Customize the options with defaults
|
3800
3836
|
metadata = @config.rpcs.update_automation.metadata.to_h
|
3801
3837
|
|
3802
|
-
# Set x-goog-api-client
|
3838
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3803
3839
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3804
3840
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3805
3841
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3842
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3806
3843
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3807
3844
|
|
3808
3845
|
header_params = {}
|
@@ -3918,10 +3955,11 @@ module Google
|
|
3918
3955
|
# Customize the options with defaults
|
3919
3956
|
metadata = @config.rpcs.delete_automation.metadata.to_h
|
3920
3957
|
|
3921
|
-
# Set x-goog-api-client
|
3958
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3922
3959
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3923
3960
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3924
3961
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
3962
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3925
3963
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3926
3964
|
|
3927
3965
|
header_params = {}
|
@@ -4005,10 +4043,11 @@ module Google
|
|
4005
4043
|
# Customize the options with defaults
|
4006
4044
|
metadata = @config.rpcs.get_automation.metadata.to_h
|
4007
4045
|
|
4008
|
-
# Set x-goog-api-client
|
4046
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4009
4047
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4010
4048
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4011
4049
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
4050
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4012
4051
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4013
4052
|
|
4014
4053
|
header_params = {}
|
@@ -4112,10 +4151,11 @@ module Google
|
|
4112
4151
|
# Customize the options with defaults
|
4113
4152
|
metadata = @config.rpcs.list_automations.metadata.to_h
|
4114
4153
|
|
4115
|
-
# Set x-goog-api-client
|
4154
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4116
4155
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4117
4156
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4118
4157
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
4158
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4119
4159
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4120
4160
|
|
4121
4161
|
header_params = {}
|
@@ -4199,10 +4239,11 @@ module Google
|
|
4199
4239
|
# Customize the options with defaults
|
4200
4240
|
metadata = @config.rpcs.get_automation_run.metadata.to_h
|
4201
4241
|
|
4202
|
-
# Set x-goog-api-client
|
4242
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4203
4243
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4204
4244
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4205
4245
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
4246
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4206
4247
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4207
4248
|
|
4208
4249
|
header_params = {}
|
@@ -4306,10 +4347,11 @@ module Google
|
|
4306
4347
|
# Customize the options with defaults
|
4307
4348
|
metadata = @config.rpcs.list_automation_runs.metadata.to_h
|
4308
4349
|
|
4309
|
-
# Set x-goog-api-client
|
4350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4310
4351
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4311
4352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4312
4353
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
4354
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4313
4355
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4314
4356
|
|
4315
4357
|
header_params = {}
|
@@ -4396,10 +4438,11 @@ module Google
|
|
4396
4438
|
# Customize the options with defaults
|
4397
4439
|
metadata = @config.rpcs.cancel_automation_run.metadata.to_h
|
4398
4440
|
|
4399
|
-
# Set x-goog-api-client
|
4441
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4400
4442
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4401
4443
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4402
4444
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION
|
4445
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4403
4446
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4404
4447
|
|
4405
4448
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module CloudDeploy
|
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 = "clouddeploy.$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::Deploy::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::Deploy::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::Deploy::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::Deploy::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::Deploy::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,
|