Class: Google::Apis::ContainerV1::ReleaseChannel
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ReleaseChannel
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/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
-
#channel ⇒ String
channel specifies which release channel the cluster is subscribed to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseChannel
constructor
A new instance of ReleaseChannel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReleaseChannel
Returns a new instance of ReleaseChannel.
6003 6004 6005 |
# File 'lib/google/apis/container_v1/classes.rb', line 6003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ String
channel specifies which release channel the cluster is subscribed to.
Corresponds to the JSON property channel
6001 6002 6003 |
# File 'lib/google/apis/container_v1/classes.rb', line 6001 def channel @channel end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6008 6009 6010 |
# File 'lib/google/apis/container_v1/classes.rb', line 6008 def update!(**args) @channel = args[:channel] if args.key?(:channel) end |