google-apis-clouddeploy_v1 0.45.0 → 0.47.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: eea3221e1db751d40a4569baec07ba2a42a749a0375f64f16ee88ab4e24c3c0c
4
- data.tar.gz: 40e9602f216316512d54374d370c5e4eb6739b9df401600568acf05897828e0b
3
+ metadata.gz: f86ada97ac867afa321fbc37026360fdcaaccde7b7f94c4dc8299b93058bd60a
4
+ data.tar.gz: 0bb891932f885e5c62ddbfede7df4166e858156679cd3d3ea3048d35f4500688
5
5
  SHA512:
6
- metadata.gz: 9dc33b7275eefa5bd167114ec66db869d0b8e894fb170c9c77da7815063d0b7cc65defcdf4b16214a79f2e11273d08e439b194759ab9ee91e066a56b3a6bccb7
7
- data.tar.gz: 358b73deadbccee497cbdd52d8e8f14855a3f132407b918938cf77dd9be181163202d869fe9dbb64a5c177b379d7cad39f5411f6d8035ea04c22daa3ae908b1e
6
+ metadata.gz: 7c17f00e37dd911d71b3e8f4384a56bb521624610f988468ae57804aa43579e844be4e79cbc845f3819ce8195d5112b10a4144582289f2b2b2268dfb2b79edd0
7
+ data.tar.gz: b5f50ce6ea1a94b1c2a422076f6f57ec5e88a526fe77dbd6900465c1c3b9c2c57bddd3d9428f6207f3ea243494a1d0e3b6e0de1d0b43a640667081d97a20d92f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.47.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240614
6
+
7
+ ### v0.46.0 (2024-06-09)
8
+
9
+ * Regenerated from discovery document revision 20240529
10
+
3
11
  ### v0.45.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240511
@@ -510,11 +510,6 @@ module Google
510
510
  # @return [Array<String>]
511
511
  attr_accessor :advance_automation_runs
512
512
 
513
- # Output only. The current AutomationRun repairing the rollout.
514
- # Corresponds to the JSON property `currentRepairAutomationRun`
515
- # @return [String]
516
- attr_accessor :current_repair_automation_run
517
-
518
513
  # Output only. The name of the AutomationRun initiated by a promote release rule.
519
514
  # Corresponds to the JSON property `promoteAutomationRun`
520
515
  # @return [String]
@@ -533,7 +528,6 @@ module Google
533
528
  # Update properties of this object
534
529
  def update!(**args)
535
530
  @advance_automation_runs = args[:advance_automation_runs] if args.key?(:advance_automation_runs)
536
- @current_repair_automation_run = args[:current_repair_automation_run] if args.key?(:current_repair_automation_run)
537
531
  @promote_automation_run = args[:promote_automation_run] if args.key?(:promote_automation_run)
538
532
  @repair_automation_runs = args[:repair_automation_runs] if args.key?(:repair_automation_runs)
539
533
  end
@@ -940,7 +934,8 @@ module Google
940
934
 
941
935
  # Required. The percentage based deployments that will occur as a part of a `
942
936
  # Rollout`. List is expected in ascending order and each integer n is 0 <= n <
943
- # 100.
937
+ # 100. If the GatewayServiceMesh is configured for Kubernetes, then the range
938
+ # for n is 0 <= n <= 100.
944
939
  # Corresponds to the JSON property `percentages`
945
940
  # @return [Array<Fixnum>]
946
941
  attr_accessor :percentages
@@ -2060,6 +2055,13 @@ module Google
2060
2055
  attr_accessor :internal_ip
2061
2056
  alias_method :internal_ip?, :internal_ip
2062
2057
 
2058
+ # Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/
2059
+ # concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the
2060
+ # Kubernetes server.
2061
+ # Corresponds to the JSON property `proxyUrl`
2062
+ # @return [String]
2063
+ attr_accessor :proxy_url
2064
+
2063
2065
  def initialize(**args)
2064
2066
  update!(**args)
2065
2067
  end
@@ -2068,6 +2070,7 @@ module Google
2068
2070
  def update!(**args)
2069
2071
  @cluster = args[:cluster] if args.key?(:cluster)
2070
2072
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
2073
+ @proxy_url = args[:proxy_url] if args.key?(:proxy_url)
2071
2074
  end
2072
2075
  end
