google-apis-clouddeploy_v1 0.27.0 → 0.29.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: b207ec9a29c7b40313412f7f87c041e0f0dd49b703a08c650909fadb2a47712e
4
- data.tar.gz: b36ce9dfba18812a3494d7f1b3ca3b69ca76232ff91ba981c954a11827345594
3
+ metadata.gz: 531c43dc573b850abc4381dca0f032f9ccf4213ca785104d2c39618a0d7de1f6
4
+ data.tar.gz: a5c3737666b690194e3e51b04a80b3a8b31e2542e3eeeff4f7cf562154d8d755
5
5
  SHA512:
6
- metadata.gz: 0a6d723ee7d75a13ae2d15e6d0c50999238d97244f1639295e7d3c5736cb08a70966e034891c4ac3f5bda15b0c9d73f64d25f4d4c2377615aae1cd435cced313
7
- data.tar.gz: ef2873dbf75b19e88e6766c52e986cac2afd43928725bb781265b22b2b574e0e65fa698c782de8983dfddbf88baaf19f57bfc4f411d58862d873706373a3bec6
6
+ metadata.gz: 6c64f91f03f20b2cf06a3bda818556e36e02dafeb5eb47ec1206df6142244c1ed1bf36ef03c26738df1a8d94c9614008d7b2be14927ac8db0a0452463bb5ecb1
7
+ data.tar.gz: 60e640a6a8fbf1a0d51f7f397cf10eddcb4deaef8e646ad328d718f0580c30ff646ac57753d0c83799fa23ef493f69ddab61c32124af03537369e30777bf03d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.29.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230727
6
+
7
+ ### v0.28.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230712
10
+
3
11
  ### v0.27.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230609
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1 of the Google Cloud Deploy API
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 Google Cloud Deploy API. It provides:
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 Google Cloud Deploy API, see the {Google::Apis::ClouddeployV1::CloudDeployService class reference docs}.
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 Google Cloud Deploy API. A `
735
- # DeliveryPipeline` defines a pipeline through which a Skaffold configuration
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 Google Cloud Deploy.
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 Google
769
- # Cloud Deploy. Labels must meet the following constraints: * Keys and values
770
- # can contain only lowercase letters, numeric characters, underscores, and
771
- # dashes. * All characters must use UTF-8 encoding, and international characters
772
- # are allowed. * Keys must start with a lowercase letter or international
773
- # character. * Each resource is limited to a maximum of 64 labels. Both keys and
774
- # values are additionally constrained to be <= 128 bytes.
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
@@ -1163,6 +1186,13 @@ module Google
1163
1186
  # @return [String]
1164
1187
  attr_accessor :http_route
1165
1188
 
1189
+ # Optional. The time to wait for route updates to propagate. The maximum
1190
+ # configurable time is 3 hours, in seconds format. If unspecified, there is no
1191
+ # wait time.
1192
+ # Corresponds to the JSON property `routeUpdateWaitTime`
1193
+ # @return [String]
1194
+ attr_accessor :route_update_wait_time
1195
+
1166
1196
  # Required. Name of the Kubernetes Service.
1167
1197
  # Corresponds to the JSON property `service`
1168
1198
  # @return [String]
@@ -1176,6 +1206,7 @@ module Google
1176
1206
  def update!(**args)
1177
1207
  @deployment = args[:deployment] if args.key?(:deployment)
1178
1208
  @http_route = args[:http_route] if args.key?(:http_route)
1209
+ @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
1179
1210
  @service = args[:service] if args.key?(:service)
1180
1211
  end
1181
1212
  end
@@ -1281,6 +1312,16 @@ module Google
1281
1312
  # @return [String]
1282
1313
  attr_accessor :job_run
1283
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
+
1284
1325
  # Output only. Additional information on why the Job was skipped, if available.
1285
1326
  # Corresponds to the JSON property `skipMessage`
1286
1327
  # @return [String]
@@ -1307,14 +1348,16 @@ module Google
1307
1348
  @deploy_job = args[:deploy_job] if args.key?(:deploy_job)
1308
1349
  @id = args[:id] if args.key?(:id)
1309
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)
1310
1353
  @skip_message = args[:skip_message] if args.key?(:skip_message)
