google-apis-clouddeploy_v1 0.36.0 → 0.37.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: 42c95281e907e5ad86859bd35ef5dc08a035b477a88f577da48b13a11066395c
4
- data.tar.gz: 6f21645f289083d3b03f886631977ee97dc376d306e491f476346056e2613fd4
3
+ metadata.gz: 54acabbce98b10387705e398ff0282e8a5e7afc71f4e4b8ba9d00d267bd5053c
4
+ data.tar.gz: f0350dcece1552df8278bf7296934c5c0fff5b5fea9f977c711decf65c9fdafa
5
5
  SHA512:
6
- metadata.gz: dd0e730271a6171986b01db1f9ae88c87bb68c6fe868f58f42d7f63a464004ccecdf867e166d23f7679e47a169d87bf69243f9ffd72d1bf14363bd770906ed13
7
- data.tar.gz: 604a990ddfab1984ac3a8c410501521762e75208dcc7d45edf746401025a37a6a32e7068a623a54caf3337d7fd946d8e9f5c244799e7e39e5aa9ec4094cdab3a
6
+ metadata.gz: faa050b326c42ec6f259e0a3c5dff0bf5a29e9c72af95c0e2d4b27168e0ef4474ddc1242f954905ddcff2173a1a52af2a7c5fb3c6e61476fb290577ce96336c2
7
+ data.tar.gz: 0735a0ac9e9912cbe6cc66fa66006b87e8605652a012a34f0d8c82b0ad56c8604f915684c1243831857f3a3479fb7d9d4be104d8bc716b9b99ea7c4c4f15d53d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.37.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231130
6
+
3
7
  ### v0.36.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231110
@@ -93,7 +93,7 @@ module Google
93
93
  class AdvanceRolloutOperation
94
94
  include Google::Apis::Core::Hashable
95
95
 
96
- # Output only. The phase to which the rollout will be advanced to.
96
+ # Output only. The phase the rollout will be advanced to.
97
97
  # Corresponds to the JSON property `destinationPhase`
98
98
  # @return [String]
99
99
  attr_accessor :destination_phase
@@ -328,7 +328,7 @@ module Google
328
328
 
329
329
  # An `Automation` resource in the Cloud Deploy API. An `Automation` enables the
330
330
  # automation of manually driven actions for a Delivery Pipeline, which includes
331
- # Release promotion amongst Targets, Rollout repair and Rollout deployment
331
+ # Release promotion among Targets, Rollout repair and Rollout deployment
332
332
  # strategy advancement. The intention of Automation is to reduce manual
333
333
  # intervention in the continuous delivery process.
334
334
  class Automation
@@ -570,8 +570,8 @@ module Google
570
570
  class AutomationRuleCondition
571
571
  include Google::Apis::Core::Hashable
572
572
 
573
- # TargetsPresentCondition contains information on any Targets defined in the
574
- # Delivery Pipeline that do not actually exist.
573
+ # `TargetsPresentCondition` contains information on any Targets referenced in
574
+ # the Delivery Pipeline that do not actually exist.
575
575
  # Corresponds to the JSON property `targetsPresentCondition`
576
576
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
577
577
  attr_accessor :targets_present_condition
@@ -587,7 +587,7 @@ module Google
587
587
  end
588
588
 
589
589
  # An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun`
590
- # represents an automation execution instance of an automation rule.
590
+ # represents an execution instance of an automation rule.
591
591
  class AutomationRun
592
592
  include Google::Apis::Core::Hashable
593
593
 
@@ -603,7 +603,7 @@ module Google
603
603
 
604
604
  # An `Automation` resource in the Cloud Deploy API. An `Automation` enables the
605
605
  # automation of manually driven actions for a Delivery Pipeline, which includes
606
- # Release promotion amongst Targets, Rollout repair and Rollout deployment
606
+ # Release promotion among Targets, Rollout repair and Rollout deployment
607
607
  # strategy advancement. The intention of Automation is to reduce manual
608
608
  # intervention in the continuous delivery process.
609
609
  # Corresponds to the JSON property `automationSnapshot`
@@ -623,8 +623,8 @@ module Google
623
623
  # @return [String]
624
624
  attr_accessor :etag
625
625
 
626
- # Output only. Time the `AutomationRun` will expire. An `AutomationRun` will
627
- # expire after 14 days from its creation date.
626
+ # Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
627
+ # after 14 days from its creation date.
628
628
  # Corresponds to the JSON property `expireTime`
629
629
  # @return [String]
630
630
  attr_accessor :expire_time
@@ -663,7 +663,7 @@ module Google
663
663
  attr_accessor :state
664
664
 
665
665
  # Output only. Explains the current state of the `AutomationRun`. Present only
666
- # an explanation is needed.
666
+ # when an explanation is needed.
667
667
  # Corresponds to the JSON property `stateDescription`
668
668
  # @return [String]
669
669
  attr_accessor :state_description
@@ -1044,6 +1044,24 @@ module Google
1044
1044
  attr_accessor :automatic_traffic_control
1045
1045
  alias_method :automatic_traffic_control?, :automatic_traffic_control
1046
1046
 
1047
+ # Optional. A list of tags that are added to the canary revision while the
1048
+ # canary deployment is in progress.
1049
+ # Corresponds to the JSON property `canaryRevisionTags`
1050
+ # @return [Array<String>]
1051
+ attr_accessor :canary_revision_tags
1052
+
1053
+ # Optional. A list of tags that are added to the prior revision while the canary
1054
+ # deployment is in progress.
1055
+ # Corresponds to the JSON property `priorRevisionTags`
1056
+ # @return [Array<String>]
1057
+ attr_accessor :prior_revision_tags
1058
+
1059
+ # Optional. A list of tags that are added to the final stable revision after the
1060
+ # canary deployment is completed.
1061
+ # Corresponds to the JSON property `stableRevisionTags`
1062
+ # @return [Array<String>]
1063
+ attr_accessor :stable_revision_tags
1064
+
1047
1065
  def initialize(**args)
1048
1066
  update!(**args)
1049
1067
  end
@@ -1051,6 +1069,9 @@ module Google
1051
1069
  # Update properties of this object
1052
1070
  def update!(**args)
1053
1071
  @automatic_traffic_control = args[:automatic_traffic_control] if args.key?(:automatic_traffic_control)
1072
+ @canary_revision_tags = args[:canary_revision_tags] if args.key?(:canary_revision_tags)
1073
+ @prior_revision_tags = args[:prior_revision_tags] if args.key?(:prior_revision_tags)
1074
+ @stable_revision_tags = args[:stable_revision_tags] if args.key?(:stable_revision_tags)
1054
1075
  end
1055
1076
  end
1056
1077
 
