google-cloud-deploy-v1 0.19.0 → 0.19.1
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/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
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# on Google Cloud Platform via Skaffold (https://skaffold.dev).
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "clouddeploy.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -404,12 +407,13 @@ module Google
|
|
404
407
|
# Customize the options with defaults
|
405
408
|
call_metadata = @config.rpcs.list_delivery_pipelines.metadata.to_h
|
406
409
|
|
407
|
-
# Set x-goog-api-client
|
410
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
408
411
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
409
412
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
410
413
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
411
414
|
transports_version_send: [:rest]
|
412
415
|
|
416
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
413
417
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
414
418
|
|
415
419
|
options.apply_defaults timeout: @config.rpcs.list_delivery_pipelines.timeout,
|
@@ -483,12 +487,13 @@ module Google
|
|
483
487
|
# Customize the options with defaults
|
484
488
|
call_metadata = @config.rpcs.get_delivery_pipeline.metadata.to_h
|
485
489
|
|
486
|
-
# Set x-goog-api-client
|
490
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
487
491
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
488
492
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
489
493
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
490
494
|
transports_version_send: [:rest]
|
491
495
|
|
496
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
492
497
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
493
498
|
|
494
499
|
options.apply_defaults timeout: @config.rpcs.get_delivery_pipeline.timeout,
|
@@ -591,12 +596,13 @@ module Google
|
|
591
596
|
# Customize the options with defaults
|
592
597
|
call_metadata = @config.rpcs.create_delivery_pipeline.metadata.to_h
|
593
598
|
|
594
|
-
# Set x-goog-api-client
|
599
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
595
600
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
596
601
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
597
602
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
598
603
|
transports_version_send: [:rest]
|
599
604
|
|
605
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
600
606
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
601
607
|
|
602
608
|
options.apply_defaults timeout: @config.rpcs.create_delivery_pipeline.timeout,
|
@@ -703,12 +709,13 @@ module Google
|
|
703
709
|
# Customize the options with defaults
|
704
710
|
call_metadata = @config.rpcs.update_delivery_pipeline.metadata.to_h
|
705
711
|
|
706
|
-
# Set x-goog-api-client
|
712
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
707
713
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
708
714
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
709
715
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
710
716
|
transports_version_send: [:rest]
|
711
717
|
|
718
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
712
719
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
713
720
|
|
714
721
|
options.apply_defaults timeout: @config.rpcs.update_delivery_pipeline.timeout,
|
@@ -818,12 +825,13 @@ module Google
|
|
818
825
|
# Customize the options with defaults
|
819
826
|
call_metadata = @config.rpcs.delete_delivery_pipeline.metadata.to_h
|
820
827
|
|
821
|
-
# Set x-goog-api-client
|
828
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
822
829
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
823
830
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
824
831
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
825
832
|
transports_version_send: [:rest]
|
826
833
|
|
834
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
827
835
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
828
836
|
|
829
837
|
options.apply_defaults timeout: @config.rpcs.delete_delivery_pipeline.timeout,
|
@@ -919,12 +927,13 @@ module Google
|
|
919
927
|
# Customize the options with defaults
|
920
928
|
call_metadata = @config.rpcs.list_targets.metadata.to_h
|
921
929
|
|
922
|
-
# Set x-goog-api-client
|
930
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
923
931
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
924
932
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
925
933
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
926
934
|
transports_version_send: [:rest]
|
927
935
|
|
936
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
928
937
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
929
938
|
|
930
939
|
options.apply_defaults timeout: @config.rpcs.list_targets.timeout,
|
@@ -1015,12 +1024,13 @@ module Google
|
|
1015
1024
|
# Customize the options with defaults
|
1016
1025
|
call_metadata = @config.rpcs.rollback_target.metadata.to_h
|
1017
1026
|
|
1018
|
-
# Set x-goog-api-client
|
1027
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1019
1028
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1020
1029
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1021
1030
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1022
1031
|
transports_version_send: [:rest]
|
1023
1032
|
|
1033
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1024
1034
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1025
1035
|
|
1026
1036
|
options.apply_defaults timeout: @config.rpcs.rollback_target.timeout,
|
@@ -1094,12 +1104,13 @@ module Google
|
|
1094
1104
|
# Customize the options with defaults
|
1095
1105
|
call_metadata = @config.rpcs.get_target.metadata.to_h
|
1096
1106
|
|
1097
|
-
# Set x-goog-api-client
|
1107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1098
1108
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1099
1109
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1100
1110
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1101
1111
|
transports_version_send: [:rest]
|
1102
1112
|
|
1113
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1103
1114
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1104
1115
|
|
1105
1116
|
options.apply_defaults timeout: @config.rpcs.get_target.timeout,
|
@@ -1202,12 +1213,13 @@ module Google
|
|
1202
1213
|
# Customize the options with defaults
|
1203
1214
|
call_metadata = @config.rpcs.create_target.metadata.to_h
|
1204
1215
|
|
1205
|
-
# Set x-goog-api-client
|
1216
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1206
1217
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1207
1218
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1208
1219
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1209
1220
|
transports_version_send: [:rest]
|
1210
1221
|
|
1222
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1211
1223
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1212
1224
|
|
1213
1225
|
options.apply_defaults timeout: @config.rpcs.create_target.timeout,
|
@@ -1314,12 +1326,13 @@ module Google
|
|
1314
1326
|
# Customize the options with defaults
|
1315
1327
|
call_metadata = @config.rpcs.update_target.metadata.to_h
|
1316
1328
|
|
1317
|
-
# Set x-goog-api-client
|
1329
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1318
1330
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1319
1331
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1320
1332
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1321
1333
|
transports_version_send: [:rest]
|
1322
1334
|
|
1335
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1323
1336
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1324
1337
|
|
1325
1338
|
options.apply_defaults timeout: @config.rpcs.update_target.timeout,
|
@@ -1425,12 +1438,13 @@ module Google
|
|
1425
1438
|
# Customize the options with defaults
|
1426
1439
|
call_metadata = @config.rpcs.delete_target.metadata.to_h
|
1427
1440
|
|
1428
|
-
# Set x-goog-api-client
|
1441
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1429
1442
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1430
1443
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1431
1444
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1432
1445
|
transports_version_send: [:rest]
|
1433
1446
|
|
1447
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1434
1448
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1435
1449
|
|
1436
1450
|
options.apply_defaults timeout: @config.rpcs.delete_target.timeout,
|
@@ -1526,12 +1540,13 @@ module Google
|
|
1526
1540
|
# Customize the options with defaults
|
1527
1541
|
call_metadata = @config.rpcs.list_custom_target_types.metadata.to_h
|
1528
1542
|
|
1529
|
-
# Set x-goog-api-client
|
1543
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1530
1544
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1531
1545
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1532
1546
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1533
1547
|
transports_version_send: [:rest]
|
1534
1548
|
|
1549
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1535
1550
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1536
1551
|
|
1537
1552
|
options.apply_defaults timeout: @config.rpcs.list_custom_target_types.timeout,
|
@@ -1605,12 +1620,13 @@ module Google
|
|
1605
1620
|
# Customize the options with defaults
|
1606
1621
|
call_metadata = @config.rpcs.get_custom_target_type.metadata.to_h
|
1607
1622
|
|
1608
|
-
# Set x-goog-api-client
|
1623
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1609
1624
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1610
1625
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1611
1626
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1612
1627
|
transports_version_send: [:rest]
|
1613
1628
|
|
1629
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1614
1630
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1615
1631
|
|
1616
1632
|
options.apply_defaults timeout: @config.rpcs.get_custom_target_type.timeout,
|
@@ -1713,12 +1729,13 @@ module Google
|
|
1713
1729
|
# Customize the options with defaults
|
1714
1730
|
call_metadata = @config.rpcs.create_custom_target_type.metadata.to_h
|
1715
1731
|
|
1716
|
-
# Set x-goog-api-client
|
1732
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1717
1733
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1718
1734
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1719
1735
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1720
1736
|
transports_version_send: [:rest]
|
1721
1737
|
|
1738
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1722
1739
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1723
1740
|
|
1724
1741
|
options.apply_defaults timeout: @config.rpcs.create_custom_target_type.timeout,
|
@@ -1825,12 +1842,13 @@ module Google
|
|
1825
1842
|
# Customize the options with defaults
|
1826
1843
|
call_metadata = @config.rpcs.update_custom_target_type.metadata.to_h
|
1827
1844
|
|
1828
|
-
# Set x-goog-api-client
|
1845
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1829
1846
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1830
1847
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1831
1848
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1832
1849
|
transports_version_send: [:rest]
|
1833
1850
|
|
1851
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1834
1852
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1835
1853
|
|
1836
1854
|
options.apply_defaults timeout: @config.rpcs.update_custom_target_type.timeout,
|
@@ -1936,12 +1954,13 @@ module Google
|
|
1936
1954
|
# Customize the options with defaults
|
1937
1955
|
call_metadata = @config.rpcs.delete_custom_target_type.metadata.to_h
|
1938
1956
|
|
1939
|
-
# Set x-goog-api-client
|
1957
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1940
1958
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1941
1959
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1942
1960
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
1943
1961
|
transports_version_send: [:rest]
|
1944
1962
|
|
1963
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1945
1964
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1946
1965
|
|
1947
1966
|
options.apply_defaults timeout: @config.rpcs.delete_custom_target_type.timeout,
|
@@ -2037,12 +2056,13 @@ module Google
|
|
2037
2056
|
# Customize the options with defaults
|
2038
2057
|
call_metadata = @config.rpcs.list_releases.metadata.to_h
|
2039
2058
|
|
2040
|
-
# Set x-goog-api-client
|
2059
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2041
2060
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2042
2061
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2043
2062
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2044
2063
|
transports_version_send: [:rest]
|
2045
2064
|
|
2065
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2046
2066
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2047
2067
|
|
2048
2068
|
options.apply_defaults timeout: @config.rpcs.list_releases.timeout,
|
@@ -2116,12 +2136,13 @@ module Google
|
|
2116
2136
|
# Customize the options with defaults
|
2117
2137
|
call_metadata = @config.rpcs.get_release.metadata.to_h
|
2118
2138
|
|
2119
|
-
# Set x-goog-api-client
|
2139
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2120
2140
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2121
2141
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2122
2142
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2123
2143
|
transports_version_send: [:rest]
|
2124
2144
|
|
2145
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2125
2146
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2126
2147
|
|
2127
2148
|
options.apply_defaults timeout: @config.rpcs.get_release.timeout,
|
@@ -2224,12 +2245,13 @@ module Google
|
|
2224
2245
|
# Customize the options with defaults
|
2225
2246
|
call_metadata = @config.rpcs.create_release.metadata.to_h
|
2226
2247
|
|
2227
|
-
# Set x-goog-api-client
|
2248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2228
2249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2229
2250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2230
2251
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2231
2252
|
transports_version_send: [:rest]
|
2232
2253
|
|
2254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2233
2255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2234
2256
|
|
2235
2257
|
options.apply_defaults timeout: @config.rpcs.create_release.timeout,
|
@@ -2304,12 +2326,13 @@ module Google
|
|
2304
2326
|
# Customize the options with defaults
|
2305
2327
|
call_metadata = @config.rpcs.abandon_release.metadata.to_h
|
2306
2328
|
|
2307
|
-
# Set x-goog-api-client
|
2329
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2308
2330
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2309
2331
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2310
2332
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2311
2333
|
transports_version_send: [:rest]
|
2312
2334
|
|
2335
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2313
2336
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2314
2337
|
|
2315
2338
|
options.apply_defaults timeout: @config.rpcs.abandon_release.timeout,
|
@@ -2385,12 +2408,13 @@ module Google
|
|
2385
2408
|
# Customize the options with defaults
|
2386
2409
|
call_metadata = @config.rpcs.approve_rollout.metadata.to_h
|
2387
2410
|
|
2388
|
-
# Set x-goog-api-client
|
2411
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2389
2412
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2390
2413
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2391
2414
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2392
2415
|
transports_version_send: [:rest]
|
2393
2416
|
|
2417
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2394
2418
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2395
2419
|
|
2396
2420
|
options.apply_defaults timeout: @config.rpcs.approve_rollout.timeout,
|
@@ -2466,12 +2490,13 @@ module Google
|
|
2466
2490
|
# Customize the options with defaults
|
2467
2491
|
call_metadata = @config.rpcs.advance_rollout.metadata.to_h
|
2468
2492
|
|
2469
|
-
# Set x-goog-api-client
|
2493
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2470
2494
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2471
2495
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2472
2496
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2473
2497
|
transports_version_send: [:rest]
|
2474
2498
|
|
2499
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2475
2500
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2476
2501
|
|
2477
2502
|
options.apply_defaults timeout: @config.rpcs.advance_rollout.timeout,
|
@@ -2545,12 +2570,13 @@ module Google
|
|
2545
2570
|
# Customize the options with defaults
|
2546
2571
|
call_metadata = @config.rpcs.cancel_rollout.metadata.to_h
|
2547
2572
|
|
2548
|
-
# Set x-goog-api-client
|
2573
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2549
2574
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2550
2575
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2551
2576
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2552
2577
|
transports_version_send: [:rest]
|
2553
2578
|
|
2579
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2554
2580
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2555
2581
|
|
2556
2582
|
options.apply_defaults timeout: @config.rpcs.cancel_rollout.timeout,
|
@@ -2644,12 +2670,13 @@ module Google
|
|
2644
2670
|
# Customize the options with defaults
|
2645
2671
|
call_metadata = @config.rpcs.list_rollouts.metadata.to_h
|
2646
2672
|
|
2647
|
-
# Set x-goog-api-client
|
2673
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2648
2674
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2649
2675
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2650
2676
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2651
2677
|
transports_version_send: [:rest]
|
2652
2678
|
|
2679
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2653
2680
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2654
2681
|
|
2655
2682
|
options.apply_defaults timeout: @config.rpcs.list_rollouts.timeout,
|
@@ -2723,12 +2750,13 @@ module Google
|
|
2723
2750
|
# Customize the options with defaults
|
2724
2751
|
call_metadata = @config.rpcs.get_rollout.metadata.to_h
|
2725
2752
|
|
2726
|
-
# Set x-goog-api-client
|
2753
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2727
2754
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2728
2755
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2729
2756
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2730
2757
|
transports_version_send: [:rest]
|
2731
2758
|
|
2759
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2732
2760
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2733
2761
|
|
2734
2762
|
options.apply_defaults timeout: @config.rpcs.get_rollout.timeout,
|
@@ -2834,12 +2862,13 @@ module Google
|
|
2834
2862
|
# Customize the options with defaults
|
2835
2863
|
call_metadata = @config.rpcs.create_rollout.metadata.to_h
|
2836
2864
|
|
2837
|
-
# Set x-goog-api-client
|
2865
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2838
2866
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2839
2867
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2840
2868
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2841
2869
|
transports_version_send: [:rest]
|
2842
2870
|
|
2871
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2843
2872
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2844
2873
|
|
2845
2874
|
options.apply_defaults timeout: @config.rpcs.create_rollout.timeout,
|
@@ -2918,12 +2947,13 @@ module Google
|
|
2918
2947
|
# Customize the options with defaults
|
2919
2948
|
call_metadata = @config.rpcs.ignore_job.metadata.to_h
|
2920
2949
|
|
2921
|
-
# Set x-goog-api-client
|
2950
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2922
2951
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2923
2952
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2924
2953
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
2925
2954
|
transports_version_send: [:rest]
|
2926
2955
|
|
2956
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2927
2957
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2928
2958
|
|
2929
2959
|
options.apply_defaults timeout: @config.rpcs.ignore_job.timeout,
|
@@ -3001,12 +3031,13 @@ module Google
|
|
3001
3031
|
# Customize the options with defaults
|
3002
3032
|
call_metadata = @config.rpcs.retry_job.metadata.to_h
|
3003
3033
|
|
3004
|
-
# Set x-goog-api-client
|
3034
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3005
3035
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3006
3036
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3007
3037
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3008
3038
|
transports_version_send: [:rest]
|
3009
3039
|
|
3040
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3010
3041
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3011
3042
|
|
3012
3043
|
options.apply_defaults timeout: @config.rpcs.retry_job.timeout,
|
@@ -3100,12 +3131,13 @@ module Google
|
|
3100
3131
|
# Customize the options with defaults
|
3101
3132
|
call_metadata = @config.rpcs.list_job_runs.metadata.to_h
|
3102
3133
|
|
3103
|
-
# Set x-goog-api-client
|
3134
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3104
3135
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3105
3136
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3106
3137
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3107
3138
|
transports_version_send: [:rest]
|
3108
3139
|
|
3140
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3109
3141
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3110
3142
|
|
3111
3143
|
options.apply_defaults timeout: @config.rpcs.list_job_runs.timeout,
|
@@ -3179,12 +3211,13 @@ module Google
|
|
3179
3211
|
# Customize the options with defaults
|
3180
3212
|
call_metadata = @config.rpcs.get_job_run.metadata.to_h
|
3181
3213
|
|
3182
|
-
# Set x-goog-api-client
|
3214
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3183
3215
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3184
3216
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3185
3217
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3186
3218
|
transports_version_send: [:rest]
|
3187
3219
|
|
3220
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3188
3221
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3189
3222
|
|
3190
3223
|
options.apply_defaults timeout: @config.rpcs.get_job_run.timeout,
|
@@ -3258,12 +3291,13 @@ module Google
|
|
3258
3291
|
# Customize the options with defaults
|
3259
3292
|
call_metadata = @config.rpcs.terminate_job_run.metadata.to_h
|
3260
3293
|
|
3261
|
-
# Set x-goog-api-client
|
3294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3262
3295
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3263
3296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3264
3297
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3265
3298
|
transports_version_send: [:rest]
|
3266
3299
|
|
3300
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3267
3301
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3268
3302
|
|
3269
3303
|
options.apply_defaults timeout: @config.rpcs.terminate_job_run.timeout,
|
@@ -3336,12 +3370,13 @@ module Google
|
|
3336
3370
|
# Customize the options with defaults
|
3337
3371
|
call_metadata = @config.rpcs.get_config.metadata.to_h
|
3338
3372
|
|
3339
|
-
# Set x-goog-api-client
|
3373
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3340
3374
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3341
3375
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3342
3376
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3343
3377
|
transports_version_send: [:rest]
|
3344
3378
|
|
3379
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3345
3380
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3346
3381
|
|
3347
3382
|
options.apply_defaults timeout: @config.rpcs.get_config.timeout,
|
@@ -3444,12 +3479,13 @@ module Google
|
|
3444
3479
|
# Customize the options with defaults
|
3445
3480
|
call_metadata = @config.rpcs.create_automation.metadata.to_h
|
3446
3481
|
|
3447
|
-
# Set x-goog-api-client
|
3482
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3448
3483
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3449
3484
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3450
3485
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3451
3486
|
transports_version_send: [:rest]
|
3452
3487
|
|
3488
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3453
3489
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3454
3490
|
|
3455
3491
|
options.apply_defaults timeout: @config.rpcs.create_automation.timeout,
|
@@ -3556,12 +3592,13 @@ module Google
|
|
3556
3592
|
# Customize the options with defaults
|
3557
3593
|
call_metadata = @config.rpcs.update_automation.metadata.to_h
|
3558
3594
|
|
3559
|
-
# Set x-goog-api-client
|
3595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3560
3596
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3561
3597
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3562
3598
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3563
3599
|
transports_version_send: [:rest]
|
3564
3600
|
|
3601
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3565
3602
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3566
3603
|
|
3567
3604
|
options.apply_defaults timeout: @config.rpcs.update_automation.timeout,
|
@@ -3668,12 +3705,13 @@ module Google
|
|
3668
3705
|
# Customize the options with defaults
|
3669
3706
|
call_metadata = @config.rpcs.delete_automation.metadata.to_h
|
3670
3707
|
|
3671
|
-
# Set x-goog-api-client
|
3708
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3672
3709
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3673
3710
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3674
3711
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3675
3712
|
transports_version_send: [:rest]
|
3676
3713
|
|
3714
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3677
3715
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3678
3716
|
|
3679
3717
|
options.apply_defaults timeout: @config.rpcs.delete_automation.timeout,
|
@@ -3748,12 +3786,13 @@ module Google
|
|
3748
3786
|
# Customize the options with defaults
|
3749
3787
|
call_metadata = @config.rpcs.get_automation.metadata.to_h
|
3750
3788
|
|
3751
|
-
# Set x-goog-api-client
|
3789
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3752
3790
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3753
3791
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3754
3792
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3755
3793
|
transports_version_send: [:rest]
|
3756
3794
|
|
3795
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3757
3796
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3758
3797
|
|
3759
3798
|
options.apply_defaults timeout: @config.rpcs.get_automation.timeout,
|
@@ -3848,12 +3887,13 @@ module Google
|
|
3848
3887
|
# Customize the options with defaults
|
3849
3888
|
call_metadata = @config.rpcs.list_automations.metadata.to_h
|
3850
3889
|
|
3851
|
-
# Set x-goog-api-client
|
3890
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3852
3891
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3853
3892
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3854
3893
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3855
3894
|
transports_version_send: [:rest]
|
3856
3895
|
|
3896
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3857
3897
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3858
3898
|
|
3859
3899
|
options.apply_defaults timeout: @config.rpcs.list_automations.timeout,
|
@@ -3927,12 +3967,13 @@ module Google
|
|
3927
3967
|
# Customize the options with defaults
|
3928
3968
|
call_metadata = @config.rpcs.get_automation_run.metadata.to_h
|
3929
3969
|
|
3930
|
-
# Set x-goog-api-client
|
3970
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3931
3971
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3932
3972
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3933
3973
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
3934
3974
|
transports_version_send: [:rest]
|
3935
3975
|
|
3976
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3936
3977
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3937
3978
|
|
3938
3979
|
options.apply_defaults timeout: @config.rpcs.get_automation_run.timeout,
|
@@ -4027,12 +4068,13 @@ module Google
|
|
4027
4068
|
# Customize the options with defaults
|
4028
4069
|
call_metadata = @config.rpcs.list_automation_runs.metadata.to_h
|
4029
4070
|
|
4030
|
-
# Set x-goog-api-client
|
4071
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4031
4072
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4032
4073
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4033
4074
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
4034
4075
|
transports_version_send: [:rest]
|
4035
4076
|
|
4077
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4036
4078
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4037
4079
|
|
4038
4080
|
options.apply_defaults timeout: @config.rpcs.list_automation_runs.timeout,
|
@@ -4109,12 +4151,13 @@ module Google
|
|
4109
4151
|
# Customize the options with defaults
|
4110
4152
|
call_metadata = @config.rpcs.cancel_automation_run.metadata.to_h
|
4111
4153
|
|
4112
|
-
# Set x-goog-api-client
|
4154
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4113
4155
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4114
4156
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4115
4157
|
gapic_version: ::Google::Cloud::Deploy::V1::VERSION,
|
4116
4158
|
transports_version_send: [:rest]
|
4117
4159
|
|
4160
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4118
4161
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4119
4162
|
|
4120
4163
|
options.apply_defaults timeout: @config.rpcs.cancel_automation_run.timeout,
|