google-apis-clouddeploy_v1 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7bcfaf3eb4f658ab5acbe13e3d92f2c93fc14fb883011c3d8dd715c0f0ff4a1
|
4
|
+
data.tar.gz: d4d1c9027bf259913647fd716ff4bbe3b1f49711538695fc34a0de5f423f3305
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7447664b61014b48d1ac29e4843c60aebddc9f5d9c624bc34b901e738dda2d1a86b7f701125785db47be38b2da62ae4630275715a32acdbbbfe6a5a2a893e571
|
7
|
+
data.tar.gz: 54c712634c82883a804dba613a9ba78c17e3d16e62b86d7be9d84bcf638df2b14f2668ffebceeaca9f20b45e71edad1e5f6b71fba280d4095ad86245fe5b0998
|
data/CHANGELOG.md
CHANGED
@@ -89,6 +89,38 @@ module Google
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
+
# The request object used by `AdvanceRollout`.
|
93
|
+
class AdvanceRolloutRequest
|
94
|
+
include Google::Apis::Core::Hashable
|
95
|
+
|
96
|
+
# Required. The phase ID to advance the `Rollout` to.
|
97
|
+
# Corresponds to the JSON property `phaseId`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :phase_id
|
100
|
+
|
101
|
+
def initialize(**args)
|
102
|
+
update!(**args)
|
103
|
+
end
|
104
|
+
|
105
|
+
# Update properties of this object
|
106
|
+
def update!(**args)
|
107
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# The response object from `AdvanceRollout`.
|
112
|
+
class AdvanceRolloutResponse
|
113
|
+
include Google::Apis::Core::Hashable
|
114
|
+
|
115
|
+
def initialize(**args)
|
116
|
+
update!(**args)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Update properties of this object
|
120
|
+
def update!(**args)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
92
124
|
# Information specifying an Anthos Cluster.
|
93
125
|
class AnthosCluster
|
94
126
|
include Google::Apis::Core::Hashable
|
@@ -316,6 +348,66 @@ module Google
|
|
316
348
|
end
|
317
349
|
end
|
318
350
|
|
351
|
+
# Canary represents the canary deployment strategy.
|
352
|
+
class Canary
|
353
|
+
include Google::Apis::Core::Hashable
|
354
|
+
|
355
|
+
# CanaryDeployment represents the canary deployment configuration
|
356
|
+
# Corresponds to the JSON property `canaryDeployment`
|
357
|
+
# @return [Google::Apis::ClouddeployV1::CanaryDeployment]
|
358
|
+
attr_accessor :canary_deployment
|
359
|
+
|
360
|
+
# CustomCanaryDeployment represents the custom canary deployment configuration.
|
361
|
+
# Corresponds to the JSON property `customCanaryDeployment`
|
362
|
+
# @return [Google::Apis::ClouddeployV1::CustomCanaryDeployment]
|
363
|
+
attr_accessor :custom_canary_deployment
|
364
|
+
|
365
|
+
# RuntimeConfig contains the runtime specific configurations for a deployment
|
366
|
+
# strategy.
|
367
|
+
# Corresponds to the JSON property `runtimeConfig`
|
368
|
+
# @return [Google::Apis::ClouddeployV1::RuntimeConfig]
|
369
|
+
attr_accessor :runtime_config
|
370
|
+
|
371
|
+
def initialize(**args)
|
372
|
+
update!(**args)
|
373
|
+
end
|
374
|
+
|
375
|
+
# Update properties of this object
|
376
|
+
def update!(**args)
|
377
|
+
@canary_deployment = args[:canary_deployment] if args.key?(:canary_deployment)
|
378
|
+
@custom_canary_deployment = args[:custom_canary_deployment] if args.key?(:custom_canary_deployment)
|
379
|
+
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
# CanaryDeployment represents the canary deployment configuration
|
384
|
+
class CanaryDeployment
|
385
|
+
include Google::Apis::Core::Hashable
|
386
|
+
|
387
|
+
# Required. The percentage based deployments that will occur as a part of a `
|
388
|
+
# Rollout`. List is expected in ascending order and each integer n is 0 <= n <
|
389
|
+
# 100.
|
390
|
+
# Corresponds to the JSON property `percentages`
|
391
|
+
# @return [Array<Fixnum>]
|
392
|
+
attr_accessor :percentages
|
393
|
+
|
394
|
+
# Whether to run verify tests after each percentage deployment.
|
395
|
+
# Corresponds to the JSON property `verify`
|
396
|
+
# @return [Boolean]
|
397
|
+
attr_accessor :verify
|
398
|
+
alias_method :verify?, :verify
|
399
|
+
|
400
|
+
def initialize(**args)
|
401
|
+
update!(**args)
|
402
|
+
end
|
403
|
+
|
404
|
+
# Update properties of this object
|
405
|
+
def update!(**args)
|
406
|
+
@percentages = args[:percentages] if args.key?(:percentages)
|
407
|
+
@verify = args[:verify] if args.key?(:verify)
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
319
411
|
# The request message for Operations.CancelOperation.
|
320
412
|
class CancelOperationRequest
|
321
413
|
include Google::Apis::Core::Hashable
|
@@ -329,6 +421,32 @@ module Google
|
|
329
421
|
end
|
330
422
|
end
|
331
423
|
|
424
|
+
# The request object used by `CancelRollout`.
|
425
|
+
class CancelRolloutRequest
|
426
|
+
include Google::Apis::Core::Hashable
|
427
|
+
|
428
|
+
def initialize(**args)
|
429
|
+
update!(**args)
|
430
|
+
end
|
431
|
+
|
432
|
+
# Update properties of this object
|
433
|
+
def update!(**args)
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# The response object from `CancelRollout`.
|
438
|
+
class CancelRolloutResponse
|
439
|
+
include Google::Apis::Core::Hashable
|
440
|
+
|
441
|
+
def initialize(**args)
|
442
|
+
update!(**args)
|
443
|
+
end
|
444
|
+
|
445
|
+
# Update properties of this object
|
446
|
+
def update!(**args)
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
332
450
|
# ChildRollouts job composition
|
333
451
|
class ChildRolloutJobs
|
334
452
|
include Google::Apis::Core::Hashable
|
@@ -354,6 +472,28 @@ module Google
|
|
354
472
|
end
|
355
473
|
end
|
356
474
|
|
475
|
+
# CloudRunConfig contains the Cloud Run runtime configuration.
|
476
|
+
class CloudRunConfig
|
477
|
+
include Google::Apis::Core::Hashable
|
478
|
+
|
479
|
+
# Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service
|
480
|
+
# on the user's behalf to facilitate traffic splitting. This is required to be
|
481
|
+
# true for CanaryDeployments, but optional for CustomCanaryDeployments.
|
482
|
+
# Corresponds to the JSON property `automaticTrafficControl`
|
483
|
+
# @return [Boolean]
|
484
|
+
attr_accessor :automatic_traffic_control
|
485
|
+
alias_method :automatic_traffic_control?, :automatic_traffic_control
|
486
|
+
|
487
|
+
def initialize(**args)
|
488
|
+
update!(**args)
|
489
|
+
end
|
490
|
+
|
491
|
+
# Update properties of this object
|
492
|
+
def update!(**args)
|
493
|
+
@automatic_traffic_control = args[:automatic_traffic_control] if args.key?(:automatic_traffic_control)
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
357
497
|
# Information specifying where to deploy a Cloud Run Service.
|
358
498
|
class CloudRunLocation
|
359
499
|
include Google::Apis::Core::Hashable
|
@@ -406,6 +546,27 @@ module Google
|
|
406
546
|
end
|
407
547
|
end
|
408
548
|
|
549
|
+
# CloudRunRenderMetadata contains Cloud Run information associated with a `
|
550
|
+
# Release` render.
|
551
|
+
class CloudRunRenderMetadata
|
552
|
+
include Google::Apis::Core::Hashable
|
553
|
+
|
554
|
+
# Output only. The name of the Cloud Run Service in the rendered manifest.
|
555
|
+
# Format is projects/`project`/locations/`location`/services/`service`.
|
556
|
+
# Corresponds to the JSON property `service`
|
557
|
+
# @return [String]
|
558
|
+
attr_accessor :service
|
559
|
+
|
560
|
+
def initialize(**args)
|
561
|
+
update!(**args)
|
562
|
+
end
|
563
|
+
|
564
|
+
# Update properties of this object
|
565
|
+
def update!(**args)
|
566
|
+
@service = args[:service] if args.key?(:service)
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
409
570
|
# Service-wide configuration.
|
410
571
|
class Config
|
411
572
|
include Google::Apis::Core::Hashable
|
@@ -479,6 +640,26 @@ module Google
|
|
479
640
|
end
|
480
641
|
end
|
481
642
|
|
643
|
+
# CustomCanaryDeployment represents the custom canary deployment configuration.
|
644
|
+
class CustomCanaryDeployment
|
645
|
+
include Google::Apis::Core::Hashable
|
646
|
+
|
647
|
+
# Required. Configuration for each phase in the canary deployment in the order
|
648
|
+
# executed.
|
649
|
+
# Corresponds to the JSON property `phaseConfigs`
|
650
|
+
# @return [Array<Google::Apis::ClouddeployV1::PhaseConfig>]
|
651
|
+
attr_accessor :phase_configs
|
652
|
+
|
653
|
+
def initialize(**args)
|
654
|
+
update!(**args)
|
655
|
+
end
|
656
|
+
|
657
|
+
# Update properties of this object
|
658
|
+
def update!(**args)
|
659
|
+
@phase_configs = args[:phase_configs] if args.key?(:phase_configs)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
482
663
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
483
664
|
# day and time zone are either specified elsewhere or are insignificant. The
|
484
665
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -907,6 +1088,38 @@ module Google
|
|
907
1088
|
end
|
908
1089
|
end
|
909
1090
|
|
1091
|
+
# Information about the Kubernetes Gateway API service mesh configuration.
|
1092
|
+
class GatewayServiceMesh
|
1093
|
+
include Google::Apis::Core::Hashable
|
1094
|
+
|
1095
|
+
# Required. Name of the Kubernetes Deployment whose traffic is managed by the
|
1096
|
+
# specified HTTPRoute and Service.
|
1097
|
+
# Corresponds to the JSON property `deployment`
|
1098
|
+
# @return [String]
|
1099
|
+
attr_accessor :deployment
|
1100
|
+
|
1101
|
+
# Required. Name of the Gateway API HTTPRoute.
|
1102
|
+
# Corresponds to the JSON property `httpRoute`
|
1103
|
+
# @return [String]
|
1104
|
+
attr_accessor :http_route
|
1105
|
+
|
1106
|
+
# Required. Name of the Kubernetes Service.
|
1107
|
+
# Corresponds to the JSON property `service`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :service
|
1110
|
+
|
1111
|
+
def initialize(**args)
|
1112
|
+
update!(**args)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# Update properties of this object
|
1116
|
+
def update!(**args)
|
1117
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
1118
|
+
@http_route = args[:http_route] if args.key?(:http_route)
|
1119
|
+
@service = args[:service] if args.key?(:service)
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
910
1123
|
# Information specifying a GKE Cluster.
|
911
1124
|
class GkeCluster
|
912
1125
|
include Google::Apis::Core::Hashable
|
@@ -940,6 +1153,44 @@ module Google
|
|
940
1153
|
end
|
941
1154
|
end
|
942
1155
|
|
1156
|
+
# The request object used by `IgnoreJob`.
|
1157
|
+
class IgnoreJobRequest
|
1158
|
+
include Google::Apis::Core::Hashable
|
1159
|
+
|
1160
|
+
# Required. The job ID for the Job to ignore.
|
1161
|
+
# Corresponds to the JSON property `jobId`
|
1162
|
+
# @return [String]
|
1163
|
+
attr_accessor :job_id
|
1164
|
+
|
1165
|
+
# Required. The phase ID the Job to ignore belongs to.
|
1166
|
+
# Corresponds to the JSON property `phaseId`
|
1167
|
+
# @return [String]
|
1168
|
+
attr_accessor :phase_id
|
1169
|
+
|
1170
|
+
def initialize(**args)
|
1171
|
+
update!(**args)
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
# Update properties of this object
|
1175
|
+
def update!(**args)
|
1176
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
1177
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# The response object from `IgnoreJob`.
|
1182
|
+
class IgnoreJobResponse
|
1183
|
+
include Google::Apis::Core::Hashable
|
1184
|
+
|
1185
|
+
def initialize(**args)
|
1186
|
+
update!(**args)
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Update properties of this object
|
1190
|
+
def update!(**args)
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
943
1194
|
# Job represents an operation for a `Rollout`.
|
944
1195
|
class Job
|
945
1196
|
include Google::Apis::Core::Hashable
|
@@ -970,6 +1221,11 @@ module Google
|
|
970
1221
|
# @return [String]
|
971
1222
|
attr_accessor :job_run
|
972
1223
|
|
1224
|
+
# Output only. Additional information on why the Job was skipped, if available.
|
1225
|
+
# Corresponds to the JSON property `skipMessage`
|
1226
|
+
# @return [String]
|
1227
|
+
attr_accessor :skip_message
|
1228
|
+
|
973
1229
|
# Output only. The current state of the Job.
|
974
1230
|
# Corresponds to the JSON property `state`
|
975
1231
|
# @return [String]
|
@@ -991,6 +1247,7 @@ module Google
|
|
991
1247
|
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
992
1248
|
@id = args[:id] if args.key?(:id)
|
993
1249
|
@job_run = args[:job_run] if args.key?(:job_run)
|
1250
|
+
@skip_message = args[:skip_message] if args.key?(:skip_message)
|
994
1251
|
@state = args[:state] if args.key?(:state)
|
995
1252
|
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
996
1253
|
end
|
@@ -1151,6 +1408,31 @@ module Google
|
|
1151
1408
|
end
|
1152
1409
|
end
|
1153
1410
|
|
1411
|
+
# KubernetesConfig contains the Kubernetes runtime configuration.
|
1412
|
+
class KubernetesConfig
|
1413
|
+
include Google::Apis::Core::Hashable
|
1414
|
+
|
1415
|
+
# Information about the Kubernetes Gateway API service mesh configuration.
|
1416
|
+
# Corresponds to the JSON property `gatewayServiceMesh`
|
1417
|
+
# @return [Google::Apis::ClouddeployV1::GatewayServiceMesh]
|
1418
|
+
attr_accessor :gateway_service_mesh
|
1419
|
+
|
1420
|
+
# Information about the Kubernetes Service networking configuration.
|
1421
|
+
# Corresponds to the JSON property `serviceNetworking`
|
1422
|
+
# @return [Google::Apis::ClouddeployV1::ServiceNetworking]
|
1423
|
+
attr_accessor :service_networking
|
1424
|
+
|
1425
|
+
def initialize(**args)
|
1426
|
+
update!(**args)
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Update properties of this object
|
1430
|
+
def update!(**args)
|
1431
|
+
@gateway_service_mesh = args[:gateway_service_mesh] if args.key?(:gateway_service_mesh)
|
1432
|
+
@service_networking = args[:service_networking] if args.key?(:service_networking)
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1154
1436
|
# The response object from `ListDeliveryPipelines`.
|
1155
1437
|
class ListDeliveryPipelinesResponse
|
1156
1438
|
include Google::Apis::Core::Hashable
|
@@ -1587,6 +1869,11 @@ module Google
|
|
1587
1869
|
# @return [String]
|
1588
1870
|
attr_accessor :id
|
1589
1871
|
|
1872
|
+
# Output only. Additional information on why the Phase was skipped, if available.
|
1873
|
+
# Corresponds to the JSON property `skipMessage`
|
1874
|
+
# @return [String]
|
1875
|
+
attr_accessor :skip_message
|
1876
|
+
|
1590
1877
|
# Output only. Current state of the Phase.
|
1591
1878
|
# Corresponds to the JSON property `state`
|
1592
1879
|
# @return [String]
|
@@ -1601,10 +1888,80 @@ module Google
|
|
1601
1888
|
@child_rollout_jobs = args[:child_rollout_jobs] if args.key?(:child_rollout_jobs)
|
1602
1889
|
@deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs)
|
1603
1890
|
@id = args[:id] if args.key?(:id)
|
1891
|
+
@skip_message = args[:skip_message] if args.key?(:skip_message)
|
1604
1892
|
@state = args[:state] if args.key?(:state)
|
1605
1893
|
end
|
1606
1894
|
end
|
1607
1895
|
|
1896
|
+
# Contains the paths to the artifacts, relative to the URI, for a phase.
|
1897
|
+
class PhaseArtifact
|
1898
|
+
include Google::Apis::Core::Hashable
|
1899
|
+
|
1900
|
+
# Output only. File path of the rendered manifest relative to the URI.
|
1901
|
+
# Corresponds to the JSON property `manifestPath`
|
1902
|
+
# @return [String]
|
1903
|
+
attr_accessor :manifest_path
|
1904
|
+
|
1905
|
+
# Output only. File path of the resolved Skaffold configuration relative to the
|
1906
|
+
# URI.
|
1907
|
+
# Corresponds to the JSON property `skaffoldConfigPath`
|
1908
|
+
# @return [String]
|
1909
|
+
attr_accessor :skaffold_config_path
|
1910
|
+
|
1911
|
+
def initialize(**args)
|
1912
|
+
update!(**args)
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
# Update properties of this object
|
1916
|
+
def update!(**args)
|
1917
|
+
@manifest_path = args[:manifest_path] if args.key?(:manifest_path)
|
1918
|
+
@skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path)
|
1919
|
+
end
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# PhaseConfig represents the configuration for a phase in the custom canary
|
1923
|
+
# deployment.
|
1924
|
+
class PhaseConfig
|
1925
|
+
include Google::Apis::Core::Hashable
|
1926
|
+
|
1927
|
+
# Required. Percentage deployment for the phase.
|
1928
|
+
# Corresponds to the JSON property `percentage`
|
1929
|
+
# @return [Fixnum]
|
1930
|
+
attr_accessor :percentage
|
1931
|
+
|
1932
|
+
# Required. The ID to assign to the `Rollout` phase. This value must consist of
|
1933
|
+
# lower-case letters, numbers, and hyphens, start with a letter and end with a
|
1934
|
+
# letter or a number, and have a max length of 63 characters. In other words, it
|
1935
|
+
# must match the following regex: `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
|
1936
|
+
# Corresponds to the JSON property `phaseId`
|
1937
|
+
# @return [String]
|
1938
|
+
attr_accessor :phase_id
|
1939
|
+
|
1940
|
+
# Skaffold profiles to use when rendering the manifest for this phase. These are
|
1941
|
+
# in addition to the profiles list specified in the `DeliveryPipeline` stage.
|
1942
|
+
# Corresponds to the JSON property `profiles`
|
1943
|
+
# @return [Array<String>]
|
1944
|
+
attr_accessor :profiles
|
1945
|
+
|
1946
|
+
# Whether to run verify tests after the deployment.
|
1947
|
+
# Corresponds to the JSON property `verify`
|
1948
|
+
# @return [Boolean]
|
1949
|
+
attr_accessor :verify
|
1950
|
+
alias_method :verify?, :verify
|
1951
|
+
|
1952
|
+
def initialize(**args)
|
1953
|
+
update!(**args)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Update properties of this object
|
1957
|
+
def update!(**args)
|
1958
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
1959
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
1960
|
+
@profiles = args[:profiles] if args.key?(:profiles)
|
1961
|
+
@verify = args[:verify] if args.key?(:verify)
|
1962
|
+
end
|
1963
|
+
end
|
1964
|
+
|
1608
1965
|
# PipelineCondition contains all conditions relevant to a Delivery Pipeline.
|
1609
1966
|
class PipelineCondition
|
1610
1967
|
include Google::Apis::Core::Hashable
|
@@ -2062,6 +2419,26 @@ module Google
|
|
2062
2419
|
end
|
2063
2420
|
end
|
2064
2421
|
|
2422
|
+
# RenderMetadata includes information associated with a `Release` render.
|
2423
|
+
class RenderMetadata
|
2424
|
+
include Google::Apis::Core::Hashable
|
2425
|
+
|
2426
|
+
# CloudRunRenderMetadata contains Cloud Run information associated with a `
|
2427
|
+
# Release` render.
|
2428
|
+
# Corresponds to the JSON property `cloudRun`
|
2429
|
+
# @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
|
2430
|
+
attr_accessor :cloud_run
|
2431
|
+
|
2432
|
+
def initialize(**args)
|
2433
|
+
update!(**args)
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
# Update properties of this object
|
2437
|
+
def update!(**args)
|
2438
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
2439
|
+
end
|
2440
|
+
end
|
2441
|
+
|
2065
2442
|
# RetryJobRequest is the request object used by `RetryJob`.
|
2066
2443
|
class RetryJobRequest
|
2067
2444
|
include Google::Apis::Core::Hashable
|
@@ -2302,6 +2679,32 @@ module Google
|
|
2302
2679
|
end
|
2303
2680
|
end
|
2304
2681
|
|
2682
|
+
# RuntimeConfig contains the runtime specific configurations for a deployment
|
2683
|
+
# strategy.
|
2684
|
+
class RuntimeConfig
|
2685
|
+
include Google::Apis::Core::Hashable
|
2686
|
+
|
2687
|
+
# CloudRunConfig contains the Cloud Run runtime configuration.
|
2688
|
+
# Corresponds to the JSON property `cloudRun`
|
2689
|
+
# @return [Google::Apis::ClouddeployV1::CloudRunConfig]
|
2690
|
+
attr_accessor :cloud_run
|
2691
|
+
|
2692
|
+
# KubernetesConfig contains the Kubernetes runtime configuration.
|
2693
|
+
# Corresponds to the JSON property `kubernetes`
|
2694
|
+
# @return [Google::Apis::ClouddeployV1::KubernetesConfig]
|
2695
|
+
attr_accessor :kubernetes
|
2696
|
+
|
2697
|
+
def initialize(**args)
|
2698
|
+
update!(**args)
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
# Update properties of this object
|
2702
|
+
def update!(**args)
|
2703
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
2704
|
+
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
2705
|
+
end
|
2706
|
+
end
|
2707
|
+
|
2305
2708
|
# SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
|
2306
2709
|
class SerialPipeline
|
2307
2710
|
include Google::Apis::Core::Hashable
|
@@ -2322,6 +2725,32 @@ module Google
|
|
2322
2725
|
end
|
2323
2726
|
end
|
2324
2727
|
|
2728
|
+
# Information about the Kubernetes Service networking configuration.
|
2729
|
+
class ServiceNetworking
|
2730
|
+
include Google::Apis::Core::Hashable
|
2731
|
+
|
2732
|
+
# Required. Name of the Kubernetes Deployment whose traffic is managed by the
|
2733
|
+
# specified Service.
|
2734
|
+
# Corresponds to the JSON property `deployment`
|
2735
|
+
# @return [String]
|
2736
|
+
attr_accessor :deployment
|
2737
|
+
|
2738
|
+
# Required. Name of the Kubernetes Service.
|
2739
|
+
# Corresponds to the JSON property `service`
|
2740
|
+
# @return [String]
|
2741
|
+
attr_accessor :service
|
2742
|
+
|
2743
|
+
def initialize(**args)
|
2744
|
+
update!(**args)
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
# Update properties of this object
|
2748
|
+
def update!(**args)
|
2749
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
2750
|
+
@service = args[:service] if args.key?(:service)
|
2751
|
+
end
|
2752
|
+
end
|
2753
|
+
|
2325
2754
|
# Request message for `SetIamPolicy` method.
|
2326
2755
|
class SetIamPolicyRequest
|
2327
2756
|
include Google::Apis::Core::Hashable
|
@@ -2558,6 +2987,11 @@ module Google
|
|
2558
2987
|
class Strategy
|
2559
2988
|
include Google::Apis::Core::Hashable
|
2560
2989
|
|
2990
|
+
# Canary represents the canary deployment strategy.
|
2991
|
+
# Corresponds to the JSON property `canary`
|
2992
|
+
# @return [Google::Apis::ClouddeployV1::Canary]
|
2993
|
+
attr_accessor :canary
|
2994
|
+
|
2561
2995
|
# Standard represents the standard deployment strategy.
|
2562
2996
|
# Corresponds to the JSON property `standard`
|
2563
2997
|
# @return [Google::Apis::ClouddeployV1::Standard]
|
@@ -2569,6 +3003,7 @@ module Google
|
|
2569
3003
|
|
2570
3004
|
# Update properties of this object
|
2571
3005
|
def update!(**args)
|
3006
|
+
@canary = args[:canary] if args.key?(:canary)
|
2572
3007
|
@standard = args[:standard] if args.key?(:standard)
|
2573
3008
|
end
|
2574
3009
|
end
|
@@ -2710,6 +3145,11 @@ module Google
|
|
2710
3145
|
# @return [String]
|
2711
3146
|
attr_accessor :manifest_path
|
2712
3147
|
|
3148
|
+
# Output only. Map from the phase ID to the phase artifacts for the `Target`.
|
3149
|
+
# Corresponds to the JSON property `phaseArtifacts`
|
3150
|
+
# @return [Hash<String,Google::Apis::ClouddeployV1::PhaseArtifact>]
|
3151
|
+
attr_accessor :phase_artifacts
|
3152
|
+
|
2713
3153
|
# Output only. File path of the resolved Skaffold configuration relative to the
|
2714
3154
|
# URI.
|
2715
3155
|
# Corresponds to the JSON property `skaffoldConfigPath`
|
@@ -2724,6 +3164,7 @@ module Google
|
|
2724
3164
|
def update!(**args)
|
2725
3165
|
@artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
|
2726
3166
|
@manifest_path = args[:manifest_path] if args.key?(:manifest_path)
|
3167
|
+
@phase_artifacts = args[:phase_artifacts] if args.key?(:phase_artifacts)
|
2727
3168
|
@skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path)
|
2728
3169
|
end
|
2729
3170
|
end
|
@@ -2776,6 +3217,11 @@ module Google
|
|
2776
3217
|
# @return [String]
|
2777
3218
|
attr_accessor :failure_message
|
2778
3219
|
|
3220
|
+
# RenderMetadata includes information associated with a `Release` render.
|
3221
|
+
# Corresponds to the JSON property `metadata`
|
3222
|
+
# @return [Google::Apis::ClouddeployV1::RenderMetadata]
|
3223
|
+
attr_accessor :metadata
|
3224
|
+
|
2779
3225
|
# Output only. The resource name of the Cloud Build `Build` object that is used
|
2780
3226
|
# to render the manifest for this target. Format is `projects/`project`/
|
2781
3227
|
# locations/`location`/builds/`build``.
|
@@ -2796,6 +3242,7 @@ module Google
|
|
2796
3242
|
def update!(**args)
|
2797
3243
|
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2798
3244
|
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
3245
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2799
3246
|
@rendering_build = args[:rendering_build] if args.key?(:rendering_build)
|
2800
3247
|
@rendering_state = args[:rendering_state] if args.key?(:rendering_state)
|
2801
3248
|
end
|
@@ -2864,6 +3311,32 @@ module Google
|
|
2864
3311
|
end
|
2865
3312
|
end
|
2866
3313
|
|
3314
|
+
# The request object used by `TerminateJobRun`.
|
3315
|
+
class TerminateJobRunRequest
|
3316
|
+
include Google::Apis::Core::Hashable
|
3317
|
+
|
3318
|
+
def initialize(**args)
|
3319
|
+
update!(**args)
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
# Update properties of this object
|
3323
|
+
def update!(**args)
|
3324
|
+
end
|
3325
|
+
end
|
3326
|
+
|
3327
|
+
# The response object from `TerminateJobRun`.
|
3328
|
+
class TerminateJobRunResponse
|
3329
|
+
include Google::Apis::Core::Hashable
|
3330
|
+
|
3331
|
+
def initialize(**args)
|
3332
|
+
update!(**args)
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
# Update properties of this object
|
3336
|
+
def update!(**args)
|
3337
|
+
end
|
3338
|
+
end
|
3339
|
+
|
2867
3340
|
# Request message for `TestIamPermissions` method.
|
2868
3341
|
class TestIamPermissionsRequest
|
2869
3342
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ClouddeployV1
|
18
18
|
# Version of the google-apis-clouddeploy_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230315"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,18 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AdvanceRolloutRequest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class AdvanceRolloutResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
49
61
|
class AnthosCluster
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
63
|
|
@@ -88,18 +100,48 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class Canary
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class CanaryDeployment
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
91
115
|
class CancelOperationRequest
|
92
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
117
|
|
94
118
|
include Google::Apis::Core::JsonObjectSupport
|
95
119
|
end
|
96
120
|
|
121
|
+
class CancelRolloutRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class CancelRolloutResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
97
133
|
class ChildRolloutJobs
|
98
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
135
|
|
100
136
|
include Google::Apis::Core::JsonObjectSupport
|
101
137
|
end
|
102
138
|
|
139
|
+
class CloudRunConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
103
145
|
class CloudRunLocation
|
104
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
147
|
|
@@ -112,6 +154,12 @@ module Google
|
|
112
154
|
include Google::Apis::Core::JsonObjectSupport
|
113
155
|
end
|
114
156
|
|
157
|
+
class CloudRunRenderMetadata
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
115
163
|
class Config
|
116
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
165
|
|
@@ -130,6 +178,12 @@ module Google
|
|
130
178
|
include Google::Apis::Core::JsonObjectSupport
|
131
179
|
end
|
132
180
|
|
181
|
+
class CustomCanaryDeployment
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
133
187
|
class Date
|
134
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
189
|
|
@@ -196,12 +250,30 @@ module Google
|
|
196
250
|
include Google::Apis::Core::JsonObjectSupport
|
197
251
|
end
|
198
252
|
|
253
|
+
class GatewayServiceMesh
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
199
259
|
class GkeCluster
|
200
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
261
|
|
202
262
|
include Google::Apis::Core::JsonObjectSupport
|
203
263
|
end
|
204
264
|
|
265
|
+
class IgnoreJobRequest
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class IgnoreJobResponse
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
205
277
|
class Job
|
206
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
279
|
|
@@ -220,6 +292,12 @@ module Google
|
|
220
292
|
include Google::Apis::Core::JsonObjectSupport
|
221
293
|
end
|
222
294
|
|
295
|
+
class KubernetesConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
223
301
|
class ListDeliveryPipelinesResponse
|
224
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
303
|
|
@@ -298,6 +376,18 @@ module Google
|
|
298
376
|
include Google::Apis::Core::JsonObjectSupport
|
299
377
|
end
|
300
378
|
|
379
|
+
class PhaseArtifact
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class PhaseConfig
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
301
391
|
class PipelineCondition
|
302
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
393
|
|
@@ -352,6 +442,12 @@ module Google
|
|
352
442
|
include Google::Apis::Core::JsonObjectSupport
|
353
443
|
end
|
354
444
|
|
445
|
+
class RenderMetadata
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
355
451
|
class RetryJobRequest
|
356
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
453
|
|
@@ -376,12 +472,24 @@ module Google
|
|
376
472
|
include Google::Apis::Core::JsonObjectSupport
|
377
473
|
end
|
378
474
|
|
475
|
+
class RuntimeConfig
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
379
481
|
class SerialPipeline
|
380
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
483
|
|
382
484
|
include Google::Apis::Core::JsonObjectSupport
|
383
485
|
end
|
384
486
|
|
487
|
+
class ServiceNetworking
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
385
493
|
class SetIamPolicyRequest
|
386
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
495
|
|
@@ -460,6 +568,18 @@ module Google
|
|
460
568
|
include Google::Apis::Core::JsonObjectSupport
|
461
569
|
end
|
462
570
|
|
571
|
+
class TerminateJobRunRequest
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
577
|
+
class TerminateJobRunResponse
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
463
583
|
class TestIamPermissionsRequest
|
464
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
585
|
|
@@ -510,6 +630,19 @@ module Google
|
|
510
630
|
end
|
511
631
|
end
|
512
632
|
|
633
|
+
class AdvanceRolloutRequest
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :phase_id, as: 'phaseId'
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class AdvanceRolloutResponse
|
641
|
+
# @private
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
513
646
|
class AnthosCluster
|
514
647
|
# @private
|
515
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,12 +698,44 @@ module Google
|
|
565
698
|
end
|
566
699
|
end
|
567
700
|
|
701
|
+
class Canary
|
702
|
+
# @private
|
703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
704
|
+
property :canary_deployment, as: 'canaryDeployment', class: Google::Apis::ClouddeployV1::CanaryDeployment, decorator: Google::Apis::ClouddeployV1::CanaryDeployment::Representation
|
705
|
+
|
706
|
+
property :custom_canary_deployment, as: 'customCanaryDeployment', class: Google::Apis::ClouddeployV1::CustomCanaryDeployment, decorator: Google::Apis::ClouddeployV1::CustomCanaryDeployment::Representation
|
707
|
+
|
708
|
+
property :runtime_config, as: 'runtimeConfig', class: Google::Apis::ClouddeployV1::RuntimeConfig, decorator: Google::Apis::ClouddeployV1::RuntimeConfig::Representation
|
709
|
+
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
class CanaryDeployment
|
714
|
+
# @private
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
716
|
+
collection :percentages, as: 'percentages'
|
717
|
+
property :verify, as: 'verify'
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
568
721
|
class CancelOperationRequest
|
569
722
|
# @private
|
570
723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
571
724
|
end
|
572
725
|
end
|
573
726
|
|
727
|
+
class CancelRolloutRequest
|
728
|
+
# @private
|
729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|
733
|
+
class CancelRolloutResponse
|
734
|
+
# @private
|
735
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
574
739
|
class ChildRolloutJobs
|
575
740
|
# @private
|
576
741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -581,6 +746,13 @@ module Google
|
|
581
746
|
end
|
582
747
|
end
|
583
748
|
|
749
|
+
class CloudRunConfig
|
750
|
+
# @private
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
property :automatic_traffic_control, as: 'automaticTrafficControl'
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
584
756
|
class CloudRunLocation
|
585
757
|
# @private
|
586
758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -597,6 +769,13 @@ module Google
|
|
597
769
|
end
|
598
770
|
end
|
599
771
|
|
772
|
+
class CloudRunRenderMetadata
|
773
|
+
# @private
|
774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
775
|
+
property :service, as: 'service'
|
776
|
+
end
|
777
|
+
end
|
778
|
+
|
600
779
|
class Config
|
601
780
|
# @private
|
602
781
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -621,6 +800,14 @@ module Google
|
|
621
800
|
end
|
622
801
|
end
|
623
802
|
|
803
|
+
class CustomCanaryDeployment
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
collection :phase_configs, as: 'phaseConfigs', class: Google::Apis::ClouddeployV1::PhaseConfig, decorator: Google::Apis::ClouddeployV1::PhaseConfig::Representation
|
807
|
+
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
624
811
|
class Date
|
625
812
|
# @private
|
626
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -732,6 +919,15 @@ module Google
|
|
732
919
|
end
|
733
920
|
end
|
734
921
|
|
922
|
+
class GatewayServiceMesh
|
923
|
+
# @private
|
924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
925
|
+
property :deployment, as: 'deployment'
|
926
|
+
property :http_route, as: 'httpRoute'
|
927
|
+
property :service, as: 'service'
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
735
931
|
class GkeCluster
|
736
932
|
# @private
|
737
933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -740,6 +936,20 @@ module Google
|
|
740
936
|
end
|
741
937
|
end
|
742
938
|
|
939
|
+
class IgnoreJobRequest
|
940
|
+
# @private
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
942
|
+
property :job_id, as: 'jobId'
|
943
|
+
property :phase_id, as: 'phaseId'
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
class IgnoreJobResponse
|
948
|
+
# @private
|
949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
743
953
|
class Job
|
744
954
|
# @private
|
745
955
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -751,6 +961,7 @@ module Google
|
|
751
961
|
|
752
962
|
property :id, as: 'id'
|
753
963
|
property :job_run, as: 'jobRun'
|
964
|
+
property :skip_message, as: 'skipMessage'
|
754
965
|
property :state, as: 'state'
|
755
966
|
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::VerifyJob, decorator: Google::Apis::ClouddeployV1::VerifyJob::Representation
|
756
967
|
|
@@ -793,6 +1004,16 @@ module Google
|
|
793
1004
|
end
|
794
1005
|
end
|
795
1006
|
|
1007
|
+
class KubernetesConfig
|
1008
|
+
# @private
|
1009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1010
|
+
property :gateway_service_mesh, as: 'gatewayServiceMesh', class: Google::Apis::ClouddeployV1::GatewayServiceMesh, decorator: Google::Apis::ClouddeployV1::GatewayServiceMesh::Representation
|
1011
|
+
|
1012
|
+
property :service_networking, as: 'serviceNetworking', class: Google::Apis::ClouddeployV1::ServiceNetworking, decorator: Google::Apis::ClouddeployV1::ServiceNetworking::Representation
|
1013
|
+
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
796
1017
|
class ListDeliveryPipelinesResponse
|
797
1018
|
# @private
|
798
1019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -920,10 +1141,29 @@ module Google
|
|
920
1141
|
property :deployment_jobs, as: 'deploymentJobs', class: Google::Apis::ClouddeployV1::DeploymentJobs, decorator: Google::Apis::ClouddeployV1::DeploymentJobs::Representation
|
921
1142
|
|
922
1143
|
property :id, as: 'id'
|
1144
|
+
property :skip_message, as: 'skipMessage'
|
923
1145
|
property :state, as: 'state'
|
924
1146
|
end
|
925
1147
|
end
|
926
1148
|
|
1149
|
+
class PhaseArtifact
|
1150
|
+
# @private
|
1151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1152
|
+
property :manifest_path, as: 'manifestPath'
|
1153
|
+
property :skaffold_config_path, as: 'skaffoldConfigPath'
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
class PhaseConfig
|
1158
|
+
# @private
|
1159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1160
|
+
property :percentage, as: 'percentage'
|
1161
|
+
property :phase_id, as: 'phaseId'
|
1162
|
+
collection :profiles, as: 'profiles'
|
1163
|
+
property :verify, as: 'verify'
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
927
1167
|
class PipelineCondition
|
928
1168
|
# @private
|
929
1169
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1031,6 +1271,14 @@ module Google
|
|
1031
1271
|
end
|
1032
1272
|
end
|
1033
1273
|
|
1274
|
+
class RenderMetadata
|
1275
|
+
# @private
|
1276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1277
|
+
property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunRenderMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunRenderMetadata::Representation
|
1278
|
+
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
|
1034
1282
|
class RetryJobRequest
|
1035
1283
|
# @private
|
1036
1284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1085,6 +1333,16 @@ module Google
|
|
1085
1333
|
end
|
1086
1334
|
end
|
1087
1335
|
|
1336
|
+
class RuntimeConfig
|
1337
|
+
# @private
|
1338
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1339
|
+
property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunConfig, decorator: Google::Apis::ClouddeployV1::CloudRunConfig::Representation
|
1340
|
+
|
1341
|
+
property :kubernetes, as: 'kubernetes', class: Google::Apis::ClouddeployV1::KubernetesConfig, decorator: Google::Apis::ClouddeployV1::KubernetesConfig::Representation
|
1342
|
+
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1088
1346
|
class SerialPipeline
|
1089
1347
|
# @private
|
1090
1348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1351,14 @@ module Google
|
|
1093
1351
|
end
|
1094
1352
|
end
|
1095
1353
|
|
1354
|
+
class ServiceNetworking
|
1355
|
+
# @private
|
1356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1357
|
+
property :deployment, as: 'deployment'
|
1358
|
+
property :service, as: 'service'
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1096
1362
|
class SetIamPolicyRequest
|
1097
1363
|
# @private
|
1098
1364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1152,6 +1418,8 @@ module Google
|
|
1152
1418
|
class Strategy
|
1153
1419
|
# @private
|
1154
1420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1421
|
+
property :canary, as: 'canary', class: Google::Apis::ClouddeployV1::Canary, decorator: Google::Apis::ClouddeployV1::Canary::Representation
|
1422
|
+
|
1155
1423
|
property :standard, as: 'standard', class: Google::Apis::ClouddeployV1::Standard, decorator: Google::Apis::ClouddeployV1::Standard::Representation
|
1156
1424
|
|
1157
1425
|
end
|
@@ -1188,6 +1456,8 @@ module Google
|
|
1188
1456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1189
1457
|
property :artifact_uri, as: 'artifactUri'
|
1190
1458
|
property :manifest_path, as: 'manifestPath'
|
1459
|
+
hash :phase_artifacts, as: 'phaseArtifacts', class: Google::Apis::ClouddeployV1::PhaseArtifact, decorator: Google::Apis::ClouddeployV1::PhaseArtifact::Representation
|
1460
|
+
|
1191
1461
|
property :skaffold_config_path, as: 'skaffoldConfigPath'
|
1192
1462
|
end
|
1193
1463
|
end
|
@@ -1206,6 +1476,8 @@ module Google
|
|
1206
1476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1207
1477
|
property :failure_cause, as: 'failureCause'
|
1208
1478
|
property :failure_message, as: 'failureMessage'
|
1479
|
+
property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::RenderMetadata, decorator: Google::Apis::ClouddeployV1::RenderMetadata::Representation
|
1480
|
+
|
1209
1481
|
property :rendering_build, as: 'renderingBuild'
|
1210
1482
|
property :rendering_state, as: 'renderingState'
|
1211
1483
|
end
|
@@ -1228,6 +1500,18 @@ module Google
|
|
1228
1500
|
end
|
1229
1501
|
end
|
1230
1502
|
|
1503
|
+
class TerminateJobRunRequest
|
1504
|
+
# @private
|
1505
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
class TerminateJobRunResponse
|
1510
|
+
# @private
|
1511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1231
1515
|
class TestIamPermissionsRequest
|
1232
1516
|
# @private
|
1233
1517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -698,6 +698,41 @@ module Google
|
|
698
698
|
execute_or_queue_command(command, &block)
|
699
699
|
end
|
700
700
|
|
701
|
+
# Advances a Rollout in a given project and location.
|
702
|
+
# @param [String] name
|
703
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
704
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
705
|
+
# rollout`.
|
706
|
+
# @param [Google::Apis::ClouddeployV1::AdvanceRolloutRequest] advance_rollout_request_object
|
707
|
+
# @param [String] fields
|
708
|
+
# Selector specifying which fields to include in a partial response.
|
709
|
+
# @param [String] quota_user
|
710
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
711
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
712
|
+
# @param [Google::Apis::RequestOptions] options
|
713
|
+
# Request-specific options
|
714
|
+
#
|
715
|
+
# @yield [result, err] Result & error if block supplied
|
716
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::AdvanceRolloutResponse] parsed result object
|
717
|
+
# @yieldparam err [StandardError] error object if request failed
|
718
|
+
#
|
719
|
+
# @return [Google::Apis::ClouddeployV1::AdvanceRolloutResponse]
|
720
|
+
#
|
721
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
722
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
723
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
724
|
+
def advance_rollout(name, advance_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
725
|
+
command = make_simple_command(:post, 'v1/{+name}:advance', options)
|
726
|
+
command.request_representation = Google::Apis::ClouddeployV1::AdvanceRolloutRequest::Representation
|
727
|
+
command.request_object = advance_rollout_request_object
|
728
|
+
command.response_representation = Google::Apis::ClouddeployV1::AdvanceRolloutResponse::Representation
|
729
|
+
command.response_class = Google::Apis::ClouddeployV1::AdvanceRolloutResponse
|
730
|
+
command.params['name'] = name unless name.nil?
|
731
|
+
command.query['fields'] = fields unless fields.nil?
|
732
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
733
|
+
execute_or_queue_command(command, &block)
|
734
|
+
end
|
735
|
+
|
701
736
|
# Approves a Rollout.
|
702
737
|
# @param [String] name
|
703
738
|
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
@@ -733,6 +768,41 @@ module Google
|
|
733
768
|
execute_or_queue_command(command, &block)
|
734
769
|
end
|
735
770
|
|
771
|
+
# Cancels a Rollout in a given project and location.
|
772
|
+
# @param [String] name
|
773
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
774
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
775
|
+
# rollout`.
|
776
|
+
# @param [Google::Apis::ClouddeployV1::CancelRolloutRequest] cancel_rollout_request_object
|
777
|
+
# @param [String] fields
|
778
|
+
# Selector specifying which fields to include in a partial response.
|
779
|
+
# @param [String] quota_user
|
780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
782
|
+
# @param [Google::Apis::RequestOptions] options
|
783
|
+
# Request-specific options
|
784
|
+
#
|
785
|
+
# @yield [result, err] Result & error if block supplied
|
786
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::CancelRolloutResponse] parsed result object
|
787
|
+
# @yieldparam err [StandardError] error object if request failed
|
788
|
+
#
|
789
|
+
# @return [Google::Apis::ClouddeployV1::CancelRolloutResponse]
|
790
|
+
#
|
791
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
792
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
|
+
def cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
795
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
796
|
+
command.request_representation = Google::Apis::ClouddeployV1::CancelRolloutRequest::Representation
|
797
|
+
command.request_object = cancel_rollout_request_object
|
798
|
+
command.response_representation = Google::Apis::ClouddeployV1::CancelRolloutResponse::Representation
|
799
|
+
command.response_class = Google::Apis::ClouddeployV1::CancelRolloutResponse
|
800
|
+
command.params['name'] = name unless name.nil?
|
801
|
+
command.query['fields'] = fields unless fields.nil?
|
802
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
803
|
+
execute_or_queue_command(command, &block)
|
804
|
+
end
|
805
|
+
|
736
806
|
# Creates a new Rollout in a given project and location.
|
737
807
|
# @param [String] parent
|
738
808
|
# Required. The parent collection in which the `Rollout` should be created.
|
@@ -823,6 +893,41 @@ module Google
|
|
823
893
|
execute_or_queue_command(command, &block)
|
824
894
|
end
|
825
895
|
|
896
|
+
# Ignores the specified Job in a Rollout.
|
897
|
+
# @param [String] rollout
|
898
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
899
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
900
|
+
# rollout`.
|
901
|
+
# @param [Google::Apis::ClouddeployV1::IgnoreJobRequest] ignore_job_request_object
|
902
|
+
# @param [String] fields
|
903
|
+
# Selector specifying which fields to include in a partial response.
|
904
|
+
# @param [String] quota_user
|
905
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
906
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
907
|
+
# @param [Google::Apis::RequestOptions] options
|
908
|
+
# Request-specific options
|
909
|
+
#
|
910
|
+
# @yield [result, err] Result & error if block supplied
|
911
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::IgnoreJobResponse] parsed result object
|
912
|
+
# @yieldparam err [StandardError] error object if request failed
|
913
|
+
#
|
914
|
+
# @return [Google::Apis::ClouddeployV1::IgnoreJobResponse]
|
915
|
+
#
|
916
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
917
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
|
+
def ignore_rollout_job(rollout, ignore_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
+
command = make_simple_command(:post, 'v1/{+rollout}:ignoreJob', options)
|
921
|
+
command.request_representation = Google::Apis::ClouddeployV1::IgnoreJobRequest::Representation
|
922
|
+
command.request_object = ignore_job_request_object
|
923
|
+
command.response_representation = Google::Apis::ClouddeployV1::IgnoreJobResponse::Representation
|
924
|
+
command.response_class = Google::Apis::ClouddeployV1::IgnoreJobResponse
|
925
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
926
|
+
command.query['fields'] = fields unless fields.nil?
|
927
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
928
|
+
execute_or_queue_command(command, &block)
|
929
|
+
end
|
930
|
+
|
826
931
|
# Lists Rollouts in a given project and location.
|
827
932
|
# @param [String] parent
|
828
933
|
# Required. The `Release` which owns this collection of `Rollout` objects.
|
@@ -987,6 +1092,41 @@ module Google
|
|
987
1092
|
execute_or_queue_command(command, &block)
|
988
1093
|
end
|
989
1094
|
|
1095
|
+
# Terminates a Job Run in a given project and location.
|
1096
|
+
# @param [String] name
|
1097
|
+
# Required. Name of the `JobRun`. Format must be projects/`project`/locations/`
|
1098
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
1099
|
+
# rollout`/jobRuns/`jobRun`.
|
1100
|
+
# @param [Google::Apis::ClouddeployV1::TerminateJobRunRequest] terminate_job_run_request_object
|
1101
|
+
# @param [String] fields
|
1102
|
+
# Selector specifying which fields to include in a partial response.
|
1103
|
+
# @param [String] quota_user
|
1104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1106
|
+
# @param [Google::Apis::RequestOptions] options
|
1107
|
+
# Request-specific options
|
1108
|
+
#
|
1109
|
+
# @yield [result, err] Result & error if block supplied
|
1110
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::TerminateJobRunResponse] parsed result object
|
1111
|
+
# @yieldparam err [StandardError] error object if request failed
|
1112
|
+
#
|
1113
|
+
# @return [Google::Apis::ClouddeployV1::TerminateJobRunResponse]
|
1114
|
+
#
|
1115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1118
|
+
def terminate_job_run(name, terminate_job_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1119
|
+
command = make_simple_command(:post, 'v1/{+name}:terminate', options)
|
1120
|
+
command.request_representation = Google::Apis::ClouddeployV1::TerminateJobRunRequest::Representation
|
1121
|
+
command.request_object = terminate_job_run_request_object
|
1122
|
+
command.response_representation = Google::Apis::ClouddeployV1::TerminateJobRunResponse::Representation
|
1123
|
+
command.response_class = Google::Apis::ClouddeployV1::TerminateJobRunResponse
|
1124
|
+
command.params['name'] = name unless name.nil?
|
1125
|
+
command.query['fields'] = fields unless fields.nil?
|
1126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1127
|
+
execute_or_queue_command(command, &block)
|
1128
|
+
end
|
1129
|
+
|
990
1130
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
991
1131
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
992
1132
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1092,13 +1232,7 @@ module Google
|
|
1092
1232
|
end
|
1093
1233
|
|
1094
1234
|
# Lists operations that match the specified filter in the request. If the server
|
1095
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1096
|
-
# binding allows API services to override the binding to use different resource
|
1097
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1098
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1099
|
-
# service configuration. For backwards compatibility, the default name includes
|
1100
|
-
# the operations collection id, however overriding users must ensure the name
|
1101
|
-
# binding is the parent resource, without the operations collection id.
|
1235
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1102
1236
|
# @param [String] name
|
1103
1237
|
# The name of the operation's parent resource.
|
1104
1238
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-clouddeploy_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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: 2023-
|
11
|
+
date: 2023-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|