Class: Google::Apis::GkeonpremV1::VmwareBundleConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb

Overview

VmwareBundleConfig represents configuration for the bundle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareBundleConfig

Returns a new instance of VmwareBundleConfig.



4467
4468
4469
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4467

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

Instance Attribute Details

#statusGoogle::Apis::GkeonpremV1::ResourceStatus

ResourceStatus describes why a cluster or node pool has a certain status. (e.g. , ERROR or DEGRADED). Corresponds to the JSON property status



4460
4461
4462
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4460

def status
  @status
end

#versionString

The version of the bundle. Corresponds to the JSON property version

Returns:

  • (String)


4465
4466
4467
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4465

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4472
4473
4474
4475
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4472

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