Class: Google::Apis::GkeonpremV1::QueryBareMetalVersionConfigResponse
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::QueryBareMetalVersionConfigResponse
- 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
Response message for querying bare metal admin cluster version config.
Instance Attribute Summary collapse
-
#versions ⇒ Array<Google::Apis::GkeonpremV1::BareMetalVersionInfo>
List of available versions to install or to upgrade to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryBareMetalVersionConfigResponse
constructor
A new instance of QueryBareMetalVersionConfigResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryBareMetalVersionConfigResponse
Returns a new instance of QueryBareMetalVersionConfigResponse.
3231 3232 3233 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#versions ⇒ Array<Google::Apis::GkeonpremV1::BareMetalVersionInfo>
List of available versions to install or to upgrade to.
Corresponds to the JSON property versions
3229 3230 3231 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3229 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3236 3237 3238 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3236 def update!(**args) @versions = args[:versions] if args.key?(:versions) end |