@@ -1228,6 +1249,188 @@ module Google
1228
1249
  end
1229
1250
  end
1230
1251
 
1252
+ # CustomMetadata contains information from a user defined operation.
1253
+ class CustomMetadata
1254
+ include Google::Apis::Core::Hashable
1255
+
1256
+ # Output only. Key-value pairs provided by the user defined operation.
1257
+ # Corresponds to the JSON property `values`
1258
+ # @return [Hash<String,String>]
1259
+ attr_accessor :values
1260
+
1261
+ def initialize(**args)
1262
+ update!(**args)
1263
+ end
1264
+
1265
+ # Update properties of this object
1266
+ def update!(**args)
1267
+ @values = args[:values] if args.key?(:values)
1268
+ end
1269
+ end
1270
+
1271
+ # Information specifying a Custom Target.
1272
+ class CustomTarget
1273
+ include Google::Apis::Core::Hashable
1274
+
1275
+ # Required. The name of the CustomTargetType. Format must be `projects/`project`/
1276
+ # locations/`location`/customTargetTypes/`custom_target_type``.
1277
+ # Corresponds to the JSON property `customTargetType`
1278
+ # @return [String]
1279
+ attr_accessor :custom_target_type
1280
+
1281
+ def initialize(**args)
1282
+ update!(**args)
1283
+ end
1284
+
1285
+ # Update properties of this object
1286
+ def update!(**args)
1287
+ @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type)
1288
+ end
1289
+ end
1290
+
1291
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1292
+ # operation.
1293
+ class CustomTargetDeployMetadata
1294
+ include Google::Apis::Core::Hashable
1295
+
1296
+ # Output only. Skip message provided in the results of a custom deploy operation.
1297
+ # Corresponds to the JSON property `skipMessage`
1298
+ # @return [String]
1299
+ attr_accessor :skip_message
1300
+
1301
+ def initialize(**args)
1302
+ update!(**args)
1303
+ end
1304
+
1305
+ # Update properties of this object
1306
+ def update!(**args)
1307
+ @skip_message = args[:skip_message] if args.key?(:skip_message)
1308
+ end
1309
+ end
1310
+
1311
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1312
+ # using Skaffold custom actions.
1313
+ class CustomTargetSkaffoldActions
1314
+ include Google::Apis::Core::Hashable
1315
+
1316
+ # Required. The Skaffold custom action responsible for deploy operations.
1317
+ # Corresponds to the JSON property `deployAction`
1318
+ # @return [String]
1319
+ attr_accessor :deploy_action
1320
+
1321
+ # Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold
1322
+ # Config as required before performing diagnose.
1323
+ # Corresponds to the JSON property `includeSkaffoldModules`
1324
+ # @return [Array<Google::Apis::ClouddeployV1::SkaffoldModules>]
1325
+ attr_accessor :include_skaffold_modules
1326
+
1327
+ # Optional. The Skaffold custom action responsible for render operations. If not
1328
+ # provided then Cloud Deploy will perform the render operations via `skaffold
1329
+ # render`.
1330
+ # Corresponds to the JSON property `renderAction`
1331
+ # @return [String]
1332
+ attr_accessor :render_action
1333
+
1334
+ def initialize(**args)
1335
+ update!(**args)
1336
+ end
1337
+
1338
+ # Update properties of this object
1339
+ def update!(**args)
1340
+ @deploy_action = args[:deploy_action] if args.key?(:deploy_action)
1341
+ @include_skaffold_modules = args[:include_skaffold_modules] if args.key?(:include_skaffold_modules)
1342
+ @render_action = args[:render_action] if args.key?(:render_action)
1343
+ end
1344
+ end
1345
+
1346
+ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType`
1347
+ # defines a type of custom target that can be referenced in a `Target` in order
1348
+ # to facilitate deploying to a runtime that does not have a 1P integration with
1349
+ # Cloud Deploy.
1350
+ class CustomTargetType
1351
+ include Google::Apis::Core::Hashable
1352
+
1353
+ # Optional. User annotations. These attributes can only be set and used by the
1354
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
1355
+ # more details such as format and size limitations.
1356
+ # Corresponds to the JSON property `annotations`
1357
+ # @return [Hash<String,String>]
1358
+ attr_accessor :annotations
1359
+
1360
+ # Output only. Time at which the `CustomTargetType` was created.
1361
+ # Corresponds to the JSON property `createTime`
1362
+ # @return [String]
1363
+ attr_accessor :create_time
1364
+
1365
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1366
+ # using Skaffold custom actions.
1367
+ # Corresponds to the JSON property `customActions`
1368
+ # @return [Google::Apis::ClouddeployV1::CustomTargetSkaffoldActions]
1369
+ attr_accessor :custom_actions
1370
+
1371
+ # Output only. Resource id of the `CustomTargetType`.
1372
+ # Corresponds to the JSON property `customTargetTypeId`
1373
+ # @return [String]
1374
+ attr_accessor :custom_target_type_id
1375
+
1376
+ # Optional. Description of the `CustomTargetType`. Max length is 255 characters.
1377
+ # Corresponds to the JSON property `description`
1378
+ # @return [String]
1379
+ attr_accessor :description
1380
+
1381
+ # Optional. This checksum is computed by the server based on the value of other
1382
+ # fields, and may be sent on update and delete requests to ensure the client has
1383
+ # an up-to-date value before proceeding.
1384
+ # Corresponds to the JSON property `etag`
1385
+ # @return [String]
1386
+ attr_accessor :etag
1387
+
1388
+ # Optional. Labels are attributes that can be set and used by both the user and
1389
+ # by Cloud Deploy. Labels must meet the following constraints: * Keys and values
1390
+ # can contain only lowercase letters, numeric characters, underscores, and
1391
+ # dashes. * All characters must use UTF-8 encoding, and international characters
1392
+ # are allowed. * Keys must start with a lowercase letter or international
1393
+ # character. * Each resource is limited to a maximum of 64 labels. Both keys and
1394
+ # values are additionally constrained to be <= 128 bytes.
1395
+ # Corresponds to the JSON property `labels`
1396
+ # @return [Hash<String,String>]
1397
+ attr_accessor :labels
1398
+
1399
+ # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
1400
+ # locations/`location`/customTargetTypes/a-z`0,62``.
1401
+ # Corresponds to the JSON property `name`
1402
+ # @return [String]
1403
+ attr_accessor :name
1404
+
1405
+ # Output only. Unique identifier of the `CustomTargetType`.
1406
+ # Corresponds to the JSON property `uid`
1407
+ # @return [String]
1408
+ attr_accessor :uid
1409
+
1410
+ # Output only. Most recent time at which the `CustomTargetType` was updated.
1411
+ # Corresponds to the JSON property `updateTime`
1412
+ # @return [String]
1413
+ attr_accessor :update_time
1414
+
1415
+ def initialize(**args)
1416
+ update!(**args)
1417
+ end
1418
+
1419
+ # Update properties of this object
1420
+ def update!(**args)
1421
+ @annotations = args[:annotations] if args.key?(:annotations)
1422
+ @create_time = args[:create_time] if args.key?(:create_time)
1423
+ @custom_actions = args[:custom_actions] if args.key?(:custom_actions)
1424
+ @custom_target_type_id = args[:custom_target_type_id] if args.key?(:custom_target_type_id)
1425
+ @description = args[:description] if args.key?(:description)
1426
+ @etag = args[:etag] if args.key?(:etag)
1427
+ @labels = args[:labels] if args.key?(:labels)
1428
+ @name = args[:name] if args.key?(:name)
1429
+ @uid = args[:uid] if args.key?(:uid)
1430
+ @update_time = args[:update_time] if args.key?(:update_time)
1431
+ end
1432
+ end
1433
+
1231
1434
  # Represents a whole or partial calendar date, such as a birthday. The time of
