Class: Google::Apis::ContainerV1beta1::ReleaseChannelConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

ReleaseChannelConfig exposes configuration for a release channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReleaseChannelConfig

Returns a new instance of ReleaseChannelConfig.



3269
3270
3271
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3269

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#available_versionsArray<Google::Apis::ContainerV1beta1::AvailableVersion>

List of available versions for the release channel. Corresponds to the JSON property availableVersions



3257
3258
3259
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3257

def available_versions
  @available_versions
end

#channelString

The release channel this configuration applies to. Corresponds to the JSON property channel

Returns:

  • (String)


3262
3263
3264
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3262

def channel
  @channel
end

#default_versionString

The default version for newly created clusters on the channel. Corresponds to the JSON property defaultVersion

Returns:

  • (String)


3267
3268
3269
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3267

def default_version
  @default_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3274
3275
3276
3277
3278
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3274

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)
end