1311
1354
  @state = args[:state] if args.key?(:state)
1312
1355
  @verify_job = args[:verify_job] if args.key?(:verify_job)
1313
1356
  end
1314
1357
  end
1315
1358
 
1316
- # A `JobRun` resource in the Google Cloud Deploy API. A `JobRun` contains
1317
- # information of a single `Rollout` job evaluation.
1359
+ # A `JobRun` resource in the Cloud Deploy API. A `JobRun` contains information
1360
+ # of a single `Rollout` job evaluation.
1318
1361
  class JobRun
1319
1362
  include Google::Apis::Core::Hashable
1320
1363
 
@@ -1369,6 +1412,16 @@ module Google
1369
1412
  # @return [String]
1370
1413
  attr_accessor :phase_id
1371
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
+
1372
1425
  # Output only. Time at which the `JobRun` was started.
1373
1426
  # Corresponds to the JSON property `startTime`
1374
1427
  # @return [String]
@@ -1404,6 +1457,8 @@ module Google
1404
1457
  @job_id = args[:job_id] if args.key?(:job_id)
1405
1458
  @name = args[:name] if args.key?(:name)
1406
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)
1407
1462
  @start_time = args[:start_time] if args.key?(:start_time)
1408
1463
  @state = args[:state] if args.key?(:state)
1409
1464
  @uid = args[:uid] if args.key?(:uid)
@@ -2004,6 +2059,16 @@ module Google
2004
2059
  # @return [String]
2005
2060
  attr_accessor :phase_id
2006
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
+
2007
2072
  # Skaffold profiles to use when rendering the manifest for this phase. These are
2008
2073
  # in addition to the profiles list specified in the `DeliveryPipeline` stage.
2009
2074
  # Corresponds to the JSON property `profiles`
@@ -2024,6 +2089,8 @@ module Google
2024
2089
  def update!(**args)
2025
2090
  @percentage = args[:percentage] if args.key?(:percentage)
2026
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)
2027
2094
  @profiles = args[:profiles] if args.key?(:profiles)
2028
2095
  @verify = args[:verify] if args.key?(:verify)
2029
2096
  end
@@ -2186,6 +2253,152 @@ module Google
2186
2253
  end
2187
2254
  end
2188
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
+
2189
2402
  # Execution using a private Cloud Build pool.
2190
2403
  class PrivatePool
2191
2404
  include Google::Apis::Core::Hashable
@@ -2223,8 +2436,8 @@ module Google
2223
2436
  end
2224
2437
  end
2225
2438
 
2226
- # A `Release` resource in the Google Cloud Deploy API. A `Release` defines a
2227
- # specific Skaffold configuration instance that can be deployed.
2439
+ # A `Release` resource in the Cloud Deploy API. A `Release` defines a specific
2440
+ # Skaffold configuration instance that can be deployed.
2228
2441
  class Release
2229
2442
  include Google::Apis::Core::Hashable
2230
2443
 
@@ -2235,8 +2448,8 @@ module Google
2235
2448
  alias_method :abandoned?, :abandoned
2236
2449
 
2237
2450
  # User annotations. These attributes can only be set and used by the user, and
2238
- # not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
2239
- # more details such as format and size limitations.
2451
+ # not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
2452
+ # details such as format and size limitations.
2240
2453
  # Corresponds to the JSON property `annotations`
2241
2454
  # @return [Hash<String,String>]
2242
2455
  attr_accessor :annotations
@@ -2256,9 +2469,8 @@ module Google
2256
2469
  # @return [String]
2257
2470
  attr_accessor :create_time
2258
2471
 
2259
- # A `DeliveryPipeline` resource in the Google Cloud Deploy API. A `
2260
- # DeliveryPipeline` defines a pipeline through which a Skaffold configuration
2261
- # can progress.
2472
+ # A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
2473
+ # defines a pipeline through which a Skaffold configuration can progress.
2262
2474
  # Corresponds to the JSON property `deliveryPipelineSnapshot`
2263
2475
  # @return [Google::Apis::ClouddeployV1::DeliveryPipeline]
2264
2476
  attr_accessor :delivery_pipeline_snapshot
