Class: Google::Apis::ContainerV1beta1::ReleaseChannel
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::ReleaseChannel
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/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 and frequency of updates. 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. Updates to version related fields (e.g. current_master_version) return an error.
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReleaseChannel
Returns a new instance of ReleaseChannel.
3199 3200 3201 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3199 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
3197 3198 3199 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3197 def channel @channel end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3204 3205 3206 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3204 def update!(**args) @channel = args[:channel] if args.key?(:channel) end |