Class: Google::Apis::ContainerV1beta1::ReleaseChannelConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ReleaseChannelConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
ReleaseChannelConfig exposes configuration for a release channel.
Instance Attribute Summary collapse
-
#available_versions ⇒ Array<Google::Apis::ContainerV1beta1::AvailableVersion>
Deprecated.
-
#channel ⇒ String
The release channel this configuration applies to.
-
#default_version ⇒ String
The default version for newly created clusters on the channel.
-
#valid_versions ⇒ Array<String>
List of valid versions for the channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseChannelConfig
constructor
A new instance of ReleaseChannelConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReleaseChannelConfig
Returns a new instance of ReleaseChannelConfig.
3833 3834 3835 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_versions ⇒ Array<Google::Apis::ContainerV1beta1::AvailableVersion>
Deprecated. This field has been deprecated and replaced with the
valid_versions field.
Corresponds to the JSON property availableVersions
3816 3817 3818 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3816 def available_versions @available_versions end |
#channel ⇒ String
The release channel this configuration applies to.
Corresponds to the JSON property channel
3821 3822 3823 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3821 def channel @channel end |
#default_version ⇒ String
The default version for newly created clusters on the channel.
Corresponds to the JSON property defaultVersion
3826 3827 3828 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3826 def default_version @default_version end |
#valid_versions ⇒ Array<String>
List of valid versions for the channel.
Corresponds to the JSON property validVersions
3831 3832 3833 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3831 def valid_versions @valid_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3838 3839 3840 3841 3842 3843 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3838 def update!(**args) @available_versions = args[:available_versions] if args.key?(:available_versions) @channel = args[:channel] if args.key?(:channel) @default_version = args[:default_version] if args.key?(:default_version) @valid_versions = args[:valid_versions] if args.key?(:valid_versions) end |