@@ -2280,13 +2492,13 @@ module Google
2280
2492
  # @return [String]
2281
2493
  attr_accessor :etag
2282
2494
 
2283
- # Labels are attributes that can be set and used by both the user and by Google
2284
- # Cloud Deploy. Labels must meet the following constraints: * Keys and values
2285
- # can contain only lowercase letters, numeric characters, underscores, and
2286
- # dashes. * All characters must use UTF-8 encoding, and international characters
2287
- # are allowed. * Keys must start with a lowercase letter or international
2288
- # character. * Each resource is limited to a maximum of 64 labels. Both keys and
2289
- # values are additionally constrained to be <= 128 bytes.
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.
2290
2502
  # Corresponds to the JSON property `labels`
2291
2503
  # @return [Hash<String,String>]
2292
2504
  attr_accessor :labels
@@ -2323,8 +2535,8 @@ module Google
2323
2535
  attr_accessor :skaffold_config_uri
2324
2536
 
2325
2537
  # The Skaffold version to use when operating on this release, such as "1.20.0".
2326
- # Not all versions are valid; Google Cloud Deploy supports a specific set of
2327
- # versions. If unset, the most recent supported Skaffold version will be used.
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.
2328
2540
  # Corresponds to the JSON property `skaffoldVersion`
2329
2541
  # @return [String]
2330
2542
  attr_accessor :skaffold_version
@@ -2550,14 +2762,14 @@ module Google
2550
2762
  end
2551
2763
  end
2552
2764
 
2553
- # A `Rollout` resource in the Google Cloud Deploy API. A `Rollout` contains
2554
- # information around a specific deployment to a `Target`.
2765
+ # A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information
2766
+ # around a specific deployment to a `Target`.
2555
2767
  class Rollout
2556
2768
  include Google::Apis::Core::Hashable
2557
2769
 
2558
2770
  # User annotations. These attributes can only be set and used by the user, and
2559
- # not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
2560
- # more details such as format and size limitations.
2771
+ # not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
2772
+ # details such as format and size limitations.
2561
2773
  # Corresponds to the JSON property `annotations`
2562
2774
  # @return [Hash<String,String>]
2563
2775
  attr_accessor :annotations
@@ -2629,13 +2841,13 @@ module Google
2629
2841
  # @return [String]
2630
2842
  attr_accessor :failure_reason
2631
2843
 
2632
- # Labels are attributes that can be set and used by both the user and by Google
2633
- # Cloud Deploy. Labels must meet the following constraints: * Keys and values
2634
- # can contain only lowercase letters, numeric characters, underscores, and
2635
- # dashes. * All characters must use UTF-8 encoding, and international characters
2636
- # are allowed. * Keys must start with a lowercase letter or international
2637
- # character. * Each resource is limited to a maximum of 64 labels. Both keys and
2638
- # values are additionally constrained to be <= 128 bytes.
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.
2639
2851
  # Corresponds to the JSON property `labels`
2640
2852
  # @return [Hash<String,String>]
2641
2853
  attr_accessor :labels
@@ -3016,6 +3228,16 @@ module Google
3016
3228
  class Standard
3017
3229
  include Google::Apis::Core::Hashable
3018
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
+
3019
3241
  # Whether to verify a deployment.
3020
3242
  # Corresponds to the JSON property `verify`
3021
3243
  # @return [Boolean]
@@ -3028,6 +3250,8 @@ module Google
3028
3250
 
3029
3251
  # Update properties of this object
3030
3252
  def update!(**args)
3253
+ @postdeploy = args[:postdeploy] if args.key?(:postdeploy)
3254
+ @predeploy = args[:predeploy] if args.key?(:predeploy)
3031
3255
  @verify = args[:verify] if args.key?(:verify)
3032
3256
  end
3033
3257
  end
@@ -3096,14 +3320,14 @@ module Google
3096
3320
  end
3097
3321
  end
3098
3322
 
3099
- # A `Target` resource in the Google Cloud Deploy API. A `Target` defines a
3100
- # location to which a Skaffold configuration can be deployed.
3323
+ # A `Target` resource in the Cloud Deploy API. A `Target` defines a location to
3324
+ # which a Skaffold configuration can be deployed.
3101
3325
  class Target