1232
1435
  # day and time zone are either specified elsewhere or are insignificant. The
1233
1436
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1520,6 +1723,17 @@ module Google
1520
1723
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
1521
1724
  attr_accessor :cloud_run
1522
1725
 
1726
+ # CustomMetadata contains information from a user defined operation.
1727
+ # Corresponds to the JSON property `custom`
1728
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
1729
+ attr_accessor :custom
1730
+
1731
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1732
+ # operation.
1733
+ # Corresponds to the JSON property `customTarget`
1734
+ # @return [Google::Apis::ClouddeployV1::CustomTargetDeployMetadata]
1735
+ attr_accessor :custom_target
1736
+
1523
1737
  def initialize(**args)
1524
1738
  update!(**args)
1525
1739
  end
@@ -1527,6 +1741,8 @@ module Google
1527
1741
  # Update properties of this object
1528
1742
  def update!(**args)
1529
1743
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
1744
+ @custom = args[:custom] if args.key?(:custom)
1745
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
1530
1746
  end
1531
1747
  end
1532
1748
 
@@ -2140,7 +2356,7 @@ module Google
2140
2356
  class ListAutomationsResponse
2141
2357
  include Google::Apis::Core::Hashable
2142
2358
 
2143
- # The `Automations` objects.
2359
+ # The `Automation` objects.
2144
2360
  # Corresponds to the JSON property `automations`
2145
2361
  # @return [Array<Google::Apis::ClouddeployV1::Automation>]
2146
2362
  attr_accessor :automations
@@ -2168,6 +2384,38 @@ module Google
2168
2384
  end
2169
2385
  end
2170
2386
 
2387
+ # The response object from `ListCustomTargetTypes.`
2388
+ class ListCustomTargetTypesResponse
2389
+ include Google::Apis::Core::Hashable
2390
+
2391
+ # The `CustomTargetType` objects.
2392
+ # Corresponds to the JSON property `customTargetTypes`
2393
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
2394
+ attr_accessor :custom_target_types
2395
+
2396
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2397
+ # field is omitted, there are no subsequent pages.
2398
+ # Corresponds to the JSON property `nextPageToken`
2399
+ # @return [String]
2400
+ attr_accessor :next_page_token
2401
+
2402
+ # Locations that could not be reached.
2403
+ # Corresponds to the JSON property `unreachable`
2404
+ # @return [Array<String>]
2405
+ attr_accessor :unreachable
2406
+
2407
+ def initialize(**args)
2408
+ update!(**args)
2409
+ end
2410
+
2411
+ # Update properties of this object
2412
+ def update!(**args)
2413
+ @custom_target_types = args[:custom_target_types] if args.key?(:custom_target_types)
2414
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2415
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2416
+ end
2417
+ end
2418
+
2171
2419
  # The response object from `ListDeliveryPipelines`.
2172
2420
  class ListDeliveryPipelinesResponse
2173
2421
  include Google::Apis::Core::Hashable
@@ -2440,6 +2688,11 @@ module Google
2440
2688
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
2441
2689
  attr_accessor :cloud_run
2442
2690
 
2691
+ # CustomMetadata contains information from a user defined operation.
2692
+ # Corresponds to the JSON property `custom`
2693
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
2694
+ attr_accessor :custom
2695
+
2443
2696
  def initialize(**args)
2444
2697
  update!(**args)
2445
2698
  end
@@ -2448,6 +2701,7 @@ module Google
2448
2701
  def update!(**args)
2449
2702
  @automation = args[:automation] if args.key?(:automation)
2450
2703
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
2704
+ @custom = args[:custom] if args.key?(:custom)
2451
2705
  end
2452
2706
  end
2453
2707
 
@@ -2732,8 +2986,8 @@ module Google
2732
2986
  # @return [Google::Apis::ClouddeployV1::PipelineReadyCondition]
2733
2987
  attr_accessor :pipeline_ready_condition
2734
2988
 
2735
- # TargetsPresentCondition contains information on any Targets defined in the
2736
- # Delivery Pipeline that do not actually exist.
2989
+ # `TargetsPresentCondition` contains information on any Targets referenced in
2990
+ # the Delivery Pipeline that do not actually exist.
2737
2991
  # Corresponds to the JSON property `targetsPresentCondition`
2738
2992
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
2739
2993
  attr_accessor :targets_present_condition
@@ -3187,6 +3441,12 @@ module Google
3187
3441
  # @return [String]
3188
3442
  attr_accessor :create_time
3189
3443
 
3444
+ # Output only. Snapshot of the custom target types referenced by the targets
3445
+ # taken at release creation time.
3446
+ # Corresponds to the JSON property `customTargetTypeSnapshots`
3447
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
3448
+ attr_accessor :custom_target_type_snapshots
3449
+
3190
3450
  # A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
3191
3451
  # defines a pipeline through which a Skaffold configuration can progress.
3192
3452
  # Corresponds to the JSON property `deliveryPipelineSnapshot`
@@ -3292,6 +3552,7 @@ module Google
3292
3552
  @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
3293
3553
  @condition = args[:condition] if args.key?(:condition)
3294
3554
  @create_time = args[:create_time] if args.key?(:create_time)
3555
+ @custom_target_type_snapshots = args[:custom_target_type_snapshots] if args.key?(:custom_target_type_snapshots)
3295
3556
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
3296
3557
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3297
3558
  @description = args[:description] if args.key?(:description)
@@ -3322,7 +3583,7 @@ module Google
3322
3583
  attr_accessor :release_ready_condition
3323
3584
 
3324
3585
  # SkaffoldSupportedCondition contains information about when support for the
