Class: Google::Apis::ContainerV1::ReleaseChannel

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

Overview

ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.

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) ⇒ ReleaseChannel

Returns a new instance of ReleaseChannel.


2832
2833
2834
# File 'generated/google/apis/container_v1/classes.rb', line 2832

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

Instance Attribute Details

#channelString

channel specifies which release channel the cluster is subscribed to. Corresponds to the JSON property channel

Returns:

  • (String)

2830
2831
2832
# File 'generated/google/apis/container_v1/classes.rb', line 2830

def channel
  @channel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2837
2838
2839
# File 'generated/google/apis/container_v1/classes.rb', line 2837

def update!(**args)
  @channel = args[:channel] if args.key?(:channel)
end