2073
2076
 
@@ -3809,33 +3812,8 @@ module Google
3809
3812
  end
3810
3813
  end
3811
3814
 
3812
- # Configuration of the repair action.
3813
- class RepairMode
3814
- include Google::Apis::Core::Hashable
3815
-
3816
- # Retries the failed job.
3817
- # Corresponds to the JSON property `retry`
3818
- # @return [Google::Apis::ClouddeployV1::Retry]
3819
- attr_accessor :retry
3820
-
3821
- # Rolls back a `Rollout`.
3822
- # Corresponds to the JSON property `rollback`
3823
- # @return [Google::Apis::ClouddeployV1::Rollback]
3824
- attr_accessor :rollback
3825
-
3826
- def initialize(**args)
3827
- update!(**args)
3828
- end
3829
-
3830
- # Update properties of this object
3831
- def update!(**args)
3832
- @retry = args[:retry] if args.key?(:retry)
3833
- @rollback = args[:rollback] if args.key?(:rollback)
3834
- end
3835
- end
3836
-
3837
3815
  # RepairPhase tracks the repair attempts that have been made for each `
3838
- # RepairMode` specified in the `Automation` resource.
3816
+ # RepairPhaseConfig` specified in the `Automation` resource.
3839
3817
  class RepairPhase
3840
3818
  include Google::Apis::Core::Hashable
3841
3819
 
@@ -3865,11 +3843,6 @@ module Google
3865
3843
  class RepairRolloutOperation
3866
3844
  include Google::Apis::Core::Hashable
3867
3845
 
3868
- # Output only. The index of the current repair action in the repair sequence.
3869
- # Corresponds to the JSON property `currentRepairModeIndex`
3870
- # @return [Fixnum]
3871
- attr_accessor :current_repair_mode_index
3872
-
3873
3846
  # Output only. The job ID for the Job to repair.
3874
3847
  # Corresponds to the JSON property `jobId`
3875
3848
  # @return [String]
@@ -3897,7 +3870,6 @@ module Google
3897
3870
 
3898
3871
  # Update properties of this object
3899
3872
  def update!(**args)
3900
- @current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index)
3901
3873
  @job_id = args[:job_id] if args.key?(:job_id)
3902
3874
  @phase_id = args[:phase_id] if args.key?(:phase_id)
3903
3875
  @repair_phases = args[:repair_phases] if args.key?(:repair_phases)
@@ -3931,21 +3903,6 @@ module Google
3931
3903
  # @return [Array<String>]
3932
3904
  attr_accessor :jobs
3933
3905
 
3934
- # Required. Defines the types of automatic repair actions for failed jobs.
3935
- # Corresponds to the JSON property `repairModes`
3936
- # @return [Array<Google::Apis::ClouddeployV1::RepairMode>]
3937
- attr_accessor :repair_modes
3938
-
3939
- # Optional. Phases within which jobs are subject to automatic repair actions on
3940
- # failure. Proceeds only after phase name matched any one in the list, or for
3941
- # all phases if unspecified. This value must consist of lower-case letters,
3942
- # numbers, and hyphens, start with a letter and end with a letter or a number,
3943
- # and have a max length of 63 characters. In other words, it must match the
3944
- # following regex: `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
3945
- # Corresponds to the JSON property `sourcePhases`
3946
- # @return [Array<String>]
3947
- attr_accessor :source_phases
3948
-
3949
3906
  def initialize(**args)
3950
3907
  update!(**args)
3951
3908
  end
@@ -3955,42 +3912,6 @@ module Google
3955
3912
  @condition = args[:condition] if args.key?(:condition)
3956
3913
  @id = args[:id] if args.key?(:id)
3957
3914
  @jobs = args[:jobs] if args.key?(:jobs)
