Class: Google::Apis::GkeonpremV1::BareMetalVersionInfo
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalVersionInfo
- 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
Contains information about a specific Anthos on bare metal version.
Instance Attribute Summary collapse
-
#has_dependencies ⇒ Boolean
(also: #has_dependencies?)
If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster, version skew policy, etc) must be upgraded before this version can be installed or upgraded to.
-
#version ⇒ String
Version number e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalVersionInfo
constructor
A new instance of BareMetalVersionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalVersionInfo
Returns a new instance of BareMetalVersionInfo.
1934 1935 1936 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1934 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_dependencies ⇒ Boolean Also known as: has_dependencies?
If set, the cluster dependencies (e.g. the admin cluster, other user clusters
managed by the same admin cluster, version skew policy, etc) must be upgraded
before this version can be installed or upgraded to.
Corresponds to the JSON property hasDependencies
1926 1927 1928 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1926 def has_dependencies @has_dependencies end |
#version ⇒ String
Version number e.g. 1.13.1.
Corresponds to the JSON property version
1932 1933 1934 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1932 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1939 1940 1941 1942 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1939 def update!(**args) @has_dependencies = args[:has_dependencies] if args.key?(:has_dependencies) @version = args[:version] if args.key?(:version) end |