google-apis-clouddeploy_v1 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240809"
25
+ REVISION = "20240920"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class DeliveryPipelineAttribute
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class DeliveryPipelineNotificationEvent
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -346,12 +352,30 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
355
+ class DeployPolicy
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class DeployPolicyEvaluationEvent
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class DeployPolicyNotificationEvent
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
352
370
  include Google::Apis::Core::JsonObjectSupport
353
371
  end
354
372
 
373
+ class DeployPolicyResourceSelector
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
355
379
  class DeploymentJobs
356
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
381
 
@@ -448,6 +472,12 @@ module Google
448
472
  include Google::Apis::Core::JsonObjectSupport
449
473
  end
450
474
 
475
+ class ListDeployPoliciesResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
451
481
  class ListJobRunsResponse
452
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
483
 
@@ -502,6 +532,12 @@ module Google
502
532
  include Google::Apis::Core::JsonObjectSupport
503
533
  end
504
534
 
535
+ class OneTimeWindow
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
505
541
  class Operation
506
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
543
 
@@ -550,6 +586,24 @@ module Google
550
586
  include Google::Apis::Core::JsonObjectSupport
551
587
  end
552
588
 
589
+ class PolicyRule
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class PolicyViolation
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class PolicyViolationDetails
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
553
607
  class Postdeploy
554
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
609
 
@@ -718,6 +772,12 @@ module Google
718
772
  include Google::Apis::Core::JsonObjectSupport
719
773
  end
720
774
 
775
+ class RolloutRestriction
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
721
781
  class RolloutUpdateEvent
722
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
783
 
@@ -874,6 +934,18 @@ module Google
874
934
  include Google::Apis::Core::JsonObjectSupport
875
935
  end
876
936
 
937
+ class TimeOfDay
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class TimeWindows
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
877
949
  class VerifyJob
878
950
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
951
 
@@ -886,6 +958,12 @@ module Google
886
958
  include Google::Apis::Core::JsonObjectSupport
887
959
  end
888
960
 
961
+ class WeeklyWindow
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
889
967
  class AbandonReleaseRequest
890
968
  # @private
891
969
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -925,6 +1003,7 @@ module Google
925
1003
  class AdvanceRolloutRequest
926
1004
  # @private
927
1005
  class Representation < Google::Apis::Core::JsonRepresentation
1006
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
928
1007
  property :phase_id, as: 'phaseId'
929
1008
  end
930
1009
  end
@@ -957,6 +1036,7 @@ module Google
957
1036
  # @private
958
1037
  class Representation < Google::Apis::Core::JsonRepresentation
959
1038
  property :approved, as: 'approved'
1039
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
960
1040
  end
961
1041
  end
962
1042
 
@@ -1062,6 +1142,8 @@ module Google
1062
1142
  property :etag, as: 'etag'
1063
1143
  property :expire_time, as: 'expireTime'
1064
1144
  property :name, as: 'name'
1145
+ property :policy_violation, as: 'policyViolation', class: Google::Apis::ClouddeployV1::PolicyViolation, decorator: Google::Apis::ClouddeployV1::PolicyViolation::Representation
1146
+
1065
1147
  property :promote_release_operation, as: 'promoteReleaseOperation', class: Google::Apis::ClouddeployV1::PromoteReleaseOperation, decorator: Google::Apis::ClouddeployV1::PromoteReleaseOperation::Representation
1066
1148
 
1067
1149
  property :repair_rollout_operation, as: 'repairRolloutOperation', class: Google::Apis::ClouddeployV1::RepairRolloutOperation, decorator: Google::Apis::ClouddeployV1::RepairRolloutOperation::Representation
@@ -1152,6 +1234,7 @@ module Google
1152
1234
  class CancelRolloutRequest
1153
1235
  # @private
1154
1236
  class Representation < Google::Apis::Core::JsonRepresentation
1237
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
1155
1238
  end
1156
1239
  end
1157
1240
 
@@ -1331,6 +1414,14 @@ module Google
1331
1414
  end
1332
1415
  end
1333
1416
 
1417
+ class DeliveryPipelineAttribute
1418
+ # @private
1419
+ class Representation < Google::Apis::Core::JsonRepresentation
1420
+ property :id, as: 'id'
1421
+ hash :labels, as: 'labels'
1422
+ end
1423
+ end
1424
+
1334
1425
  class DeliveryPipelineNotificationEvent
1335
1426
  # @private
1336
1427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1388,6 +1479,44 @@ module Google
1388
1479
  end
1389
1480
  end
1390
1481
 