3325
- # release's version of skaffold ends.
3586
+ # release's version of Skaffold ends.
3326
3587
  # Corresponds to the JSON property `skaffoldSupportedCondition`
3327
3588
  # @return [Google::Apis::ClouddeployV1::SkaffoldSupportedCondition]
3328
3589
  attr_accessor :skaffold_supported_condition
@@ -3438,6 +3699,11 @@ module Google
3438
3699
  # @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
3439
3700
  attr_accessor :cloud_run
3440
3701
 
3702
+ # CustomMetadata contains information from a user defined operation.
3703
+ # Corresponds to the JSON property `custom`
3704
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
3705
+ attr_accessor :custom
3706
+
3441
3707
  def initialize(**args)
3442
3708
  update!(**args)
3443
3709
  end
@@ -3445,6 +3711,7 @@ module Google
3445
3711
  # Update properties of this object
3446
3712
  def update!(**args)
3447
3713
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3714
+ @custom = args[:custom] if args.key?(:custom)
3448
3715
  end
3449
3716
  end
3450
3717
 
@@ -3509,6 +3776,16 @@ module Google
3509
3776
  # @return [Fixnum]
3510
3777
  attr_accessor :current_repair_mode_index
3511
3778
 
3779
+ # Output only. The job ID for the Job to repair.
3780
+ # Corresponds to the JSON property `jobId`
3781
+ # @return [String]
3782
+ attr_accessor :job_id
3783
+
3784
+ # Output only. The phase ID of the phase that includes the job being repaired.
3785
+ # Corresponds to the JSON property `phaseId`
3786
+ # @return [String]
3787
+ attr_accessor :phase_id
3788
+
3512
3789
  # Output only. Records of the repair attempts. Each repair phase may have
3513
3790
  # multiple retry attempts or single rollback attempt.
3514
3791
  # Corresponds to the JSON property `repairPhases`
@@ -3527,6 +3804,8 @@ module Google
3527
3804
  # Update properties of this object
3528
3805
  def update!(**args)
3529
3806
  @current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index)
3807
+ @job_id = args[:job_id] if args.key?(:job_id)
3808
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
3530
3809
  @repair_phases = args[:repair_phases] if args.key?(:repair_phases)
3531
3810
  @rollout = args[:rollout] if args.key?(:rollout)
3532
3811
  end
@@ -3591,7 +3870,7 @@ module Google
3591
3870
  class Retry
3592
3871
  include Google::Apis::Core::Hashable
3593
3872
 
3594
- # Required. Total number of retries. Retry will skipped if set to 0; The minimum
3873
+ # Required. Total number of retries. Retry is skipped if set to 0; The minimum
3595
3874
  # value is 1, and the maximum value is 10.
3596
3875
  # Corresponds to the JSON property `attempts`
3597
3876
  # @return [Fixnum]
@@ -4303,29 +4582,118 @@ module Google
4303
4582
  end
4304
4583
  end
4305
4584
 
4585
+ # Cloud Storage bucket containing Skaffold Config modules.
4586
+ class SkaffoldGcsSource
4587
+ include Google::Apis::Core::Hashable
4588
+
4589
+ # Optional. Relative path from the source to the Skaffold file.
4590
+ # Corresponds to the JSON property `path`
4591
+ # @return [String]
4592
+ attr_accessor :path
4593
+
4594
+ # Required. Cloud Storage source paths to copy recursively. For example,
4595
+ # providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all
4596
+ # files within the "dir/configs" directory in the bucket "my-bucket".
4597
+ # Corresponds to the JSON property `source`
4598
+ # @return [String]
4599
+ attr_accessor :source
4600
+
4601
+ def initialize(**args)
4602
+ update!(**args)
4603
+ end
4604
+
4605
+ # Update properties of this object
4606
+ def update!(**args)
4607
+ @path = args[:path] if args.key?(:path)
4608
+ @source = args[:source] if args.key?(:source)
4609
+ end
4610
+ end
4611
+
4612
+ # Git repository containing Skaffold Config modules.
4613
+ class SkaffoldGitSource
4614
+ include Google::Apis::Core::Hashable
4615
+
4616
+ # Optional. Relative path from the repository root to the Skaffold file.
4617
+ # Corresponds to the JSON property `path`
4618
+ # @return [String]
4619
+ attr_accessor :path
4620
+
4621
+ # Optional. Git ref the package should be cloned from.
4622
+ # Corresponds to the JSON property `ref`
4623
+ # @return [String]
4624
+ attr_accessor :ref
4625
+
4626
+ # Required. Git repository the package should be cloned from.
4627
+ # Corresponds to the JSON property `repo`
4628
+ # @return [String]
4629
+ attr_accessor :repo
4630
+
4631
+ def initialize(**args)
4632
+ update!(**args)
4633
+ end
4634
+
4635
+ # Update properties of this object
4636
+ def update!(**args)
4637
+ @path = args[:path] if args.key?(:path)
4638
+ @ref = args[:ref] if args.key?(:ref)
4639
+ @repo = args[:repo] if args.key?(:repo)
4640
+ end
4641
+ end
4642
+
4643
+ # Skaffold Config modules and their remote source.
4644
+ class SkaffoldModules
4645
+ include Google::Apis::Core::Hashable
4646
+
4647
+ # Optional. The Skaffold Config modules to use from the specified source.
4648
+ # Corresponds to the JSON property `configs`
4649
+ # @return [Array<String>]
4650
+ attr_accessor :configs
4651
+
4652
+ # Git repository containing Skaffold Config modules.
4653
+ # Corresponds to the JSON property `git`
4654
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGitSource]
4655
+ attr_accessor :git
4656
+
4657
+ # Cloud Storage bucket containing Skaffold Config modules.
4658
+ # Corresponds to the JSON property `googleCloudStorage`
4659
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGcsSource]
4660
+ attr_accessor :google_cloud_storage
4661
+
4662
+ def initialize(**args)
4663
+ update!(**args)
4664
+ end
4665
+
4666
+ # Update properties of this object
4667
+ def update!(**args)
4668
+ @configs = args[:configs] if args.key?(:configs)
4669
+ @git = args[:git] if args.key?(:git)
4670
+ @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage)
4671
+ end
4672
+ end
4673
+
4306
4674
  # SkaffoldSupportedCondition contains information about when support for the
4307
- # release's version of skaffold ends.
4675
+ # release's version of Skaffold ends.
4308
4676
  class SkaffoldSupportedCondition
4309
4677
  include Google::Apis::Core::Hashable
4310
4678
 
4311
- # The time at which this release's version of skaffold will enter maintenance
4679
+ # The time at which this release's version of Skaffold will enter maintenance
4312
4680
  # mode.
