google-apis-clouddeploy_v1 0.28.0 → 0.29.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/CHANGELOG.md +4 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/clouddeploy_v1/classes.rb +266 -50
- data/lib/google/apis/clouddeploy_v1/gem_version.rb +2 -2
- data/lib/google/apis/clouddeploy_v1/representations.rb +106 -0
- data/lib/google/apis/clouddeploy_v1/service.rb +1 -1
- data/lib/google/apis/clouddeploy_v1.rb +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 531c43dc573b850abc4381dca0f032f9ccf4213ca785104d2c39618a0d7de1f6
|
4
|
+
data.tar.gz: a5c3737666b690194e3e51b04a80b3a8b31e2542e3eeeff4f7cf562154d8d755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c64f91f03f20b2cf06a3bda818556e36e02dafeb5eb47ec1206df6142244c1ed1bf36ef03c26738df1a8d94c9614008d7b2be14927ac8db0a0452463bb5ecb1
|
7
|
+
data.tar.gz: 60e640a6a8fbf1a0d51f7f397cf10eddcb4deaef8e646ad328d718f0580c30ff646ac57753d0c83799fa23ef493f69ddab61c32124af03537369e30777bf03d5
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1 of the
|
1
|
+
# Simple REST client for version V1 of the Cloud Deploy API
|
2
2
|
|
3
|
-
This is a simple client library for version V1 of the
|
3
|
+
This is a simple client library for version V1 of the Cloud Deploy API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Clouddeploy service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the
|
68
|
+
For reference information on specific calls in the Cloud Deploy API, see the {Google::Apis::ClouddeployV1::CloudDeployService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -391,6 +391,16 @@ module Google
|
|
391
391
|
# @return [Array<Fixnum>]
|
392
392
|
attr_accessor :percentages
|
393
393
|
|
394
|
+
# Postdeploy contains the postdeploy job configuration information.
|
395
|
+
# Corresponds to the JSON property `postdeploy`
|
396
|
+
# @return [Google::Apis::ClouddeployV1::Postdeploy]
|
397
|
+
attr_accessor :postdeploy
|
398
|
+
|
399
|
+
# Predeploy contains the predeploy job configuration information.
|
400
|
+
# Corresponds to the JSON property `predeploy`
|
401
|
+
# @return [Google::Apis::ClouddeployV1::Predeploy]
|
402
|
+
attr_accessor :predeploy
|
403
|
+
|
394
404
|
# Whether to run verify tests after each percentage deployment.
|
395
405
|
# Corresponds to the JSON property `verify`
|
396
406
|
# @return [Boolean]
|
@@ -404,6 +414,8 @@ module Google
|
|
404
414
|
# Update properties of this object
|
405
415
|
def update!(**args)
|
406
416
|
@percentages = args[:percentages] if args.key?(:percentages)
|
417
|
+
@postdeploy = args[:postdeploy] if args.key?(:postdeploy)
|
418
|
+
@predeploy = args[:predeploy] if args.key?(:predeploy)
|
407
419
|
@verify = args[:verify] if args.key?(:verify)
|
408
420
|
end
|
409
421
|
end
|
@@ -731,14 +743,13 @@ module Google
|
|
731
743
|
end
|
732
744
|
end
|
733
745
|
|
734
|
-
# A `DeliveryPipeline` resource in the
|
735
|
-
#
|
736
|
-
# can progress.
|
746
|
+
# A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
|
747
|
+
# defines a pipeline through which a Skaffold configuration can progress.
|
737
748
|
class DeliveryPipeline
|
738
749
|
include Google::Apis::Core::Hashable
|
739
750
|
|
740
751
|
# User annotations. These attributes can only be set and used by the user, and
|
741
|
-
# not by
|
752
|
+
# not by Cloud Deploy.
|
742
753
|
# Corresponds to the JSON property `annotations`
|
743
754
|
# @return [Hash<String,String>]
|
744
755
|
attr_accessor :annotations
|
@@ -765,13 +776,13 @@ module Google
|
|
765
776
|
# @return [String]
|
766
777
|
attr_accessor :etag
|
767
778
|
|
768
|
-
# Labels are attributes that can be set and used by both the user and by
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
779
|
+
# Labels are attributes that can be set and used by both the user and by Cloud
|
780
|
+
# Deploy. Labels must meet the following constraints: * Keys and values can
|
781
|
+
# contain only lowercase letters, numeric characters, underscores, and dashes. *
|
782
|
+
# All characters must use UTF-8 encoding, and international characters are
|
783
|
+
# allowed. * Keys must start with a lowercase letter or international character.
|
784
|
+
# * Each resource is limited to a maximum of 64 labels. Both keys and values are
|
785
|
+
# additionally constrained to be <= 128 bytes.
|
775
786
|
# Corresponds to the JSON property `labels`
|
776
787
|
# @return [Hash<String,String>]
|
777
788
|
attr_accessor :labels
|
@@ -999,6 +1010,16 @@ module Google
|
|
999
1010
|
# @return [Google::Apis::ClouddeployV1::Job]
|
1000
1011
|
attr_accessor :deploy_job
|
1001
1012
|
|
1013
|
+
# Job represents an operation for a `Rollout`.
|
1014
|
+
# Corresponds to the JSON property `postdeployJob`
|
1015
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
1016
|
+
attr_accessor :postdeploy_job
|
1017
|
+
|
1018
|
+
# Job represents an operation for a `Rollout`.
|
1019
|
+
# Corresponds to the JSON property `predeployJob`
|
1020
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
1021
|
+
attr_accessor :predeploy_job
|
1022
|
+
|
1002
1023
|
# Job represents an operation for a `Rollout`.
|
1003
1024
|
# Corresponds to the JSON property `verifyJob`
|
1004
1025
|
# @return [Google::Apis::ClouddeployV1::Job]
|
@@ -1011,6 +1032,8 @@ module Google
|
|
1011
1032
|
# Update properties of this object
|
1012
1033
|
def update!(**args)
|
1013
1034
|
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
1035
|
+
@postdeploy_job = args[:postdeploy_job] if args.key?(:postdeploy_job)
|
1036
|
+
@predeploy_job = args[:predeploy_job] if args.key?(:predeploy_job)
|
1014
1037
|
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
1015
1038
|
end
|
1016
1039
|
end
|
@@ -1289,6 +1312,16 @@ module Google
|
|
1289
1312
|
# @return [String]
|
1290
1313
|
attr_accessor :job_run
|
1291
1314
|
|
1315
|
+
# A postdeploy Job.
|
1316
|
+
# Corresponds to the JSON property `postdeployJob`
|
1317
|
+
# @return [Google::Apis::ClouddeployV1::PostdeployJob]
|
1318
|
+
attr_accessor :postdeploy_job
|
1319
|
+
|
1320
|
+
# A predeploy Job.
|
1321
|
+
# Corresponds to the JSON property `predeployJob`
|
1322
|
+
# @return [Google::Apis::ClouddeployV1::PredeployJob]
|
1323
|
+
attr_accessor :predeploy_job
|
1324
|
+
|
1292
1325
|
# Output only. Additional information on why the Job was skipped, if available.
|
1293
1326
|
# Corresponds to the JSON property `skipMessage`
|
1294
1327
|
# @return [String]
|
@@ -1315,14 +1348,16 @@ module Google
|
|
1315
1348
|
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
1316
1349
|
@id = args[:id] if args.key?(:id)
|
1317
1350
|
@job_run = args[:job_run] if args.key?(:job_run)
|
1351
|
+
@postdeploy_job = args[:postdeploy_job] if args.key?(:postdeploy_job)
|
1352
|
+
@predeploy_job = args[:predeploy_job] if args.key?(:predeploy_job)
|
1318
1353
|
@skip_message = args[:skip_message] if args.key?(:skip_message)
|
1319
1354
|
@state = args[:state] if args.key?(:state)
|
1320
1355
|
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
1321
1356
|
end
|
1322
1357
|
end
|
1323
1358
|
|
1324
|
-
# A `JobRun` resource in the
|
1325
|
-
#
|
1359
|
+
# A `JobRun` resource in the Cloud Deploy API. A `JobRun` contains information
|
1360
|
+
# of a single `Rollout` job evaluation.
|
1326
1361
|
class JobRun
|
1327
1362
|
include Google::Apis::Core::Hashable
|
1328
1363
|
|
@@ -1377,6 +1412,16 @@ module Google
|
|
1377
1412
|
# @return [String]
|
1378
1413
|
attr_accessor :phase_id
|
1379
1414
|
|
1415
|
+
# PostdeployJobRun contains information specific to a postdeploy `JobRun`.
|
1416
|
+
# Corresponds to the JSON property `postdeployJobRun`
|
1417
|
+
# @return [Google::Apis::ClouddeployV1::PostdeployJobRun]
|
1418
|
+
attr_accessor :postdeploy_job_run
|
1419
|
+
|
1420
|
+
# PredeployJobRun contains information specific to a predeploy `JobRun`.
|
1421
|
+
# Corresponds to the JSON property `predeployJobRun`
|
1422
|
+
# @return [Google::Apis::ClouddeployV1::PredeployJobRun]
|
1423
|
+
attr_accessor :predeploy_job_run
|
1424
|
+
|
1380
1425
|
# Output only. Time at which the `JobRun` was started.
|
1381
1426
|
# Corresponds to the JSON property `startTime`
|
1382
1427
|
# @return [String]
|
@@ -1412,6 +1457,8 @@ module Google
|
|
1412
1457
|
@job_id = args[:job_id] if args.key?(:job_id)
|
1413
1458
|
@name = args[:name] if args.key?(:name)
|
1414
1459
|
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
1460
|
+
@postdeploy_job_run = args[:postdeploy_job_run] if args.key?(:postdeploy_job_run)
|
1461
|
+
@predeploy_job_run = args[:predeploy_job_run] if args.key?(:predeploy_job_run)
|
1415
1462
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1416
1463
|
@state = args[:state] if args.key?(:state)
|
1417
1464
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -2012,6 +2059,16 @@ module Google
|
|
2012
2059
|
# @return [String]
|
2013
2060
|
attr_accessor :phase_id
|
2014
2061
|
|
2062
|
+
# Postdeploy contains the postdeploy job configuration information.
|
2063
|
+
# Corresponds to the JSON property `postdeploy`
|
2064
|
+
# @return [Google::Apis::ClouddeployV1::Postdeploy]
|
2065
|
+
attr_accessor :postdeploy
|
2066
|
+
|
2067
|
+
# Predeploy contains the predeploy job configuration information.
|
2068
|
+
# Corresponds to the JSON property `predeploy`
|
2069
|
+
# @return [Google::Apis::ClouddeployV1::Predeploy]
|
2070
|
+
attr_accessor :predeploy
|
2071
|
+
|
2015
2072
|
# Skaffold profiles to use when rendering the manifest for this phase. These are
|
2016
2073
|
# in addition to the profiles list specified in the `DeliveryPipeline` stage.
|
2017
2074
|
# Corresponds to the JSON property `profiles`
|
@@ -2032,6 +2089,8 @@ module Google
|
|
2032
2089
|
def update!(**args)
|
2033
2090
|
@percentage = args[:percentage] if args.key?(:percentage)
|
2034
2091
|
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
2092
|
+
@postdeploy = args[:postdeploy] if args.key?(:postdeploy)
|
2093
|
+
@predeploy = args[:predeploy] if args.key?(:predeploy)
|
2035
2094
|
@profiles = args[:profiles] if args.key?(:profiles)
|
2036
2095
|
@verify = args[:verify] if args.key?(:verify)
|
2037
2096
|
end
|
@@ -2194,6 +2253,152 @@ module Google
|
|
2194
2253
|
end
|
2195
2254
|
end
|
2196
2255
|
|
2256
|
+
# Postdeploy contains the postdeploy job configuration information.
|
2257
|
+
class Postdeploy
|
2258
|
+
include Google::Apis::Core::Hashable
|
2259
|
+
|
2260
|
+
# Optional. A sequence of skaffold custom actions to invoke during execution of
|
2261
|
+
# the postdeploy job.
|
2262
|
+
# Corresponds to the JSON property `actions`
|
2263
|
+
# @return [Array<String>]
|
2264
|
+
attr_accessor :actions
|
2265
|
+
|
2266
|
+
def initialize(**args)
|
2267
|
+
update!(**args)
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# Update properties of this object
|
2271
|
+
def update!(**args)
|
2272
|
+
@actions = args[:actions] if args.key?(:actions)
|
2273
|
+
end
|
2274
|
+
end
|
2275
|
+
|
2276
|
+
# A postdeploy Job.
|
2277
|
+
class PostdeployJob
|
2278
|
+
include Google::Apis::Core::Hashable
|
2279
|
+
|
2280
|
+
# Output only. The custom actions that the postdeploy Job executes.
|
2281
|
+
# Corresponds to the JSON property `actions`
|
2282
|
+
# @return [Array<String>]
|
2283
|
+
attr_accessor :actions
|
2284
|
+
|
2285
|
+
def initialize(**args)
|
2286
|
+
update!(**args)
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Update properties of this object
|
2290
|
+
def update!(**args)
|
2291
|
+
@actions = args[:actions] if args.key?(:actions)
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
# PostdeployJobRun contains information specific to a postdeploy `JobRun`.
|
2296
|
+
class PostdeployJobRun
|
2297
|
+
include Google::Apis::Core::Hashable
|
2298
|
+
|
2299
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
2300
|
+
# to execute the custom actions associated with the postdeploy Job. Format is
|
2301
|
+
# projects/`project`/locations/`location`/builds/`build`.
|
2302
|
+
# Corresponds to the JSON property `build`
|
2303
|
+
# @return [String]
|
2304
|
+
attr_accessor :build
|
2305
|
+
|
2306
|
+
# Output only. The reason the postdeploy failed. This will always be unspecified
|
2307
|
+
# while the postdeploy is in progress or if it succeeded.
|
2308
|
+
# Corresponds to the JSON property `failureCause`
|
2309
|
+
# @return [String]
|
2310
|
+
attr_accessor :failure_cause
|
2311
|
+
|
2312
|
+
# Output only. Additional information about the postdeploy failure, if available.
|
2313
|
+
# Corresponds to the JSON property `failureMessage`
|
2314
|
+
# @return [String]
|
2315
|
+
attr_accessor :failure_message
|
2316
|
+
|
2317
|
+
def initialize(**args)
|
2318
|
+
update!(**args)
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
# Update properties of this object
|
2322
|
+
def update!(**args)
|
2323
|
+
@build = args[:build] if args.key?(:build)
|
2324
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2325
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
2326
|
+
end
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# Predeploy contains the predeploy job configuration information.
|
2330
|
+
class Predeploy
|
2331
|
+
include Google::Apis::Core::Hashable
|
2332
|
+
|
2333
|
+
# Optional. A sequence of skaffold custom actions to invoke during execution of
|
2334
|
+
# the predeploy job.
|
2335
|
+
# Corresponds to the JSON property `actions`
|
2336
|
+
# @return [Array<String>]
|
2337
|
+
attr_accessor :actions
|
2338
|
+
|
2339
|
+
def initialize(**args)
|
2340
|
+
update!(**args)
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# Update properties of this object
|
2344
|
+
def update!(**args)
|
2345
|
+
@actions = args[:actions] if args.key?(:actions)
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
# A predeploy Job.
|
2350
|
+
class PredeployJob
|
2351
|
+
include Google::Apis::Core::Hashable
|
2352
|
+
|
2353
|
+
# Output only. The custom actions that the predeploy Job executes.
|
2354
|
+
# Corresponds to the JSON property `actions`
|
2355
|
+
# @return [Array<String>]
|
2356
|
+
attr_accessor :actions
|
2357
|
+
|
2358
|
+
def initialize(**args)
|
2359
|
+
update!(**args)
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
# Update properties of this object
|
2363
|
+
def update!(**args)
|
2364
|
+
@actions = args[:actions] if args.key?(:actions)
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# PredeployJobRun contains information specific to a predeploy `JobRun`.
|
2369
|
+
class PredeployJobRun
|
2370
|
+
include Google::Apis::Core::Hashable
|
2371
|
+
|
2372
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
2373
|
+
# to execute the custom actions associated with the predeploy Job. Format is
|
2374
|
+
# projects/`project`/locations/`location`/builds/`build`.
|
2375
|
+
# Corresponds to the JSON property `build`
|
2376
|
+
# @return [String]
|
2377
|
+
attr_accessor :build
|
2378
|
+
|
2379
|
+
# Output only. The reason the predeploy failed. This will always be unspecified
|
2380
|
+
# while the predeploy is in progress or if it succeeded.
|
2381
|
+
# Corresponds to the JSON property `failureCause`
|
2382
|
+
# @return [String]
|
2383
|
+
attr_accessor :failure_cause
|
2384
|
+
|
2385
|
+
# Output only. Additional information about the predeploy failure, if available.
|
2386
|
+
# Corresponds to the JSON property `failureMessage`
|
2387
|
+
# @return [String]
|
2388
|
+
attr_accessor :failure_message
|
2389
|
+
|
2390
|
+
def initialize(**args)
|
2391
|
+
update!(**args)
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
# Update properties of this object
|
2395
|
+
def update!(**args)
|
2396
|
+
@build = args[:build] if args.key?(:build)
|
2397
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2398
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
2399
|
+
end
|
2400
|
+
end
|
2401
|
+
|
2197
2402
|
# Execution using a private Cloud Build pool.
|
2198
2403
|
class PrivatePool
|
2199
2404
|
include Google::Apis::Core::Hashable
|
@@ -2231,8 +2436,8 @@ module Google
|
|
2231
2436
|
end
|
2232
2437
|
end
|
2233
2438
|
|
2234
|
-
# A `Release` resource in the
|
2235
|
-
#
|
2439
|
+
# A `Release` resource in the Cloud Deploy API. A `Release` defines a specific
|
2440
|
+
# Skaffold configuration instance that can be deployed.
|
2236
2441
|
class Release
|
2237
2442
|
include Google::Apis::Core::Hashable
|
2238
2443
|
|
@@ -2243,8 +2448,8 @@ module Google
|
|
2243
2448
|
alias_method :abandoned?, :abandoned
|
2244
2449
|
|
2245
2450
|
# User annotations. These attributes can only be set and used by the user, and
|
2246
|
-
# not by
|
2247
|
-
#
|
2451
|
+
# not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
|
2452
|
+
# details such as format and size limitations.
|
2248
2453
|
# Corresponds to the JSON property `annotations`
|
2249
2454
|
# @return [Hash<String,String>]
|
2250
2455
|
attr_accessor :annotations
|
@@ -2264,9 +2469,8 @@ module Google
|
|
2264
2469
|
# @return [String]
|
2265
2470
|
attr_accessor :create_time
|
2266
2471
|
|
2267
|
-
# A `DeliveryPipeline` resource in the
|
2268
|
-
#
|
2269
|
-
# can progress.
|
2472
|
+
# A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
|
2473
|
+
# defines a pipeline through which a Skaffold configuration can progress.
|
2270
2474
|
# Corresponds to the JSON property `deliveryPipelineSnapshot`
|
2271
2475
|
# @return [Google::Apis::ClouddeployV1::DeliveryPipeline]
|
2272
2476
|
attr_accessor :delivery_pipeline_snapshot
|
@@ -2288,13 +2492,13 @@ module Google
|
|
2288
2492
|
# @return [String]
|
2289
2493
|
attr_accessor :etag
|
2290
2494
|
|
2291
|
-
# Labels are attributes that can be set and used by both the user and by
|
2292
|
-
#
|
2293
|
-
#
|
2294
|
-
#
|
2295
|
-
#
|
2296
|
-
#
|
2297
|
-
#
|
2495
|
+
# Labels are attributes that can be set and used by both the user and by Cloud
|
2496
|
+
# Deploy. Labels must meet the following constraints: * Keys and values can
|
2497
|
+
# contain only lowercase letters, numeric characters, underscores, and dashes. *
|
2498
|
+
# All characters must use UTF-8 encoding, and international characters are
|
2499
|
+
# allowed. * Keys must start with a lowercase letter or international character.
|
2500
|
+
# * Each resource is limited to a maximum of 64 labels. Both keys and values are
|
2501
|
+
# additionally constrained to be <= 128 bytes.
|
2298
2502
|
# Corresponds to the JSON property `labels`
|
2299
2503
|
# @return [Hash<String,String>]
|
2300
2504
|
attr_accessor :labels
|
@@ -2331,8 +2535,8 @@ module Google
|
|
2331
2535
|
attr_accessor :skaffold_config_uri
|
2332
2536
|
|
2333
2537
|
# The Skaffold version to use when operating on this release, such as "1.20.0".
|
2334
|
-
# Not all versions are valid;
|
2335
|
-
#
|
2538
|
+
# Not all versions are valid; Cloud Deploy supports a specific set of versions.
|
2539
|
+
# If unset, the most recent supported Skaffold version will be used.
|
2336
2540
|
# Corresponds to the JSON property `skaffoldVersion`
|
2337
2541
|
# @return [String]
|
2338
2542
|
attr_accessor :skaffold_version
|
@@ -2558,14 +2762,14 @@ module Google
|
|
2558
2762
|
end
|
2559
2763
|
end
|
2560
2764
|
|
2561
|
-
# A `Rollout` resource in the
|
2562
|
-
#
|
2765
|
+
# A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information
|
2766
|
+
# around a specific deployment to a `Target`.
|
2563
2767
|
class Rollout
|
2564
2768
|
include Google::Apis::Core::Hashable
|
2565
2769
|
|
2566
2770
|
# User annotations. These attributes can only be set and used by the user, and
|
2567
|
-
# not by
|
2568
|
-
#
|
2771
|
+
# not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
|
2772
|
+
# details such as format and size limitations.
|
2569
2773
|
# Corresponds to the JSON property `annotations`
|
2570
2774
|
# @return [Hash<String,String>]
|
2571
2775
|
attr_accessor :annotations
|
@@ -2637,13 +2841,13 @@ module Google
|
|
2637
2841
|
# @return [String]
|
2638
2842
|
attr_accessor :failure_reason
|
2639
2843
|
|
2640
|
-
# Labels are attributes that can be set and used by both the user and by
|
2641
|
-
#
|
2642
|
-
#
|
2643
|
-
#
|
2644
|
-
#
|
2645
|
-
#
|
2646
|
-
#
|
2844
|
+
# Labels are attributes that can be set and used by both the user and by Cloud
|
2845
|
+
# Deploy. Labels must meet the following constraints: * Keys and values can
|
2846
|
+
# contain only lowercase letters, numeric characters, underscores, and dashes. *
|
2847
|
+
# All characters must use UTF-8 encoding, and international characters are
|
2848
|
+
# allowed. * Keys must start with a lowercase letter or international character.
|
2849
|
+
# * Each resource is limited to a maximum of 64 labels. Both keys and values are
|
2850
|
+
# additionally constrained to be <= 128 bytes.
|
2647
2851
|
# Corresponds to the JSON property `labels`
|
2648
2852
|
# @return [Hash<String,String>]
|
2649
2853
|
attr_accessor :labels
|
@@ -3024,6 +3228,16 @@ module Google
|
|
3024
3228
|
class Standard
|
3025
3229
|
include Google::Apis::Core::Hashable
|
3026
3230
|
|
3231
|
+
# Postdeploy contains the postdeploy job configuration information.
|
3232
|
+
# Corresponds to the JSON property `postdeploy`
|
3233
|
+
# @return [Google::Apis::ClouddeployV1::Postdeploy]
|
3234
|
+
attr_accessor :postdeploy
|
3235
|
+
|
3236
|
+
# Predeploy contains the predeploy job configuration information.
|
3237
|
+
# Corresponds to the JSON property `predeploy`
|
3238
|
+
# @return [Google::Apis::ClouddeployV1::Predeploy]
|
3239
|
+
attr_accessor :predeploy
|
3240
|
+
|
3027
3241
|
# Whether to verify a deployment.
|
3028
3242
|
# Corresponds to the JSON property `verify`
|
3029
3243
|
# @return [Boolean]
|
@@ -3036,6 +3250,8 @@ module Google
|
|
3036
3250
|
|
3037
3251
|
# Update properties of this object
|
3038
3252
|
def update!(**args)
|
3253
|
+
@postdeploy = args[:postdeploy] if args.key?(:postdeploy)
|
3254
|
+
@predeploy = args[:predeploy] if args.key?(:predeploy)
|
3039
3255
|
@verify = args[:verify] if args.key?(:verify)
|
3040
3256
|
end
|
3041
3257
|
end
|
@@ -3104,14 +3320,14 @@ module Google
|
|
3104
3320
|
end
|
3105
3321
|
end
|
3106
3322
|
|
3107
|
-
# A `Target` resource in the
|
3108
|
-
#
|
3323
|
+
# A `Target` resource in the Cloud Deploy API. A `Target` defines a location to
|
3324
|
+
# which a Skaffold configuration can be deployed.
|
3109
3325
|
class Target
|
3110
3326
|
include Google::Apis::Core::Hashable
|
3111
3327
|
|
3112
3328
|
# Optional. User annotations. These attributes can only be set and used by the
|
3113
|
-
# user, and not by
|
3114
|
-
#
|
3329
|
+
# user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
|
3330
|
+
# more details such as format and size limitations.
|
3115
3331
|
# Corresponds to the JSON property `annotations`
|
3116
3332
|
# @return [Hash<String,String>]
|
3117
3333
|
attr_accessor :annotations
|
@@ -3159,12 +3375,12 @@ module Google
|
|
3159
3375
|
attr_accessor :gke
|
3160
3376
|
|
3161
3377
|
# Optional. Labels are attributes that can be set and used by both the user and
|
3162
|
-
# by
|
3163
|
-
#
|
3164
|
-
#
|
3165
|
-
#
|
3166
|
-
#
|
3167
|
-
#
|
3378
|
+
# by Cloud Deploy. Labels must meet the following constraints: * Keys and values
|
3379
|
+
# can contain only lowercase letters, numeric characters, underscores, and
|
3380
|
+
# dashes. * All characters must use UTF-8 encoding, and international characters
|
3381
|
+
# are allowed. * Keys must start with a lowercase letter or international
|
3382
|
+
# character. * Each resource is limited to a maximum of 64 labels. Both keys and
|
3383
|
+
# values are additionally constrained to be <= 128 bytes.
|
3168
3384
|
# Corresponds to the JSON property `labels`
|
3169
3385
|
# @return [Hash<String,String>]
|
3170
3386
|
attr_accessor :labels
|
@@ -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.29.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 = "20230727"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -418,6 +418,42 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
421
|
+
class Postdeploy
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
427
|
+
class PostdeployJob
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class PostdeployJobRun
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class Predeploy
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class PredeployJob
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
451
|
+
class PredeployJobRun
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
421
457
|
class PrivatePool
|
422
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
459
|
|
@@ -726,6 +762,10 @@ module Google
|
|
726
762
|
# @private
|
727
763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
728
764
|
collection :percentages, as: 'percentages'
|
765
|
+
property :postdeploy, as: 'postdeploy', class: Google::Apis::ClouddeployV1::Postdeploy, decorator: Google::Apis::ClouddeployV1::Postdeploy::Representation
|
766
|
+
|
767
|
+
property :predeploy, as: 'predeploy', class: Google::Apis::ClouddeployV1::Predeploy, decorator: Google::Apis::ClouddeployV1::Predeploy::Representation
|
768
|
+
|
729
769
|
property :verify, as: 'verify'
|
730
770
|
end
|
731
771
|
end
|
@@ -913,6 +953,10 @@ module Google
|
|
913
953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
914
954
|
property :deploy_job, as: 'deployJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
915
955
|
|
956
|
+
property :postdeploy_job, as: 'postdeployJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
957
|
+
|
958
|
+
property :predeploy_job, as: 'predeployJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
959
|
+
|
916
960
|
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
917
961
|
|
918
962
|
end
|
@@ -992,6 +1036,10 @@ module Google
|
|
992
1036
|
|
993
1037
|
property :id, as: 'id'
|
994
1038
|
property :job_run, as: 'jobRun'
|
1039
|
+
property :postdeploy_job, as: 'postdeployJob', class: Google::Apis::ClouddeployV1::PostdeployJob, decorator: Google::Apis::ClouddeployV1::PostdeployJob::Representation
|
1040
|
+
|
1041
|
+
property :predeploy_job, as: 'predeployJob', class: Google::Apis::ClouddeployV1::PredeployJob, decorator: Google::Apis::ClouddeployV1::PredeployJob::Representation
|
1042
|
+
|
995
1043
|
property :skip_message, as: 'skipMessage'
|
996
1044
|
property :state, as: 'state'
|
997
1045
|
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::VerifyJob, decorator: Google::Apis::ClouddeployV1::VerifyJob::Representation
|
@@ -1014,6 +1062,10 @@ module Google
|
|
1014
1062
|
property :job_id, as: 'jobId'
|
1015
1063
|
property :name, as: 'name'
|
1016
1064
|
property :phase_id, as: 'phaseId'
|
1065
|
+
property :postdeploy_job_run, as: 'postdeployJobRun', class: Google::Apis::ClouddeployV1::PostdeployJobRun, decorator: Google::Apis::ClouddeployV1::PostdeployJobRun::Representation
|
1066
|
+
|
1067
|
+
property :predeploy_job_run, as: 'predeployJobRun', class: Google::Apis::ClouddeployV1::PredeployJobRun, decorator: Google::Apis::ClouddeployV1::PredeployJobRun::Representation
|
1068
|
+
|
1017
1069
|
property :start_time, as: 'startTime'
|
1018
1070
|
property :state, as: 'state'
|
1019
1071
|
property :uid, as: 'uid'
|
@@ -1191,6 +1243,10 @@ module Google
|
|
1191
1243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1192
1244
|
property :percentage, as: 'percentage'
|
1193
1245
|
property :phase_id, as: 'phaseId'
|
1246
|
+
property :postdeploy, as: 'postdeploy', class: Google::Apis::ClouddeployV1::Postdeploy, decorator: Google::Apis::ClouddeployV1::Postdeploy::Representation
|
1247
|
+
|
1248
|
+
property :predeploy, as: 'predeploy', class: Google::Apis::ClouddeployV1::Predeploy, decorator: Google::Apis::ClouddeployV1::Predeploy::Representation
|
1249
|
+
|
1194
1250
|
collection :profiles, as: 'profiles'
|
1195
1251
|
property :verify, as: 'verify'
|
1196
1252
|
end
|
@@ -1228,6 +1284,52 @@ module Google
|
|
1228
1284
|
end
|
1229
1285
|
end
|
1230
1286
|
|
1287
|
+
class Postdeploy
|
1288
|
+
# @private
|
1289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1290
|
+
collection :actions, as: 'actions'
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
class PostdeployJob
|
1295
|
+
# @private
|
1296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1297
|
+
collection :actions, as: 'actions'
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
class PostdeployJobRun
|
1302
|
+
# @private
|
1303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1304
|
+
property :build, as: 'build'
|
1305
|
+
property :failure_cause, as: 'failureCause'
|
1306
|
+
property :failure_message, as: 'failureMessage'
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
class Predeploy
|
1311
|
+
# @private
|
1312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1313
|
+
collection :actions, as: 'actions'
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
class PredeployJob
|
1318
|
+
# @private
|
1319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1320
|
+
collection :actions, as: 'actions'
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
class PredeployJobRun
|
1325
|
+
# @private
|
1326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1327
|
+
property :build, as: 'build'
|
1328
|
+
property :failure_cause, as: 'failureCause'
|
1329
|
+
property :failure_message, as: 'failureMessage'
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1231
1333
|
class PrivatePool
|
1232
1334
|
# @private
|
1233
1335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1438,6 +1540,10 @@ module Google
|
|
1438
1540
|
class Standard
|
1439
1541
|
# @private
|
1440
1542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1543
|
+
property :postdeploy, as: 'postdeploy', class: Google::Apis::ClouddeployV1::Postdeploy, decorator: Google::Apis::ClouddeployV1::Postdeploy::Representation
|
1544
|
+
|
1545
|
+
property :predeploy, as: 'predeploy', class: Google::Apis::ClouddeployV1::Predeploy, decorator: Google::Apis::ClouddeployV1::Predeploy::Representation
|
1546
|
+
|
1441
1547
|
property :verify, as: 'verify'
|
1442
1548
|
end
|
1443
1549
|
end
|
@@ -19,13 +19,13 @@ require 'google/apis/clouddeploy_v1/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
#
|
22
|
+
# Cloud Deploy API
|
23
23
|
#
|
24
24
|
#
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/deploy/
|
27
27
|
module ClouddeployV1
|
28
|
-
# Version of the
|
28
|
+
# Version of the Cloud Deploy API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
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.29.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-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,13 +30,13 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
-
description: This is the simple REST client for
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
description: This is the simple REST client for Cloud Deploy API V1. Simple REST clients
|
34
|
+
are Ruby client libraries that provide access to Google services via their HTTP
|
35
|
+
REST API endpoints. These libraries are generated and updated automatically based
|
36
|
+
on the discovery documents published by the service, and they handle most concerns
|
37
|
+
such as authentication, pagination, retry, timeouts, and logging. You can use this
|
38
|
+
client to access the Cloud Deploy API, but note that some services may provide a
|
39
|
+
separate modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
42
42
|
extensions: []
|
@@ -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.29.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: []
|
@@ -78,5 +78,5 @@ requirements: []
|
|
78
78
|
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
|
-
summary: Simple REST client for
|
81
|
+
summary: Simple REST client for Cloud Deploy API V1
|
82
82
|
test_files: []
|