1482
+ class DeployPolicy
1483
+ # @private
1484
+ class Representation < Google::Apis::Core::JsonRepresentation
1485
+ hash :annotations, as: 'annotations'
1486
+ property :create_time, as: 'createTime'
1487
+ property :description, as: 'description'
1488
+ property :etag, as: 'etag'
1489
+ hash :labels, as: 'labels'
1490
+ property :name, as: 'name'
1491
+ collection :rules, as: 'rules', class: Google::Apis::ClouddeployV1::PolicyRule, decorator: Google::Apis::ClouddeployV1::PolicyRule::Representation
1492
+
1493
+ collection :selectors, as: 'selectors', class: Google::Apis::ClouddeployV1::DeployPolicyResourceSelector, decorator: Google::Apis::ClouddeployV1::DeployPolicyResourceSelector::Representation
1494
+
1495
+ property :suspended, as: 'suspended'
1496
+ property :uid, as: 'uid'
1497
+ property :update_time, as: 'updateTime'
1498
+ end
1499
+ end
1500
+
1501
+ class DeployPolicyEvaluationEvent
1502
+ # @private
1503
+ class Representation < Google::Apis::Core::JsonRepresentation
1504
+ property :allowed, as: 'allowed'
1505
+ property :delivery_pipeline, as: 'deliveryPipeline'
1506
+ property :deploy_policy, as: 'deployPolicy'
1507
+ property :deploy_policy_uid, as: 'deployPolicyUid'
1508
+ property :invoker, as: 'invoker'
1509
+ property :message, as: 'message'
1510
+ collection :overrides, as: 'overrides'
1511
+ property :pipeline_uid, as: 'pipelineUid'
1512
+ property :rule, as: 'rule'
1513
+ property :rule_type, as: 'ruleType'
1514
+ property :target, as: 'target'
1515
+ property :target_uid, as: 'targetUid'
1516
+ property :verdict, as: 'verdict'
1517
+ end
1518
+ end
1519
+
1391
1520
  class DeployPolicyNotificationEvent
1392
1521
  # @private
1393
1522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1398,6 +1527,16 @@ module Google
1398
1527
  end
1399
1528
  end
1400
1529
 
1530
+ class DeployPolicyResourceSelector
1531
+ # @private
1532
+ class Representation < Google::Apis::Core::JsonRepresentation
1533
+ property :delivery_pipeline, as: 'deliveryPipeline', class: Google::Apis::ClouddeployV1::DeliveryPipelineAttribute, decorator: Google::Apis::ClouddeployV1::DeliveryPipelineAttribute::Representation
1534
+
1535
+ property :target, as: 'target', class: Google::Apis::ClouddeployV1::TargetAttribute, decorator: Google::Apis::ClouddeployV1::TargetAttribute::Representation
1536
+
1537
+ end
1538
+ end
1539
+
1401
1540
  class DeploymentJobs
1402
1541
  # @private
1403
1542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1469,6 +1608,7 @@ module Google
1469
1608
  # @private
1470
1609
  class Representation < Google::Apis::Core::JsonRepresentation
1471
1610
  property :job_id, as: 'jobId'
1611
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
1472
1612
  property :phase_id, as: 'phaseId'
1473
1613
  end
1474
1614
  end
@@ -1593,6 +1733,16 @@ module Google
1593
1733
  end
1594
1734
  end
1595
1735
 
1736
+ class ListDeployPoliciesResponse
1737
+ # @private
1738
+ class Representation < Google::Apis::Core::JsonRepresentation
1739
+ collection :deploy_policies, as: 'deployPolicies', class: Google::Apis::ClouddeployV1::DeployPolicy, decorator: Google::Apis::ClouddeployV1::DeployPolicy::Representation
1740
+
1741
+ property :next_page_token, as: 'nextPageToken'
1742
+ collection :unreachable, as: 'unreachable'
1743
+ end
1744
+ end
1745
+
1596
1746
  class ListJobRunsResponse
1597
1747
  # @private
1598
1748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1681,6 +1831,20 @@ module Google
1681
1831
  end
1682
1832
  end
1683
1833
 
1834
+ class OneTimeWindow
1835
+ # @private
1836
+ class Representation < Google::Apis::Core::JsonRepresentation
1837
+ property :end_date, as: 'endDate', class: Google::Apis::ClouddeployV1::Date, decorator: Google::Apis::ClouddeployV1::Date::Representation
1838
+
1839
+ property :end_time, as: 'endTime', class: Google::Apis::ClouddeployV1::TimeOfDay, decorator: Google::Apis::ClouddeployV1::TimeOfDay::Representation
1840
+
1841
+ property :start_date, as: 'startDate', class: Google::Apis::ClouddeployV1::Date, decorator: Google::Apis::ClouddeployV1::Date::Representation
1842
+
1843
+ property :start_time, as: 'startTime', class: Google::Apis::ClouddeployV1::TimeOfDay, decorator: Google::Apis::ClouddeployV1::TimeOfDay::Representation
1844
+
1845
+ end
1846
+ end
1847
+
1684
1848
  class Operation
1685
1849
  # @private
1686
1850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1774,6 +1938,31 @@ module Google
1774
1938
  end
1775
1939
  end
1776
1940
 