4313
4681
  # Corresponds to the JSON property `maintenanceModeTime`
4314
4682
  # @return [String]
4315
4683
  attr_accessor :maintenance_mode_time
4316
4684
 
4317
- # The skaffold support state for this release's version of skaffold.
4685
+ # The Skaffold support state for this release's version of Skaffold.
4318
4686
  # Corresponds to the JSON property `skaffoldSupportState`
4319
4687
  # @return [String]
4320
4688
  attr_accessor :skaffold_support_state
4321
4689
 
4322
- # True if the version of skaffold used by this release is supported.
4690
+ # True if the version of Skaffold used by this release is supported.
4323
4691
  # Corresponds to the JSON property `status`
4324
4692
  # @return [Boolean]
4325
4693
  attr_accessor :status
4326
4694
  alias_method :status?, :status
4327
4695
 
4328
- # The time at which this release's version of skaffold will no longer be
4696
+ # The time at which this release's version of Skaffold will no longer be
4329
4697
  # supported.
4330
4698
  # Corresponds to the JSON property `supportExpirationTime`
4331
4699
  # @return [String]
@@ -4348,7 +4716,7 @@ module Google
4348
4716
  class SkaffoldVersion
4349
4717
  include Google::Apis::Core::Hashable
4350
4718
 
4351
- # The time at which this version of skaffold will enter maintenance mode.
4719
+ # The time at which this version of Skaffold will enter maintenance mode.
4352
4720
  # Corresponds to the JSON property `maintenanceModeTime`
4353
4721
  # @return [String]
4354
4722
  attr_accessor :maintenance_mode_time
@@ -4365,7 +4733,7 @@ module Google
4365
4733
  # @return [Google::Apis::ClouddeployV1::Date]
4366
4734
  attr_accessor :support_end_date
4367
4735
 
4368
- # The time at which this version of skaffold will no longer be supported.
4736
+ # The time at which this version of Skaffold will no longer be supported.
4369
4737
  # Corresponds to the JSON property `supportExpirationTime`
4370
4738
  # @return [String]
4371
4739
  attr_accessor :support_expiration_time
@@ -4547,6 +4915,11 @@ module Google
4547
4915
  # @return [String]
4548
4916
  attr_accessor :create_time
4549
4917
 
4918
+ # Information specifying a Custom Target.
4919
+ # Corresponds to the JSON property `customTarget`
4920
+ # @return [Google::Apis::ClouddeployV1::CustomTarget]
4921
+ attr_accessor :custom_target
4922
+
4550
4923
  # Optional. The deploy parameters to use for this target.
4551
4924
  # Corresponds to the JSON property `deployParameters`
4552
4925
  # @return [Hash<String,String>]
@@ -4636,6 +5009,7 @@ module Google
4636
5009
  @annotations = args[:annotations] if args.key?(:annotations)
4637
5010
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
4638
5011
  @create_time = args[:create_time] if args.key?(:create_time)
5012
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
4639
5013
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
4640
5014
  @description = args[:description] if args.key?(:description)
4641
5015
  @etag = args[:etag] if args.key?(:etag)
@@ -4801,8 +5175,8 @@ module Google
4801
5175
  end
4802
5176
  end
4803
5177
 
4804
- # TargetsPresentCondition contains information on any Targets defined in the
4805
- # Delivery Pipeline that do not actually exist.
5178
+ # `TargetsPresentCondition` contains information on any Targets referenced in
5179
+ # the Delivery Pipeline that do not actually exist.
4806
5180
  class TargetsPresentCondition
4807
5181
  include Google::Apis::Core::Hashable
4808
5182
 
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.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 = "20231110"
25
+ REVISION = "20231130"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,36 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class CustomMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class CustomTarget
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class CustomTargetDeployMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class CustomTargetSkaffoldActions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class CustomTargetType
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class Date
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -394,6 +424,12 @@ module Google
394
424
  include Google::Apis::Core::JsonObjectSupport
395
425
  end
396
426
 
427
+ class ListCustomTargetTypesResponse
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
397
433
  class ListDeliveryPipelinesResponse
398
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
435
 
@@ -718,6 +754,24 @@ module Google
718
754
  include Google::Apis::Core::JsonObjectSupport
719
755
  end
720
756
 
757
+ class SkaffoldGcsSource
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class SkaffoldGitSource
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class SkaffoldModules
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
721
775
  class SkaffoldSupportedCondition
722
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
777
 
@@ -1121,6 +1175,9 @@ module Google
1121
1175
  # @private
1122
1176
  class Representation < Google::Apis::Core::JsonRepresentation
1123
1177
  property :automatic_traffic_control, as: 'automaticTrafficControl'
1178
+ collection :canary_revision_tags, as: 'canaryRevisionTags'
1179
+ collection :prior_revision_tags, as: 'priorRevisionTags'
1180
+ collection :stable_revision_tags, as: 'stableRevisionTags'
1124
1181
  end
1125
1182
  end
1126
1183
 
@@ -1180,6 +1237,54 @@ module Google
1180
1237
  end
1181
1238
  end
1182
1239
 
1240
+ class CustomMetadata
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ hash :values, as: 'values'
1244
+ end
1245
+ end
1246
+
1247
+ class CustomTarget
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :custom_target_type, as: 'customTargetType'
1251
+ end
1252
+ end
1253
+
1254
+ class CustomTargetDeployMetadata
1255
+ # @private
1256
+ class Representation < Google::Apis::Core::JsonRepresentation
1257
+ property :skip_message, as: 'skipMessage'
1258
+ end
1259
+ end
1260
+
1261
+ class CustomTargetSkaffoldActions
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :deploy_action, as: 'deployAction'
1265
+ collection :include_skaffold_modules, as: 'includeSkaffoldModules', class: Google::Apis::ClouddeployV1::SkaffoldModules, decorator: Google::Apis::ClouddeployV1::SkaffoldModules::Representation
1266
+
1267
+ property :render_action, as: 'renderAction'
1268
+ end
1269
+ end
1270
+
1271
+ class CustomTargetType
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ hash :annotations, as: 'annotations'
1275
+ property :create_time, as: 'createTime'
1276
+ property :custom_actions, as: 'customActions', class: Google::Apis::ClouddeployV1::CustomTargetSkaffoldActions, decorator: Google::Apis::ClouddeployV1::CustomTargetSkaffoldActions::Representation
1277
+
1278
+ property :custom_target_type_id, as: 'customTargetTypeId'
1279
+ property :description, as: 'description'
1280
+ property :etag, as: 'etag'
1281
+ hash :labels, as: 'labels'
1282
+ property :name, as: 'name'
1283
+ property :uid, as: 'uid'
1284
+ property :update_time, as: 'updateTime'
1285
+ end
1286
+ end
1287
+
1183
1288
  class Date
