google-cloud-deploy-v1 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +10 -1
- data/lib/google/cloud/deploy/v1/cloud_deploy/operations.rb +10 -1
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb +492 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/operations.rb +75 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +9 -1
- data/lib/google/cloud/deploy/v1/log_enums_pb.rb +1 -1
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +206 -37
- data/proto_docs/google/cloud/deploy/v1/log_enums.rb +6 -0
- metadata +5 -5
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Deploy
|
23
23
|
module V1
|
24
|
-
# A `DeliveryPipeline` resource in the
|
24
|
+
# A `DeliveryPipeline` resource in the Cloud Deploy API.
|
25
25
|
#
|
26
26
|
# A `DeliveryPipeline` defines a pipeline through which a Skaffold
|
27
27
|
# configuration can progress.
|
@@ -38,12 +38,11 @@ module Google
|
|
38
38
|
# @!attribute [rw] annotations
|
39
39
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
40
40
|
# User annotations. These attributes can only be set and used by the
|
41
|
-
# user, and not by
|
41
|
+
# user, and not by Cloud Deploy.
|
42
42
|
# @!attribute [rw] labels
|
43
43
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
44
44
|
# Labels are attributes that can be set and used by both the
|
45
|
-
# user and by
|
46
|
-
# constraints:
|
45
|
+
# user and by Cloud Deploy. Labels must meet the following constraints:
|
47
46
|
#
|
48
47
|
# * Keys and values can contain only lowercase letters, numeric characters,
|
49
48
|
# underscores, and dashes.
|
@@ -178,10 +177,38 @@ module Google
|
|
178
177
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
178
|
end
|
180
179
|
|
180
|
+
# Predeploy contains the predeploy job configuration information.
|
181
|
+
# @!attribute [rw] actions
|
182
|
+
# @return [::Array<::String>]
|
183
|
+
# Optional. A sequence of skaffold custom actions to invoke during execution
|
184
|
+
# of the predeploy job.
|
185
|
+
class Predeploy
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
|
190
|
+
# Postdeploy contains the postdeploy job configuration information.
|
191
|
+
# @!attribute [rw] actions
|
192
|
+
# @return [::Array<::String>]
|
193
|
+
# Optional. A sequence of skaffold custom actions to invoke during execution
|
194
|
+
# of the postdeploy job.
|
195
|
+
class Postdeploy
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
end
|
199
|
+
|
181
200
|
# Standard represents the standard deployment strategy.
|
182
201
|
# @!attribute [rw] verify
|
183
202
|
# @return [::Boolean]
|
184
203
|
# Whether to verify a deployment.
|
204
|
+
# @!attribute [rw] predeploy
|
205
|
+
# @return [::Google::Cloud::Deploy::V1::Predeploy]
|
206
|
+
# Optional. Configuration for the predeploy job. If this is not configured,
|
207
|
+
# predeploy job will not be present.
|
208
|
+
# @!attribute [rw] postdeploy
|
209
|
+
# @return [::Google::Cloud::Deploy::V1::Postdeploy]
|
210
|
+
# Optional. Configuration for the postdeploy job. If this is not configured,
|
211
|
+
# postdeploy job will not be present.
|
185
212
|
class Standard
|
186
213
|
include ::Google::Protobuf::MessageExts
|
187
214
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -215,6 +242,14 @@ module Google
|
|
215
242
|
# @!attribute [rw] verify
|
216
243
|
# @return [::Boolean]
|
217
244
|
# Whether to run verify tests after each percentage deployment.
|
245
|
+
# @!attribute [rw] predeploy
|
246
|
+
# @return [::Google::Cloud::Deploy::V1::Predeploy]
|
247
|
+
# Optional. Configuration for the predeploy job of the first phase. If this
|
248
|
+
# is not configured, predeploy job will not be present.
|
249
|
+
# @!attribute [rw] postdeploy
|
250
|
+
# @return [::Google::Cloud::Deploy::V1::Postdeploy]
|
251
|
+
# Optional. Configuration for the postdeploy job of the last phase. If this
|
252
|
+
# is not configured, postdeploy job will not be present.
|
218
253
|
class CanaryDeployment
|
219
254
|
include ::Google::Protobuf::MessageExts
|
220
255
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -250,6 +285,14 @@ module Google
|
|
250
285
|
# @!attribute [rw] verify
|
251
286
|
# @return [::Boolean]
|
252
287
|
# Whether to run verify tests after the deployment.
|
288
|
+
# @!attribute [rw] predeploy
|
289
|
+
# @return [::Google::Cloud::Deploy::V1::Predeploy]
|
290
|
+
# Optional. Configuration for the predeploy job of this phase. If this is
|
291
|
+
# not configured, predeploy job will not be present for this phase.
|
292
|
+
# @!attribute [rw] postdeploy
|
293
|
+
# @return [::Google::Cloud::Deploy::V1::Postdeploy]
|
294
|
+
# Optional. Configuration for the postdeploy job of this phase. If this is
|
295
|
+
# not configured, postdeploy job will not be present for this phase.
|
253
296
|
class PhaseConfig
|
254
297
|
include ::Google::Protobuf::MessageExts
|
255
298
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -570,7 +613,7 @@ module Google
|
|
570
613
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
571
614
|
end
|
572
615
|
|
573
|
-
# A `Target` resource in the
|
616
|
+
# A `Target` resource in the Cloud Deploy API.
|
574
617
|
#
|
575
618
|
# A `Target` defines a location to which a Skaffold configuration
|
576
619
|
# can be deployed.
|
@@ -590,14 +633,13 @@ module Google
|
|
590
633
|
# @!attribute [rw] annotations
|
591
634
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
592
635
|
# Optional. User annotations. These attributes can only be set and used by
|
593
|
-
# the user, and not by
|
636
|
+
# the user, and not by Cloud Deploy. See
|
594
637
|
# https://google.aip.dev/128#annotations for more details such as format and
|
595
638
|
# size limitations.
|
596
639
|
# @!attribute [rw] labels
|
597
640
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
598
641
|
# Optional. Labels are attributes that can be set and used by both the
|
599
|
-
# user and by
|
600
|
-
# constraints:
|
642
|
+
# user and by Cloud Deploy. Labels must meet the following constraints:
|
601
643
|
#
|
602
644
|
# * Keys and values can contain only lowercase letters, numeric characters,
|
603
645
|
# underscores, and dashes.
|
@@ -726,6 +768,12 @@ module Google
|
|
726
768
|
|
727
769
|
# Use for deployment verification.
|
728
770
|
VERIFY = 3
|
771
|
+
|
772
|
+
# Use for predeploy job execution.
|
773
|
+
PREDEPLOY = 4
|
774
|
+
|
775
|
+
# Use for postdeploy job execution.
|
776
|
+
POSTDEPLOY = 5
|
729
777
|
end
|
730
778
|
end
|
731
779
|
|
@@ -987,7 +1035,7 @@ module Google
|
|
987
1035
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
988
1036
|
end
|
989
1037
|
|
990
|
-
# A `Release` resource in the
|
1038
|
+
# A `Release` resource in the Cloud Deploy API.
|
991
1039
|
#
|
992
1040
|
# A `Release` defines a specific Skaffold configuration instance
|
993
1041
|
# that can be deployed.
|
@@ -1005,14 +1053,12 @@ module Google
|
|
1005
1053
|
# @!attribute [rw] annotations
|
1006
1054
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1007
1055
|
# User annotations. These attributes can only be set and used by the
|
1008
|
-
# user, and not by
|
1009
|
-
#
|
1010
|
-
# size limitations.
|
1056
|
+
# user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
|
1057
|
+
# for more details such as format and size limitations.
|
1011
1058
|
# @!attribute [rw] labels
|
1012
1059
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1013
1060
|
# Labels are attributes that can be set and used by both the
|
1014
|
-
# user and by
|
1015
|
-
# constraints:
|
1061
|
+
# user and by Cloud Deploy. Labels must meet the following constraints:
|
1016
1062
|
#
|
1017
1063
|
# * Keys and values can contain only lowercase letters, numeric characters,
|
1018
1064
|
# underscores, and dashes.
|
@@ -1061,8 +1107,8 @@ module Google
|
|
1061
1107
|
# @!attribute [rw] skaffold_version
|
1062
1108
|
# @return [::String]
|
1063
1109
|
# The Skaffold version to use when operating on this release, such as
|
1064
|
-
# "1.20.0". Not all versions are valid;
|
1065
|
-
#
|
1110
|
+
# "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
|
1111
|
+
# of versions.
|
1066
1112
|
#
|
1067
1113
|
# If unset, the most recent supported Skaffold version will be used.
|
1068
1114
|
# @!attribute [r] target_artifacts
|
@@ -1128,17 +1174,22 @@ module Google
|
|
1128
1174
|
FAILURE_CAUSE_UNSPECIFIED = 0
|
1129
1175
|
|
1130
1176
|
# Cloud Build is not available, either because it is not enabled or
|
1131
|
-
# because
|
1132
|
-
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
1177
|
+
# because Cloud Deploy has insufficient permissions. See [required
|
1178
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
1133
1179
|
CLOUD_BUILD_UNAVAILABLE = 1
|
1134
1180
|
|
1135
1181
|
# The render operation did not complete successfully; check Cloud Build
|
1136
1182
|
# logs.
|
1137
1183
|
EXECUTION_FAILED = 2
|
1138
1184
|
|
1139
|
-
# Cloud Build failed to fulfill
|
1185
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See
|
1140
1186
|
# failure_message for additional details.
|
1141
1187
|
CLOUD_BUILD_REQUEST_FAILED = 3
|
1188
|
+
|
1189
|
+
# The render operation did not complete successfully because the custom
|
1190
|
+
# action required for predeploy or postdeploy was not found in the
|
1191
|
+
# skaffold configuration. See failure_message for additional details.
|
1192
|
+
CUSTOM_ACTION_NOT_FOUND = 5
|
1142
1193
|
end
|
1143
1194
|
end
|
1144
1195
|
|
@@ -1439,7 +1490,7 @@ module Google
|
|
1439
1490
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1440
1491
|
end
|
1441
1492
|
|
1442
|
-
# A `Rollout` resource in the
|
1493
|
+
# A `Rollout` resource in the Cloud Deploy API.
|
1443
1494
|
#
|
1444
1495
|
# A `Rollout` contains information around a specific deployment to a `Target`.
|
1445
1496
|
# @!attribute [rw] name
|
@@ -1457,14 +1508,12 @@ module Google
|
|
1457
1508
|
# @!attribute [rw] annotations
|
1458
1509
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1459
1510
|
# User annotations. These attributes can only be set and used by the
|
1460
|
-
# user, and not by
|
1461
|
-
#
|
1462
|
-
# size limitations.
|
1511
|
+
# user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
|
1512
|
+
# for more details such as format and size limitations.
|
1463
1513
|
# @!attribute [rw] labels
|
1464
1514
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1465
1515
|
# Labels are attributes that can be set and used by both the
|
1466
|
-
# user and by
|
1467
|
-
# constraints:
|
1516
|
+
# user and by Cloud Deploy. Labels must meet the following constraints:
|
1468
1517
|
#
|
1469
1518
|
# * Keys and values can contain only lowercase letters, numeric characters,
|
1470
1519
|
# underscores, and dashes.
|
@@ -1611,7 +1660,7 @@ module Google
|
|
1611
1660
|
|
1612
1661
|
# Cloud Build is not available, either because it is not enabled or because
|
1613
1662
|
# Cloud Deploy has insufficient permissions. See [required
|
1614
|
-
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
1663
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
1615
1664
|
CLOUD_BUILD_UNAVAILABLE = 1
|
1616
1665
|
|
1617
1666
|
# The deploy operation did not complete successfully; check Cloud Build
|
@@ -1630,8 +1679,8 @@ module Google
|
|
1630
1679
|
# No skaffold verify configuration was found.
|
1631
1680
|
VERIFICATION_CONFIG_NOT_FOUND = 6
|
1632
1681
|
|
1633
|
-
# Cloud Build failed to fulfill
|
1634
|
-
#
|
1682
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
1683
|
+
# for additional details.
|
1635
1684
|
CLOUD_BUILD_REQUEST_FAILED = 7
|
1636
1685
|
end
|
1637
1686
|
end
|
@@ -1729,6 +1778,14 @@ module Google
|
|
1729
1778
|
# @!attribute [r] verify_job
|
1730
1779
|
# @return [::Google::Cloud::Deploy::V1::Job]
|
1731
1780
|
# Output only. The verify Job. Runs after a deploy if the deploy succeeds.
|
1781
|
+
# @!attribute [r] predeploy_job
|
1782
|
+
# @return [::Google::Cloud::Deploy::V1::Job]
|
1783
|
+
# Output only. The predeploy Job. This is the predeploy job in the phase.
|
1784
|
+
# This is the first job of the phase.
|
1785
|
+
# @!attribute [r] postdeploy_job
|
1786
|
+
# @return [::Google::Cloud::Deploy::V1::Job]
|
1787
|
+
# Output only. The postdeploy Job. This is the postdeploy job in the phase.
|
1788
|
+
# This is the last job of the phase.
|
1732
1789
|
class DeploymentJobs
|
1733
1790
|
include ::Google::Protobuf::MessageExts
|
1734
1791
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1767,6 +1824,12 @@ module Google
|
|
1767
1824
|
# @!attribute [r] verify_job
|
1768
1825
|
# @return [::Google::Cloud::Deploy::V1::VerifyJob]
|
1769
1826
|
# Output only. A verify Job.
|
1827
|
+
# @!attribute [r] predeploy_job
|
1828
|
+
# @return [::Google::Cloud::Deploy::V1::PredeployJob]
|
1829
|
+
# Output only. A predeploy Job.
|
1830
|
+
# @!attribute [r] postdeploy_job
|
1831
|
+
# @return [::Google::Cloud::Deploy::V1::PostdeployJob]
|
1832
|
+
# Output only. A postdeploy Job.
|
1770
1833
|
# @!attribute [r] create_child_rollout_job
|
1771
1834
|
# @return [::Google::Cloud::Deploy::V1::CreateChildRolloutJob]
|
1772
1835
|
# Output only. A createChildRollout Job.
|
@@ -1820,6 +1883,24 @@ module Google
|
|
1820
1883
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1821
1884
|
end
|
1822
1885
|
|
1886
|
+
# A predeploy Job.
|
1887
|
+
# @!attribute [r] actions
|
1888
|
+
# @return [::Array<::String>]
|
1889
|
+
# Output only. The custom actions that the predeploy Job executes.
|
1890
|
+
class PredeployJob
|
1891
|
+
include ::Google::Protobuf::MessageExts
|
1892
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
# A postdeploy Job.
|
1896
|
+
# @!attribute [r] actions
|
1897
|
+
# @return [::Array<::String>]
|
1898
|
+
# Output only. The custom actions that the postdeploy Job executes.
|
1899
|
+
class PostdeployJob
|
1900
|
+
include ::Google::Protobuf::MessageExts
|
1901
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1902
|
+
end
|
1903
|
+
|
1823
1904
|
# A createChildRollout Job.
|
1824
1905
|
class CreateChildRolloutJob
|
1825
1906
|
include ::Google::Protobuf::MessageExts
|
@@ -2079,7 +2160,7 @@ module Google
|
|
2079
2160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2080
2161
|
end
|
2081
2162
|
|
2082
|
-
# A `JobRun` resource in the
|
2163
|
+
# A `JobRun` resource in the Cloud Deploy API.
|
2083
2164
|
#
|
2084
2165
|
# A `JobRun` contains information of a single `Rollout` job evaluation.
|
2085
2166
|
# @!attribute [rw] name
|
@@ -2115,6 +2196,12 @@ module Google
|
|
2115
2196
|
# @!attribute [r] verify_job_run
|
2116
2197
|
# @return [::Google::Cloud::Deploy::V1::VerifyJobRun]
|
2117
2198
|
# Output only. Information specific to a verify `JobRun`.
|
2199
|
+
# @!attribute [r] predeploy_job_run
|
2200
|
+
# @return [::Google::Cloud::Deploy::V1::PredeployJobRun]
|
2201
|
+
# Output only. Information specific to a predeploy `JobRun`.
|
2202
|
+
# @!attribute [r] postdeploy_job_run
|
2203
|
+
# @return [::Google::Cloud::Deploy::V1::PostdeployJobRun]
|
2204
|
+
# Output only. Information specific to a postdeploy `JobRun`.
|
2118
2205
|
# @!attribute [r] create_child_rollout_job_run
|
2119
2206
|
# @return [::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun]
|
2120
2207
|
# Output only. Information specific to a createChildRollout `JobRun`.
|
@@ -2181,8 +2268,8 @@ module Google
|
|
2181
2268
|
FAILURE_CAUSE_UNSPECIFIED = 0
|
2182
2269
|
|
2183
2270
|
# Cloud Build is not available, either because it is not enabled or because
|
2184
|
-
#
|
2185
|
-
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2271
|
+
# Cloud Deploy has insufficient permissions. See [Required
|
2272
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2186
2273
|
CLOUD_BUILD_UNAVAILABLE = 1
|
2187
2274
|
|
2188
2275
|
# The deploy operation did not complete successfully; check Cloud Build
|
@@ -2196,8 +2283,8 @@ module Google
|
|
2196
2283
|
# canary deployment. Check the Cloud Build logs for more information.
|
2197
2284
|
MISSING_RESOURCES_FOR_CANARY = 4
|
2198
2285
|
|
2199
|
-
# Cloud Build failed to fulfill
|
2200
|
-
#
|
2286
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
2287
|
+
# for additional details.
|
2201
2288
|
CLOUD_BUILD_REQUEST_FAILED = 5
|
2202
2289
|
end
|
2203
2290
|
end
|
@@ -2233,8 +2320,8 @@ module Google
|
|
2233
2320
|
FAILURE_CAUSE_UNSPECIFIED = 0
|
2234
2321
|
|
2235
2322
|
# Cloud Build is not available, either because it is not enabled or because
|
2236
|
-
#
|
2237
|
-
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2323
|
+
# Cloud Deploy has insufficient permissions. See [required
|
2324
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2238
2325
|
CLOUD_BUILD_UNAVAILABLE = 1
|
2239
2326
|
|
2240
2327
|
# The verify operation did not complete successfully; check Cloud Build
|
@@ -2247,12 +2334,94 @@ module Google
|
|
2247
2334
|
# No Skaffold verify configuration was found.
|
2248
2335
|
VERIFICATION_CONFIG_NOT_FOUND = 4
|
2249
2336
|
|
2250
|
-
# Cloud Build failed to fulfill
|
2251
|
-
#
|
2337
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
2338
|
+
# for additional details.
|
2252
2339
|
CLOUD_BUILD_REQUEST_FAILED = 5
|
2253
2340
|
end
|
2254
2341
|
end
|
2255
2342
|
|
2343
|
+
# PredeployJobRun contains information specific to a predeploy `JobRun`.
|
2344
|
+
# @!attribute [r] build
|
2345
|
+
# @return [::String]
|
2346
|
+
# Output only. The resource name of the Cloud Build `Build` object that is
|
2347
|
+
# used to execute the custom actions associated with the predeploy Job.
|
2348
|
+
# Format is projects/\\{project}/locations/\\{location}/builds/\\{build}.
|
2349
|
+
# @!attribute [r] failure_cause
|
2350
|
+
# @return [::Google::Cloud::Deploy::V1::PredeployJobRun::FailureCause]
|
2351
|
+
# Output only. The reason the predeploy failed. This will always be
|
2352
|
+
# unspecified while the predeploy is in progress or if it succeeded.
|
2353
|
+
# @!attribute [r] failure_message
|
2354
|
+
# @return [::String]
|
2355
|
+
# Output only. Additional information about the predeploy failure, if
|
2356
|
+
# available.
|
2357
|
+
class PredeployJobRun
|
2358
|
+
include ::Google::Protobuf::MessageExts
|
2359
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2360
|
+
|
2361
|
+
# Well-known predeploy failures.
|
2362
|
+
module FailureCause
|
2363
|
+
# No reason for failure is specified.
|
2364
|
+
FAILURE_CAUSE_UNSPECIFIED = 0
|
2365
|
+
|
2366
|
+
# Cloud Build is not available, either because it is not enabled or because
|
2367
|
+
# Cloud Deploy has insufficient permissions. See [required
|
2368
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2369
|
+
CLOUD_BUILD_UNAVAILABLE = 1
|
2370
|
+
|
2371
|
+
# The predeploy operation did not complete successfully; check Cloud Build
|
2372
|
+
# logs.
|
2373
|
+
EXECUTION_FAILED = 2
|
2374
|
+
|
2375
|
+
# The predeploy build did not complete within the alloted time.
|
2376
|
+
DEADLINE_EXCEEDED = 3
|
2377
|
+
|
2378
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
2379
|
+
# for additional details.
|
2380
|
+
CLOUD_BUILD_REQUEST_FAILED = 4
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2384
|
+
# PostdeployJobRun contains information specific to a postdeploy `JobRun`.
|
2385
|
+
# @!attribute [r] build
|
2386
|
+
# @return [::String]
|
2387
|
+
# Output only. The resource name of the Cloud Build `Build` object that is
|
2388
|
+
# used to execute the custom actions associated with the postdeploy Job.
|
2389
|
+
# Format is projects/\\{project}/locations/\\{location}/builds/\\{build}.
|
2390
|
+
# @!attribute [r] failure_cause
|
2391
|
+
# @return [::Google::Cloud::Deploy::V1::PostdeployJobRun::FailureCause]
|
2392
|
+
# Output only. The reason the postdeploy failed. This will always be
|
2393
|
+
# unspecified while the postdeploy is in progress or if it succeeded.
|
2394
|
+
# @!attribute [r] failure_message
|
2395
|
+
# @return [::String]
|
2396
|
+
# Output only. Additional information about the postdeploy failure, if
|
2397
|
+
# available.
|
2398
|
+
class PostdeployJobRun
|
2399
|
+
include ::Google::Protobuf::MessageExts
|
2400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2401
|
+
|
2402
|
+
# Well-known postdeploy failures.
|
2403
|
+
module FailureCause
|
2404
|
+
# No reason for failure is specified.
|
2405
|
+
FAILURE_CAUSE_UNSPECIFIED = 0
|
2406
|
+
|
2407
|
+
# Cloud Build is not available, either because it is not enabled or because
|
2408
|
+
# Cloud Deploy has insufficient permissions. See [required
|
2409
|
+
# permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
|
2410
|
+
CLOUD_BUILD_UNAVAILABLE = 1
|
2411
|
+
|
2412
|
+
# The postdeploy operation did not complete successfully; check Cloud Build
|
2413
|
+
# logs.
|
2414
|
+
EXECUTION_FAILED = 2
|
2415
|
+
|
2416
|
+
# The postdeploy build did not complete within the alloted time.
|
2417
|
+
DEADLINE_EXCEEDED = 3
|
2418
|
+
|
2419
|
+
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
2420
|
+
# for additional details.
|
2421
|
+
CLOUD_BUILD_REQUEST_FAILED = 4
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2256
2425
|
# CreateChildRolloutJobRun contains information specific to a
|
2257
2426
|
# createChildRollout `JobRun`.
|
2258
2427
|
# @!attribute [r] rollout
|
@@ -35,6 +35,12 @@ module Google
|
|
35
35
|
# A process aborted.
|
36
36
|
TYPE_PROCESS_ABORTED = 4
|
37
37
|
|
38
|
+
# Restriction check failed.
|
39
|
+
TYPE_RESTRICTION_VIOLATED = 5
|
40
|
+
|
41
|
+
# Resource deleted.
|
42
|
+
TYPE_RESOURCE_DELETED = 6
|
43
|
+
|
38
44
|
# Deprecated: This field is never used. Use release_render log type instead.
|
39
45
|
TYPE_RENDER_STATUES_CHANGE = 2
|
40
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-deploy-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
- !ruby/object:Gem::Version
|
275
275
|
version: '0'
|
276
276
|
requirements: []
|
277
|
-
rubygems_version: 3.4.
|
277
|
+
rubygems_version: 3.4.19
|
278
278
|
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: API Client library for the Google Cloud Deploy V1 API
|