1941
+ class PolicyRule
1942
+ # @private
1943
+ class Representation < Google::Apis::Core::JsonRepresentation
1944
+ property :rollout_restriction, as: 'rolloutRestriction', class: Google::Apis::ClouddeployV1::RolloutRestriction, decorator: Google::Apis::ClouddeployV1::RolloutRestriction::Representation
1945
+
1946
+ end
1947
+ end
1948
+
1949
+ class PolicyViolation
1950
+ # @private
1951
+ class Representation < Google::Apis::Core::JsonRepresentation
1952
+ collection :policy_violation_details, as: 'policyViolationDetails', class: Google::Apis::ClouddeployV1::PolicyViolationDetails, decorator: Google::Apis::ClouddeployV1::PolicyViolationDetails::Representation
1953
+
1954
+ end
1955
+ end
1956
+
1957
+ class PolicyViolationDetails
1958
+ # @private
1959
+ class Representation < Google::Apis::Core::JsonRepresentation
1960
+ property :failure_message, as: 'failureMessage'
1961
+ property :policy, as: 'policy'
1962
+ property :rule_id, as: 'ruleId'
1963
+ end
1964
+ end
1965
+
1777
1966
  class Postdeploy
1778
1967
  # @private
1779
1968
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1980,6 +2169,7 @@ module Google
1980
2169
  # @private
1981
2170
  class Representation < Google::Apis::Core::JsonRepresentation
1982
2171
  property :job_id, as: 'jobId'
2172
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
1983
2173
  property :phase_id, as: 'phaseId'
1984
2174
  end
1985
2175
  end
@@ -2022,6 +2212,7 @@ module Google
2022
2212
  class RollbackTargetRequest
2023
2213
  # @private
2024
2214
  class Representation < Google::Apis::Core::JsonRepresentation
2215
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
2025
2216
  property :release_id, as: 'releaseId'
2026
2217
  property :rollback_config, as: 'rollbackConfig', class: Google::Apis::ClouddeployV1::RollbackTargetConfig, decorator: Google::Apis::ClouddeployV1::RollbackTargetConfig::Representation
2027
2218
 
@@ -2084,6 +2275,17 @@ module Google
2084
2275
  end
2085
2276
  end
2086
2277
 
2278
+ class RolloutRestriction
2279
+ # @private
2280
+ class Representation < Google::Apis::Core::JsonRepresentation
2281
+ collection :actions, as: 'actions'
2282
+ property :id, as: 'id'
2283
+ collection :invokers, as: 'invokers'
2284
+ property :time_windows, as: 'timeWindows', class: Google::Apis::ClouddeployV1::TimeWindows, decorator: Google::Apis::ClouddeployV1::TimeWindows::Representation
2285
+
2286
+ end
2287
+ end
2288
+
2087
2289
  class RolloutUpdateEvent
2088
2290
  # @private
2089
2291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2326,6 +2528,7 @@ module Google
2326
2528
  class TerminateJobRunRequest
2327
2529
  # @private
2328
2530
  class Representation < Google::Apis::Core::JsonRepresentation
2531
+ collection :override_deploy_policy, as: 'overrideDeployPolicy'
2329
2532
  end
2330
2533
  end
2331
2534
 
@@ -2349,6 +2552,27 @@ module Google
2349
2552
  end
2350
2553
  end
2351
2554
 
2555
+ class TimeOfDay
2556
+ # @private
2557
+ class Representation < Google::Apis::Core::JsonRepresentation
2558
+ property :hours, as: 'hours'
2559
+ property :minutes, as: 'minutes'
2560
+ property :nanos, as: 'nanos'
2561
+ property :seconds, as: 'seconds'
2562
+ end
2563
+ end
2564
+
2565
+ class TimeWindows
2566
+ # @private
2567
+ class Representation < Google::Apis::Core::JsonRepresentation
2568
+ collection :one_time_windows, as: 'oneTimeWindows', class: Google::Apis::ClouddeployV1::OneTimeWindow, decorator: Google::Apis::ClouddeployV1::OneTimeWindow::Representation
2569
+
2570
+ property :time_zone, as: 'timeZone'
2571
+ collection :weekly_windows, as: 'weeklyWindows', class: Google::Apis::ClouddeployV1::WeeklyWindow, decorator: Google::Apis::ClouddeployV1::WeeklyWindow::Representation
2572
+
2573
+ end
2574
+ end
2575
+
2352
2576
  class VerifyJob
2353
2577
  # @private
2354
2578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2365,6 +2589,17 @@ module Google
2365
2589
  property :failure_message, as: 'failureMessage'
2366
2590
  end
2367
2591
  end
2592
+
2593
+ class WeeklyWindow
2594
+ # @private
2595
+ class Representation < Google::Apis::Core::JsonRepresentation
2596
+ collection :days_of_week, as: 'daysOfWeek'
2597
+ property :end_time, as: 'endTime', class: Google::Apis::ClouddeployV1::TimeOfDay, decorator: Google::Apis::ClouddeployV1::TimeOfDay::Representation
2598
+
2599
+ property :start_time, as: 'startTime', class: Google::Apis::ClouddeployV1::TimeOfDay, decorator: Google::Apis::ClouddeployV1::TimeOfDay::Representation
2600
+
2601
+ end
2602
+ end
2368
2603
  end
2369
2604
  end
2370
2605
  end