1184
1289
  # @private
1185
1290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1257,6 +1362,10 @@ module Google
1257
1362
  class Representation < Google::Apis::Core::JsonRepresentation
1258
1363
  property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
1259
1364
 
1365
+ property :custom, as: 'custom', class: Google::Apis::ClouddeployV1::CustomMetadata, decorator: Google::Apis::ClouddeployV1::CustomMetadata::Representation
1366
+
1367
+ property :custom_target, as: 'customTarget', class: Google::Apis::ClouddeployV1::CustomTargetDeployMetadata, decorator: Google::Apis::ClouddeployV1::CustomTargetDeployMetadata::Representation
1368
+
1260
1369
  end
1261
1370
  end
1262
1371
 
@@ -1437,6 +1546,16 @@ module Google
1437
1546
  end
1438
1547
  end
1439
1548
 
1549
+ class ListCustomTargetTypesResponse
1550
+ # @private
1551
+ class Representation < Google::Apis::Core::JsonRepresentation
1552
+ collection :custom_target_types, as: 'customTargetTypes', class: Google::Apis::ClouddeployV1::CustomTargetType, decorator: Google::Apis::ClouddeployV1::CustomTargetType::Representation
1553
+
1554
+ property :next_page_token, as: 'nextPageToken'
1555
+ collection :unreachable, as: 'unreachable'
1556
+ end
1557
+ end
1558
+
1440
1559
  class ListDeliveryPipelinesResponse
1441
1560
  # @private
1442
1561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1523,6 +1642,8 @@ module Google
1523
1642
 
1524
1643
  property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
1525
1644
 
1645
+ property :custom, as: 'custom', class: Google::Apis::ClouddeployV1::CustomMetadata, decorator: Google::Apis::ClouddeployV1::CustomMetadata::Representation
1646
+
1526
1647
  end
1527
1648
  end
1528
1649
 
@@ -1713,6 +1834,8 @@ module Google
1713
1834
  property :condition, as: 'condition', class: Google::Apis::ClouddeployV1::ReleaseCondition, decorator: Google::Apis::ClouddeployV1::ReleaseCondition::Representation
1714
1835
 
1715
1836
  property :create_time, as: 'createTime'
1837
+ collection :custom_target_type_snapshots, as: 'customTargetTypeSnapshots', class: Google::Apis::ClouddeployV1::CustomTargetType, decorator: Google::Apis::ClouddeployV1::CustomTargetType::Representation
1838
+
1716
1839
  property :delivery_pipeline_snapshot, as: 'deliveryPipelineSnapshot', class: Google::Apis::ClouddeployV1::DeliveryPipeline, decorator: Google::Apis::ClouddeployV1::DeliveryPipeline::Representation
1717
1840
 
1718
1841
  hash :deploy_parameters, as: 'deployParameters'
@@ -1776,6 +1899,8 @@ module Google
1776
1899
  class Representation < Google::Apis::Core::JsonRepresentation
1777
1900
  property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunRenderMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunRenderMetadata::Representation
1778
1901
 
1902
+ property :custom, as: 'custom', class: Google::Apis::ClouddeployV1::CustomMetadata, decorator: Google::Apis::ClouddeployV1::CustomMetadata::Representation
1903
+
1779
1904
  end
1780
1905
  end
1781
1906
 
@@ -1803,6 +1928,8 @@ module Google
1803
1928
  # @private
1804
1929
  class Representation < Google::Apis::Core::JsonRepresentation
1805
1930
  property :current_repair_mode_index, :numeric_string => true, as: 'currentRepairModeIndex'
1931
+ property :job_id, as: 'jobId'
1932
+ property :phase_id, as: 'phaseId'
1806
1933
  collection :repair_phases, as: 'repairPhases', class: Google::Apis::ClouddeployV1::RepairPhase, decorator: Google::Apis::ClouddeployV1::RepairPhase::Representation
1807
1934
 
1808
1935
  property :rollout, as: 'rollout'
@@ -2005,6 +2132,34 @@ module Google
2005
2132
  end
2006
2133
  end
2007
2134
 
2135
+ class SkaffoldGcsSource
2136
+ # @private
2137
+ class Representation < Google::Apis::Core::JsonRepresentation
2138
+ property :path, as: 'path'
2139
+ property :source, as: 'source'
2140
+ end
2141
+ end
2142
+
2143
+ class SkaffoldGitSource
2144
+ # @private
2145
+ class Representation < Google::Apis::Core::JsonRepresentation
2146
+ property :path, as: 'path'
2147
+ property :ref, as: 'ref'
2148
+ property :repo, as: 'repo'
2149
+ end
2150
+ end
2151
+
2152
+ class SkaffoldModules
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ collection :configs, as: 'configs'
2156
+ property :git, as: 'git', class: Google::Apis::ClouddeployV1::SkaffoldGitSource, decorator: Google::Apis::ClouddeployV1::SkaffoldGitSource::Representation
2157
+
2158
+ property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::ClouddeployV1::SkaffoldGcsSource, decorator: Google::Apis::ClouddeployV1::SkaffoldGcsSource::Representation
2159
+
2160
+ end
2161
+ end
2162
+
2008
2163
  class SkaffoldSupportedCondition
2009
2164
  # @private
2010
2165
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2075,6 +2230,8 @@ module Google
2075
2230
  property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
2076
2231
 
2077
2232
  property :create_time, as: 'createTime'
2233
+ property :custom_target, as: 'customTarget', class: Google::Apis::ClouddeployV1::CustomTarget, decorator: Google::Apis::ClouddeployV1::CustomTarget::Representation
2234
+
2078
2235
  hash :deploy_parameters, as: 'deployParameters'
2079
2236
  property :description, as: 'description'
2080
2237
  property :etag, as: 'etag'
@@ -152,6 +152,258 @@ module Google
152
152
  execute_or_queue_command(command, &block)
153
153
  end
154
154
 