3102
3326
  include Google::Apis::Core::Hashable
3103
3327
 
3104
3328
  # Optional. User annotations. These attributes can only be set and used by the
3105
- # user, and not by Google Cloud Deploy. See https://google.aip.dev/128#
3106
- # annotations for more details such as format and size limitations.
3329
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
3330
+ # more details such as format and size limitations.
3107
3331
  # Corresponds to the JSON property `annotations`
3108
3332
  # @return [Hash<String,String>]
3109
3333
  attr_accessor :annotations
@@ -3151,12 +3375,12 @@ module Google
3151
3375
  attr_accessor :gke
3152
3376
 
3153
3377
  # Optional. Labels are attributes that can be set and used by both the user and
3154
- # by Google Cloud Deploy. Labels must meet the following constraints: * Keys and
3155
- # values can contain only lowercase letters, numeric characters, underscores,
3156
- # and dashes. * All characters must use UTF-8 encoding, and international
3157
- # characters are allowed. * Keys must start with a lowercase letter or
3158
- # international character. * Each resource is limited to a maximum of 64 labels.
3159
- # Both keys and values are additionally constrained to be <= 128 bytes.
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.
3160
3384
  # Corresponds to the JSON property `labels`
3161
3385
  # @return [Hash<String,String>]
3162
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.27.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 = "20230609"
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
@@ -954,6 +998,7 @@ module Google
954
998
  class Representation < Google::Apis::Core::JsonRepresentation
955
999
  property :deployment, as: 'deployment'
956
1000
  property :http_route, as: 'httpRoute'
1001
+ property :route_update_wait_time, as: 'routeUpdateWaitTime'
957
1002
  property :service, as: 'service'
958
1003
  end
959
1004
  end
@@ -991,6 +1036,10 @@ module Google
991
1036
 
992
1037
  property :id, as: 'id'
993
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
+
994
1043
  property :skip_message, as: 'skipMessage'
995
1044
  property :state, as: 'state'
996
1045
  property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::VerifyJob, decorator: Google::Apis::ClouddeployV1::VerifyJob::Representation
@@ -1013,6 +1062,10 @@ module Google
1013
1062
  property :job_id, as: 'jobId'
1014
1063
  property :name, as: 'name'
1015
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
+
1016
1069
  property :start_time, as: 'startTime'
1017
1070
  property :state, as: 'state'
1018
1071
  property :uid, as: 'uid'
@@ -1190,6 +1243,10 @@ module Google
1190
1243
  class Representation < Google::Apis::Core::JsonRepresentation
1191
1244
  property :percentage, as: 'percentage'
1192
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
+
1193
1250
  collection :profiles, as: 'profiles'
1194
1251
  property :verify, as: 'verify'
1195
1252
  end
@@ -1227,6 +1284,52 @@ module Google
1227
1284
  end
1228
1285
  end
1229
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
+
1230
1333
  class PrivatePool
1231
1334
  # @private
1232
1335
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1437,6 +1540,10 @@ module Google
1437
1540
  class Standard
1438
1541
  # @private
1439
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
+
1440
1547
  property :verify, as: 'verify'
1441
1548
  end
1442
1549
  end
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module ClouddeployV1
23
- # Google Cloud Deploy API
23
+ # Cloud Deploy API
24
24
  #
25
25
  #
26
26
  #
@@ -19,13 +19,13 @@ require 'google/apis/clouddeploy_v1/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # Google Cloud Deploy API
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 Google Cloud Deploy API this client connects to.
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.27.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-06-25 00:00:00.000000000 Z
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 Google Cloud Deploy API V1. Simple
34
- REST clients are Ruby client libraries that provide access to Google services via
35
- their HTTP REST API endpoints. These libraries are generated and updated automatically
36
- based on the discovery documents published by the service, and they handle most
37
- concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
- use this client to access the Google Cloud Deploy API, but note that some services
39
- may provide a separate modern client that is easier to use.
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.27.0
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 Google Cloud Deploy API V1
81
+ summary: Simple REST client for Cloud Deploy API V1
82
82
  test_files: []