class Google::Apis::ContainerV1beta1::ReleaseChannelConfig

ReleaseChannelConfig exposes configuration for a release channel.

Attributes

available_versions[RW]

Deprecated. This field has been deprecated and replaced with the valid_versions field. Corresponds to the JSON property `availableVersions` @return [Array<Google::Apis::ContainerV1beta1::AvailableVersion>]

channel[RW]

The release channel this configuration applies to. Corresponds to the JSON property `channel` @return [String]

default_version[RW]

The default version for newly created clusters on the channel. Corresponds to the JSON property `defaultVersion` @return [String]

valid_versions[RW]

List of valid versions for the channel. Corresponds to the JSON property `validVersions` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 4009
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 4014
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