3958
- @repair_modes = args[:repair_modes] if args.key?(:repair_modes)
3959
- @source_phases = args[:source_phases] if args.key?(:source_phases)
3960
- end
3961
- end
3962
-
3963
- # Retries the failed job.
3964
- class Retry
3965
- include Google::Apis::Core::Hashable
3966
-
3967
- # Required. Total number of retries. Retry is skipped if set to 0; The minimum
3968
- # value is 1, and the maximum value is 10.
3969
- # Corresponds to the JSON property `attempts`
3970
- # @return [Fixnum]
3971
- attr_accessor :attempts
3972
-
3973
- # Optional. The pattern of how wait time will be increased. Default is linear.
3974
- # Backoff mode will be ignored if `wait` is 0.
3975
- # Corresponds to the JSON property `backoffMode`
3976
- # @return [String]
3977
- attr_accessor :backoff_mode
3978
-
3979
- # Optional. How long to wait for the first retry. Default is 0, and the maximum
3980
- # value is 14d.
3981
- # Corresponds to the JSON property `wait`
3982
- # @return [String]
3983
- attr_accessor :wait
3984
-
3985
- def initialize(**args)
3986
- update!(**args)
3987
- end
3988
-
3989
- # Update properties of this object
3990
- def update!(**args)
3991
- @attempts = args[:attempts] if args.key?(:attempts)
3992
- @backoff_mode = args[:backoff_mode] if args.key?(:backoff_mode)
3993
- @wait = args[:wait] if args.key?(:wait)
3994
3915
  end
3995
3916
  end
3996
3917
 
@@ -4085,16 +4006,6 @@ module Google
4085
4006
  # @return [String]
4086
4007
  attr_accessor :backoff_mode
4087
4008
 
4088
- # Output only. The job ID for the Job to retry.
4089
- # Corresponds to the JSON property `jobId`
4090
- # @return [String]
4091
- attr_accessor :job_id
4092
-
4093
- # Output only. The phase ID of the phase that includes the job being retried.
4094
- # Corresponds to the JSON property `phaseId`
4095
- # @return [String]
4096
- attr_accessor :phase_id
4097
-
4098
4009
  # Output only. The number of attempts that have been made.
4099
4010
  # Corresponds to the JSON property `totalAttempts`
4100
4011
  # @return [Fixnum]
@@ -4108,32 +4019,10 @@ module Google
4108
4019
  def update!(**args)
4109
4020
  @attempts = args[:attempts] if args.key?(:attempts)
4110
4021
  @backoff_mode = args[:backoff_mode] if args.key?(:backoff_mode)
4111
- @job_id = args[:job_id] if args.key?(:job_id)
4112
- @phase_id = args[:phase_id] if args.key?(:phase_id)
4113
4022
  @total_attempts = args[:total_attempts] if args.key?(:total_attempts)
4114
4023
  end
4115
4024
  end
4116
4025
 
4117
- # Rolls back a `Rollout`.
4118
- class Rollback
4119
- include Google::Apis::Core::Hashable
4120
-
4121
- # Optional. The starting phase ID for the `Rollout`. If unspecified, the `
4122
- # Rollout` will start in the stable phase.
4123
- # Corresponds to the JSON property `destinationPhase`
4124
- # @return [String]
4125
- attr_accessor :destination_phase
4126
-
4127
- def initialize(**args)
4128
- update!(**args)
4129
- end
4130
-
4131
- # Update properties of this object
4132
- def update!(**args)
4133
- @destination_phase = args[:destination_phase] if args.key?(:destination_phase)
4134
- end
4135
- end
4136
-
4137
4026
  # RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
4138
4027
  class RollbackAttempt
4139
4028
  include Google::Apis::Core::Hashable
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240511"
25
+ REVISION = "20240614"
26
26
  end
27
27
  end
28
28
  end
@@ -628,12 +628,6 @@ module Google
628
628
  include Google::Apis::Core::JsonObjectSupport
629
629
  end
630
630
 
631
- class RepairMode
632
- class Representation < Google::Apis::Core::JsonRepresentation; end
633
-
634
- include Google::Apis::Core::JsonObjectSupport
635
- end
636
-
637
631
  class RepairPhase
638
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
633
 
@@ -652,12 +646,6 @@ module Google
652
646
  include Google::Apis::Core::JsonObjectSupport
653
647
  end
654
648
 
655
- class Retry
656
- class Representation < Google::Apis::Core::JsonRepresentation; end
657
-
658
- include Google::Apis::Core::JsonObjectSupport
659
- end
660
-
661
649
  class RetryAttempt
662
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
651
 
@@ -682,12 +670,6 @@ module Google
682
670
  include Google::Apis::Core::JsonObjectSupport
683
671
  end
684
672
 
