Class: Google::Apis::MetastoreV1::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::LocationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Metadata about the service in a location.
Instance Attribute Summary collapse
-
#multi_region_metadata ⇒ Google::Apis::MetastoreV1::MultiRegionMetadata
The metadata for the multi-region that includes the constituent regions.
-
#supported_hive_metastore_versions ⇒ Array<Google::Apis::MetastoreV1::HiveMetastoreVersion>
The versions of Hive Metastore that can be used when creating a new metastore service in this location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationMetadata
constructor
A new instance of LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata.
1014 1015 1016 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#multi_region_metadata ⇒ Google::Apis::MetastoreV1::MultiRegionMetadata
The metadata for the multi-region that includes the constituent regions. The
metadata is only populated if the region is multi-region. For single region,
it will be empty.
Corresponds to the JSON property multiRegionMetadata
1005 1006 1007 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1005 def @multi_region_metadata end |
#supported_hive_metastore_versions ⇒ Array<Google::Apis::MetastoreV1::HiveMetastoreVersion>
The versions of Hive Metastore that can be used when creating a new metastore
service in this location. The server guarantees that exactly one
HiveMetastoreVersion in the list will set is_default.
Corresponds to the JSON property supportedHiveMetastoreVersions
1012 1013 1014 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1012 def @supported_hive_metastore_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1019 1020 1021 1022 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1019 def update!(**args) @multi_region_metadata = args[:multi_region_metadata] if args.key?(:multi_region_metadata) @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions) end |