Class: Google::Apis::ContainerV1beta1::AvailableVersion
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AvailableVersion
- 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
Deprecated.
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.
Constructor Details
#initialize(**args) ⇒ AvailableVersion
Returns a new instance of AvailableVersion.
819 820 821 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 819 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Reason for availability.
Corresponds to the JSON property reason
812 813 814 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 812 def reason @reason end |
#version ⇒ String
Kubernetes version.
Corresponds to the JSON property version
817 818 819 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 817 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
824 825 826 827 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 824 def update!(**args) @reason = args[:reason] if args.key?(:reason) @version = args[:version] if args.key?(:version) end |