google-apis-clouddeploy_v1 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1eff37d6d5d057e43dd521fbf88ccd087072f62e3f54a691009a597e2288ed3
|
4
|
+
data.tar.gz: 57c4c72af2cc4b1bfdaf3c054e465231e6dd731b2cc252bd8181e00bc9edfe52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 577327679e204c44166cf57b4aaafaa88f50c384f343ff3ef02ca1a35021a48fa86f670283dcdd3ff4529a3792e247609fab97e6deb9bfaf17acf10e044e6251
|
7
|
+
data.tar.gz: 7ecf397a67d2bec348b2304f9e16e1d6747b057c40343bfd6cb120b760e43c5a2b81f20f531745696eadac7f7ab5fc9c0ca57e54ee9d65bba9aafbe3480e9bd7
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -2060,6 +2054,13 @@ module Google
|
|
2060
2054
|
attr_accessor :internal_ip
|
2061
2055
|
alias_method :internal_ip?, :internal_ip
|
2062
2056
|
|
2057
|
+
# Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/
|
2058
|
+
# concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the
|
2059
|
+
# Kubernetes server.
|
2060
|
+
# Corresponds to the JSON property `proxyUrl`
|
2061
|
+
# @return [String]
|
2062
|
+
attr_accessor :proxy_url
|
2063
|
+
|
2063
2064
|
def initialize(**args)
|
2064
2065
|
update!(**args)
|
2065
2066
|
end
|
@@ -2068,6 +2069,7 @@ module Google
|
|
2068
2069
|
def update!(**args)
|
2069
2070
|
@cluster = args[:cluster] if args.key?(:cluster)
|
2070
2071
|
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
2072
|
+
@proxy_url = args[:proxy_url] if args.key?(:proxy_url)
|
2071
2073
|
end
|
2072
2074
|
end
|
2073
2075
|
|
@@ -3809,33 +3811,8 @@ module Google
|
|
3809
3811
|
end
|
3810
3812
|
end
|
3811
3813
|
|
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
3814
|
# RepairPhase tracks the repair attempts that have been made for each `
|
3838
|
-
#
|
3815
|
+
# RepairPhaseConfig` specified in the `Automation` resource.
|
3839
3816
|
class RepairPhase
|
3840
3817
|
include Google::Apis::Core::Hashable
|
3841
3818
|
|
@@ -3865,11 +3842,6 @@ module Google
|
|
3865
3842
|
class RepairRolloutOperation
|
3866
3843
|
include Google::Apis::Core::Hashable
|
3867
3844
|
|
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
3845
|
# Output only. The job ID for the Job to repair.
|
3874
3846
|
# Corresponds to the JSON property `jobId`
|
3875
3847
|
# @return [String]
|
@@ -3897,7 +3869,6 @@ module Google
|
|
3897
3869
|
|
3898
3870
|
# Update properties of this object
|
3899
3871
|
def update!(**args)
|
3900
|
-
@current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index)
|
3901
3872
|
@job_id = args[:job_id] if args.key?(:job_id)
|
3902
3873
|
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
3903
3874
|
@repair_phases = args[:repair_phases] if args.key?(:repair_phases)
|
@@ -3931,21 +3902,6 @@ module Google
|
|
3931
3902
|
# @return [Array<String>]
|
3932
3903
|
attr_accessor :jobs
|
3933
3904
|
|
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
3905
|
def initialize(**args)
|
3950
3906
|
update!(**args)
|
3951
3907
|
end
|
@@ -3955,42 +3911,6 @@ module Google
|
|
3955
3911
|
@condition = args[:condition] if args.key?(:condition)
|
3956
3912
|
@id = args[:id] if args.key?(:id)
|
3957
3913
|
@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
3914
|
end
|
3995
3915
|
end
|
3996
3916
|
|
@@ -4085,16 +4005,6 @@ module Google
|
|
4085
4005
|
# @return [String]
|
4086
4006
|
attr_accessor :backoff_mode
|
4087
4007
|
|
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
4008
|
# Output only. The number of attempts that have been made.
|
4099
4009
|
# Corresponds to the JSON property `totalAttempts`
|
4100
4010
|
# @return [Fixnum]
|
@@ -4108,32 +4018,10 @@ module Google
|
|
4108
4018
|
def update!(**args)
|
4109
4019
|
@attempts = args[:attempts] if args.key?(:attempts)
|
4110
4020
|
@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
4021
|
@total_attempts = args[:total_attempts] if args.key?(:total_attempts)
|
4114
4022
|
end
|
4115
4023
|
end
|
4116
4024
|
|
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
4025
|
# RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
|
4138
4026
|
class RollbackAttempt
|
4139
4027
|
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.
|
19
|
+
GEM_VERSION = "0.46.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 = "
|
25
|
+
REVISION = "20240529"
|
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.
|
4
|
+
version: 0.46.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-
|
11
|
+
date: 2024-06-09 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.46.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: []
|