Class: Google::Apis::GkeonpremV1::VmwareBundleConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareBundleConfig
- 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
-
#status ⇒ Google::Apis::GkeonpremV1::ResourceStatus
ResourceStatus describes why a cluster or node pool has a certain status.
-
#version ⇒ String
The version of the bundle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareBundleConfig
constructor
A new instance of VmwareBundleConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareBundleConfig
Returns a new instance of VmwareBundleConfig.
4307 4308 4309 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ Google::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
4300 4301 4302 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4300 def status @status end |
#version ⇒ String
The version of the bundle.
Corresponds to the JSON property version
4305 4306 4307 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4305 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4312 4313 4314 4315 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4312 def update!(**args) @status = args[:status] if args.key?(:status) @version = args[:version] if args.key?(:version) end |