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

Constructor Details

#initialize(**args) ⇒ ReleaseChannelConfig

Returns a new instance of ReleaseChannelConfig.



3489
3490
3491
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3489

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

Instance Attribute Details

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

Deprecated. This field has been deprecated and replaced with the valid_versions field. Corresponds to the JSON property availableVersions



3472
3473
3474
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3472

def available_versions
  @available_versions
end

#channelString

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

Returns:

  • (String)


3477
3478
3479
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3477

def channel
  @channel
end

#default_versionString

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

Returns:

  • (String)


3482
3483
3484
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3482

def default_version
  @default_version
end

#valid_versionsArray<String>

List of valid versions for the channel. Corresponds to the JSON property validVersions

Returns:

  • (Array<String>)


3487
3488
3489
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3487

def valid_versions
  @valid_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3494
3495
3496
3497
3498
3499
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3494

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