Class: Google::Apis::ContainerV1beta1::AvailableVersion
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AvailableVersion
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
AvailableVersion is an additional Kubernetes versions offered to users who subscribed to the release channel.
Instance Attribute Summary collapse
-
#reason ⇒ String
Reason for availability.
-
#version ⇒ String
Kubernetes version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AvailableVersion
constructor
A new instance of AvailableVersion.
-
#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) ⇒ AvailableVersion
Returns a new instance of AvailableVersion.
269 270 271 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Reason for availability.
Corresponds to the JSON property reason
262 263 264 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 262 def reason @reason end |
#version ⇒ String
Kubernetes version.
Corresponds to the JSON property version
267 268 269 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 267 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 277 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 274 def update!(**args) @reason = args[:reason] if args.key?(:reason) @version = args[:version] if args.key?(:version) end |