Class: Google::Apis::MetastoreV1alpha::HiveMetastoreVersion
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::HiveMetastoreVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
A specification of a supported version of the Hive Metastore software.
Instance Attribute Summary collapse
-
#is_default ⇒ Boolean
(also: #is_default?)
Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.
-
#version ⇒ String
The semantic version of the Hive Metastore software.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiveMetastoreVersion
constructor
A new instance of HiveMetastoreVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HiveMetastoreVersion
Returns a new instance of HiveMetastoreVersion.
1167 1168 1169 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_default ⇒ Boolean Also known as: is_default?
Whether version will be chosen by the server if a metastore service is created
with a HiveMetastoreConfig that omits the version.
Corresponds to the JSON property isDefault
1159 1160 1161 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1159 def is_default @is_default end |
#version ⇒ String
The semantic version of the Hive Metastore software.
Corresponds to the JSON property version
1165 1166 1167 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1165 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1172 1173 1174 1175 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1172 def update!(**args) @is_default = args[:is_default] if args.key?(:is_default) @version = args[:version] if args.key?(:version) end |