Class: Google::Apis::ContainerV1beta1::AvailableVersion

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

Deprecated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AvailableVersion

Returns a new instance of AvailableVersion.



305
306
307
# File 'generated/google/apis/container_v1beta1/classes.rb', line 305

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#reasonString

Reason for availability. Corresponds to the JSON property reason

Returns:

  • (String)


298
299
300
# File 'generated/google/apis/container_v1beta1/classes.rb', line 298

def reason
  @reason
end

#versionString

Kubernetes version. Corresponds to the JSON property version

Returns:

  • (String)


303
304
305
# File 'generated/google/apis/container_v1beta1/classes.rb', line 303

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



310
311
312
313
# File 'generated/google/apis/container_v1beta1/classes.rb', line 310

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