Class: Google::Apis::ContainerV1beta1::ReleaseChannel

Inherits:
Object
  • Object
show all
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

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

Constructor Details

#initialize(**args) ⇒ ReleaseChannel

Returns a new instance of ReleaseChannel.



4769
4770
4771
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4769

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)


4767
4768
4769
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4767

def channel
  @channel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4774
4775
4776
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4774

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