685
- class Rollback
686
- class Representation < Google::Apis::Core::JsonRepresentation; end
687
-
688
- include Google::Apis::Core::JsonObjectSupport
689
- end
690
-
691
673
  class RollbackAttempt
692
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
675
 
@@ -1031,7 +1013,6 @@ module Google
1031
1013
  # @private
1032
1014
  class Representation < Google::Apis::Core::JsonRepresentation
1033
1015
  collection :advance_automation_runs, as: 'advanceAutomationRuns'
1034
- property :current_repair_automation_run, as: 'currentRepairAutomationRun'
1035
1016
  property :promote_automation_run, as: 'promoteAutomationRun'
1036
1017
  collection :repair_automation_runs, as: 'repairAutomationRuns'
1037
1018
  end
@@ -1447,6 +1428,7 @@ module Google
1447
1428
  class Representation < Google::Apis::Core::JsonRepresentation
1448
1429
  property :cluster, as: 'cluster'
1449
1430
  property :internal_ip, as: 'internalIp'
1431
+ property :proxy_url, as: 'proxyUrl'
1450
1432
  end
1451
1433
  end
1452
1434
 
@@ -1920,16 +1902,6 @@ module Google
1920
1902
  end
1921
1903
  end
1922
1904
 
1923
- class RepairMode
1924
- # @private
1925
- class Representation < Google::Apis::Core::JsonRepresentation
1926
- property :retry, as: 'retry', class: Google::Apis::ClouddeployV1::Retry, decorator: Google::Apis::ClouddeployV1::Retry::Representation
1927
-
1928
- property :rollback, as: 'rollback', class: Google::Apis::ClouddeployV1::Rollback, decorator: Google::Apis::ClouddeployV1::Rollback::Representation
1929
-
1930
- end
1931
- end
1932
-
1933
1905
  class RepairPhase
1934
1906
  # @private
1935
1907
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1943,7 +1915,6 @@ module Google
1943
1915
  class RepairRolloutOperation
1944
1916
  # @private
1945
1917
  class Representation < Google::Apis::Core::JsonRepresentation
1946
- property :current_repair_mode_index, :numeric_string => true, as: 'currentRepairModeIndex'
1947
1918
  property :job_id, as: 'jobId'
1948
1919
  property :phase_id, as: 'phaseId'
1949
1920
  collection :repair_phases, as: 'repairPhases', class: Google::Apis::ClouddeployV1::RepairPhase, decorator: Google::Apis::ClouddeployV1::RepairPhase::Representation
@@ -1959,18 +1930,6 @@ module Google
1959
1930
 
1960
1931
  property :id, as: 'id'
1961
1932
  collection :jobs, as: 'jobs'
1962
- collection :repair_modes, as: 'repairModes', class: Google::Apis::ClouddeployV1::RepairMode, decorator: Google::Apis::ClouddeployV1::RepairMode::Representation
1963
-
1964
- collection :source_phases, as: 'sourcePhases'
1965
- end
1966
- end
1967
-
1968
- class Retry
1969
- # @private
1970
- class Representation < Google::Apis::Core::JsonRepresentation
1971
- property :attempts, :numeric_string => true, as: 'attempts'
1972
- property :backoff_mode, as: 'backoffMode'
1973
- property :wait, as: 'wait'
1974
1933
  end
1975
1934
  end
1976
1935
 
@@ -2004,19 +1963,10 @@ module Google
2004
1963
  collection :attempts, as: 'attempts', class: Google::Apis::ClouddeployV1::RetryAttempt, decorator: Google::Apis::ClouddeployV1::RetryAttempt::Representation
2005
1964
 
2006
1965
  property :backoff_mode, as: 'backoffMode'
2007
- property :job_id, as: 'jobId'
2008
- property :phase_id, as: 'phaseId'
2009
1966
  property :total_attempts, :numeric_string => true, as: 'totalAttempts'
2010
1967
  end
2011
1968
  end
2012
1969
 
2013
- class Rollback
2014
- # @private
2015
- class Representation < Google::Apis::Core::JsonRepresentation
2016
- property :destination_phase, as: 'destinationPhase'
2017
- end
2018
- end
2019
-
2020
1970
  class RollbackAttempt
2021
1971
  # @private
2022
1972
  class Representation < Google::Apis::Core::JsonRepresentation
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.45.0
4
+ version: 0.47.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-23 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.47.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: []