Class: Google::Apis::GkeonpremV1::Versions
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::Versions
- 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
Versions describes the mapping of a given version to the number of machines under this version.
Instance Attribute Summary collapse
-
#versions ⇒ Array<Google::Apis::GkeonpremV1::Version>
Shows the mapping of a given version to the number of machines under this version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Versions
constructor
A new instance of Versions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Versions
Returns a new instance of Versions.
3845 3846 3847 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3845 def initialize(**args) update!(**args) end |
Instance Attribute Details
#versions ⇒ Array<Google::Apis::GkeonpremV1::Version>
Shows the mapping of a given version to the number of machines under this
version.
Corresponds to the JSON property versions
3843 3844 3845 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3843 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3850 3851 3852 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3850 def update!(**args) @versions = args[:versions] if args.key?(:versions) end |