Class: Google::Apis::MetastoreV1alpha::CustomRegionConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::CustomRegionConfig
- 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
Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region.
Instance Attribute Summary collapse
-
#read_only_regions ⇒ Array<String>
Optional.
-
#read_write_regions ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomRegionConfig
constructor
A new instance of CustomRegionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomRegionConfig
Returns a new instance of CustomRegionConfig.
737 738 739 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#read_only_regions ⇒ Array<String>
Optional. The list of read-only regions where the metastore service runs in.
These regions should be part (or subset) of the multi-region.
Corresponds to the JSON property readOnlyRegions
729 730 731 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 729 def read_only_regions @read_only_regions end |
#read_write_regions ⇒ Array<String>
Required. The list of read-write regions where the metastore service runs in.
These regions should be part (or subset) of the multi-region.
Corresponds to the JSON property readWriteRegions
735 736 737 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 735 def read_write_regions @read_write_regions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
742 743 744 745 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 742 def update!(**args) @read_only_regions = args[:read_only_regions] if args.key?(:read_only_regions) @read_write_regions = args[:read_write_regions] if args.key?(:read_write_regions) end |