155
+ # Creates a new CustomTargetType in a given project and location.
156
+ # @param [String] parent
157
+ # Required. The parent collection in which the `CustomTargetType` should be
158
+ # created in. Format should be `projects/`project_id`/locations/`location_name``.
159
+ # @param [Google::Apis::ClouddeployV1::CustomTargetType] custom_target_type_object
160
+ # @param [String] custom_target_type_id
161
+ # Required. ID of the `CustomTargetType`.
162
+ # @param [String] request_id
163
+ # Optional. A request ID to identify requests. Specify a unique request ID so
164
+ # that if you must retry your request, the server will know to ignore the
165
+ # request if it has already been completed. The server will guarantee that for
166
+ # at least 60 minutes since the first request. For example, consider a situation
167
+ # where you make an initial request and the request times out. If you make the
168
+ # request again with the same request ID, the server can check if original
169
+ # operation with the same request ID was received, and if so, will ignore the
170
+ # second request. This prevents clients from accidentally creating duplicate
171
+ # commitments. The request ID must be a valid UUID with the exception that zero
172
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
173
+ # @param [Boolean] validate_only
174
+ # Optional. If set to true, the request is validated and the user is provided
175
+ # with an expected result, but no actual change is made.
176
+ # @param [String] fields
177
+ # Selector specifying which fields to include in a partial response.
178
+ # @param [String] quota_user
179
+ # Available to use for quota purposes for server-side applications. Can be any
180
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
181
+ # @param [Google::Apis::RequestOptions] options
182
+ # Request-specific options
183
+ #
184
+ # @yield [result, err] Result & error if block supplied
185
+ # @yieldparam result [Google::Apis::ClouddeployV1::Operation] parsed result object
186
+ # @yieldparam err [StandardError] error object if request failed
187
+ #
188
+ # @return [Google::Apis::ClouddeployV1::Operation]
189
+ #
190
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
193
+ def create_project_location_custom_target_type(parent, custom_target_type_object = nil, custom_target_type_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ command = make_simple_command(:post, 'v1/{+parent}/customTargetTypes', options)
195
+ command.request_representation = Google::Apis::ClouddeployV1::CustomTargetType::Representation
196
+ command.request_object = custom_target_type_object
197
+ command.response_representation = Google::Apis::ClouddeployV1::Operation::Representation
198
+ command.response_class = Google::Apis::ClouddeployV1::Operation
199
+ command.params['parent'] = parent unless parent.nil?
200
+ command.query['customTargetTypeId'] = custom_target_type_id unless custom_target_type_id.nil?
201
+ command.query['requestId'] = request_id unless request_id.nil?
202
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
208
+ # Deletes a single CustomTargetType.
209
+ # @param [String] name
210
+ # Required. The name of the `CustomTargetType` to delete. Format must be `
211
+ # projects/`project_id`/locations/`location_name`/customTargetTypes/`
212
+ # custom_target_type``.
213
+ # @param [Boolean] allow_missing
214
+ # Optional. If set to true, then deleting an already deleted or non-existing `
215
+ # CustomTargetType` will succeed.
216
+ # @param [String] etag
217
+ # Optional. This checksum is computed by the server based on the value of other
218
+ # fields, and may be sent on update and delete requests to ensure the client has
219
+ # an up-to-date value before proceeding.
220
+ # @param [String] request_id
221
+ # Optional. A request ID to identify requests. Specify a unique request ID so
222
+ # that if you must retry your request, the server will know to ignore the
223
+ # request if it has already been completed. The server will guarantee that for
224
+ # at least 60 minutes after the first request. For example, consider a situation
225
+ # where you make an initial request and the request times out. If you make the
226
+ # request again with the same request ID, the server can check if original
227
+ # operation with the same request ID was received, and if so, will ignore the
228
+ # second request. This prevents clients from accidentally creating duplicate
229
+ # commitments. The request ID must be a valid UUID with the exception that zero
230
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
231
+ # @param [Boolean] validate_only
232
+ # Optional. If set to true, the request is validated but no actual change is
233
+ # made.
234
+ # @param [String] fields
235
+ # Selector specifying which fields to include in a partial response.
236
+ # @param [String] quota_user
237
+ # Available to use for quota purposes for server-side applications. Can be any
238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
239
+ # @param [Google::Apis::RequestOptions] options
240
+ # Request-specific options
241
+ #
242
+ # @yield [result, err] Result & error if block supplied
243
+ # @yieldparam result [Google::Apis::ClouddeployV1::Operation] parsed result object
244
+ # @yieldparam err [StandardError] error object if request failed
245
+ #
246
+ # @return [Google::Apis::ClouddeployV1::Operation]
247
+ #
248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
251
+ def delete_project_location_custom_target_type(name, allow_missing: nil, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
252
+ command = make_simple_command(:delete, 'v1/{+name}', options)
253
+ command.response_representation = Google::Apis::ClouddeployV1::Operation::Representation
254
+ command.response_class = Google::Apis::ClouddeployV1::Operation
255
+ command.params['name'] = name unless name.nil?
256
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
257
+ command.query['etag'] = etag unless etag.nil?
258
+ command.query['requestId'] = request_id unless request_id.nil?
259
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
260
+ command.query['fields'] = fields unless fields.nil?
261
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
262
+ execute_or_queue_command(command, &block)
263
+ end
264
+
265
+ # Gets details of a single CustomTargetType.
266
+ # @param [String] name
267
+ # Required. Name of the `CustomTargetType`. Format must be `projects/`project_id`
268
+ # /locations/`location_name`/customTargetTypes/`custom_target_type``.
269
+ # @param [String] fields
270
+ # Selector specifying which fields to include in a partial response.
271
+ # @param [String] quota_user
272
+ # Available to use for quota purposes for server-side applications. Can be any
273
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
274
+ # @param [Google::Apis::RequestOptions] options
275
+ # Request-specific options
276
+ #
277
+ # @yield [result, err] Result & error if block supplied
278
+ # @yieldparam result [Google::Apis::ClouddeployV1::CustomTargetType] parsed result object
279
+ # @yieldparam err [StandardError] error object if request failed
280
+ #
281
+ # @return [Google::Apis::ClouddeployV1::CustomTargetType]
282
+ #
283
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
286
+ def get_project_location_custom_target_type(name, fields: nil, quota_user: nil, options: nil, &block)
287
+ command = make_simple_command(:get, 'v1/{+name}', options)
288
+ command.response_representation = Google::Apis::ClouddeployV1::CustomTargetType::Representation
289
+ command.response_class = Google::Apis::ClouddeployV1::CustomTargetType
290
+ command.params['name'] = name unless name.nil?
291
+ command.query['fields'] = fields unless fields.nil?
292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
293
+ execute_or_queue_command(command, &block)
294
+ end
295
+
296
+ # Lists CustomTargetTypes in a given project and location.
297
+ # @param [String] parent
298
+ # Required. The parent that owns this collection of custom target types. Format
299
+ # must be `projects/`project_id`/locations/`location_name``.
300
+ # @param [String] filter
301
+ # Optional. Filter custom target types to be returned. See https://google.aip.
302
+ # dev/160 for more details.
303
+ # @param [String] order_by
304
+ # Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
305
+ # details.
306
+ # @param [Fixnum] page_size
307
+ # Optional. The maximum number of `CustomTargetType` objects to return. The
308
+ # service may return fewer than this value. If unspecified, at most 50 `
309
+ # CustomTargetType` objects will be returned. The maximum value is 1000; values
310
+ # above 1000 will be set to 1000.
311
+ # @param [String] page_token
312
+ # Optional. A page token, received from a previous `ListCustomTargetTypes` call.
313
+ # Provide this to retrieve the subsequent page. When paginating, all other
314
+ # provided parameters match the call that provided the page token.
315
+ # @param [String] fields
316
+ # Selector specifying which fields to include in a partial response.
317
+ # @param [String] quota_user
318
+ # Available to use for quota purposes for server-side applications. Can be any
319
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
320
+ # @param [Google::Apis::RequestOptions] options
321
+ # Request-specific options
322
+ #
323
+ # @yield [result, err] Result & error if block supplied
324
+ # @yieldparam result [Google::Apis::ClouddeployV1::ListCustomTargetTypesResponse] parsed result object
325
+ # @yieldparam err [StandardError] error object if request failed
326
+ #
327
+ # @return [Google::Apis::ClouddeployV1::ListCustomTargetTypesResponse]
328
+ #
329
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
330
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
332
+ def list_project_location_custom_target_types(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
333
+ command = make_simple_command(:get, 'v1/{+parent}/customTargetTypes', options)
334
+ command.response_representation = Google::Apis::ClouddeployV1::ListCustomTargetTypesResponse::Representation
335
+ command.response_class = Google::Apis::ClouddeployV1::ListCustomTargetTypesResponse
336
+ command.params['parent'] = parent unless parent.nil?
337
+ command.query['filter'] = filter unless filter.nil?
338
+ command.query['orderBy'] = order_by unless order_by.nil?
339
+ command.query['pageSize'] = page_size unless page_size.nil?
340
+ command.query['pageToken'] = page_token unless page_token.nil?
341
+ command.query['fields'] = fields unless fields.nil?
342
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
343
+ execute_or_queue_command(command, &block)
344
+ end
345
+
346
+ # Updates a single CustomTargetType.
347
+ # @param [String] name
348
+ # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
349
+ # locations/`location`/customTargetTypes/a-z`0,62``.
350
+ # @param [Google::Apis::ClouddeployV1::CustomTargetType] custom_target_type_object
351
+ # @param [Boolean] allow_missing
352
+ # Optional. If set to true, updating a `CustomTargetType` that does not exist
353
+ # will result in the creation of a new `CustomTargetType`.
354
+ # @param [String] request_id
355
+ # Optional. A request ID to identify requests. Specify a unique request ID so
356
+ # that if you must retry your request, the server will know to ignore the
357
+ # request if it has already been completed. The server will guarantee that for
358
+ # at least 60 minutes since the first request. For example, consider a situation
359
+ # where you make an initial request and the request times out. If you make the
360
+ # request again with the same request ID, the server can check if original
361
+ # operation with the same request ID was received, and if so, will ignore the
362
+ # second request. This prevents clients from accidentally creating duplicate
363
+ # commitments. The request ID must be a valid UUID with the exception that zero
364
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
365
+ # @param [String] update_mask
366
+ # Required. Field mask is used to specify the fields to be overwritten in the `
367
+ # CustomTargetType` resource by the update. The fields specified in the
368
+ # update_mask are relative to the resource, not the full request. A field will
369
+ # be overwritten if it is in the mask. If the user does not provide a mask then
370
+ # all fields will be overwritten.
371
+ # @param [Boolean] validate_only
372
+ # Optional. If set to true, the request is validated and the user is provided
373
+ # with an expected result, but no actual change is made.
374
+ # @param [String] fields
375
+ # Selector specifying which fields to include in a partial response.
376
+ # @param [String] quota_user
377
+ # Available to use for quota purposes for server-side applications. Can be any
378
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
379
+ # @param [Google::Apis::RequestOptions] options
380
+ # Request-specific options
381
+ #
382
+ # @yield [result, err] Result & error if block supplied
383
+ # @yieldparam result [Google::Apis::ClouddeployV1::Operation] parsed result object
384
+ # @yieldparam err [StandardError] error object if request failed
385
+ #
386
+ # @return [Google::Apis::ClouddeployV1::Operation]
387
+ #
388
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
389
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
390
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
391
+ def patch_project_location_custom_target_type(name, custom_target_type_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
392
+ command = make_simple_command(:patch, 'v1/{+name}', options)
393
+ command.request_representation = Google::Apis::ClouddeployV1::CustomTargetType::Representation
394
+ command.request_object = custom_target_type_object
395
+ command.response_representation = Google::Apis::ClouddeployV1::Operation::Representation
396
+ command.response_class = Google::Apis::ClouddeployV1::Operation
397
+ command.params['name'] = name unless name.nil?
398
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
399
+ command.query['requestId'] = request_id unless request_id.nil?
400
+ command.query['updateMask'] = update_mask unless update_mask.nil?
401
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
402
+ command.query['fields'] = fields unless fields.nil?
403
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
404
+ execute_or_queue_command(command, &block)
405
+ end
406
+
155
407
  # Creates a new DeliveryPipeline in a given project and location.
156
408
  # @param [String] parent
157
409
  # Required. The parent collection in which the `DeliveryPipeline` should be
@@ -635,9 +887,9 @@ module Google
635
887
 
636
888
  # Lists AutomationRuns in a given project and location.
637
889
  # @param [String] parent
638
- # Required. The parent, which owns this collection of automationRuns. Format
639
- # must be `projects/`project`/locations/`location`/deliveryPipelines/`
640
- # delivery_pipeline``.
890
+ # Required. The parent `Delivery Pipeline`, which owns this collection of
891
+ # automationRuns. Format must be `projects/`project`/locations/`location`/
892
+ # deliveryPipelines/`delivery_pipeline``.
641
893
  # @param [String] filter
642
894
  # Filter automationRuns to be returned. All fields can be used in the filter.
643
895
  # @param [String] order_by
@@ -826,9 +1078,9 @@ module Google
826
1078
 
827
1079
  # Lists Automations in a given project and location.
828
1080
  # @param [String] parent
829
- # Required. The parent, which owns this collection of automations. Format must
830
- # be `projects/`project_id`/locations/`location_name`/deliveryPipelines/`
831
- # pipeline_name``.
1081
+ # Required. The parent `Delivery Pipeline`, which owns this collection of
1082
+ # automations. Format must be `projects/`project_id`/locations/`location_name`/
1083
+ # deliveryPipelines/`pipeline_name``.
832
1084
  # @param [String] filter
833
1085
  # Filter automations to be returned. All fields can be used in the filter.
834
1086
  # @param [String] order_by
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.36.0
4
+ version: 0.37.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-19 00:00:00.000000000 Z
11
+ date: 2023-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.37.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: []