Class: Google::Apis::MetastoreV1beta::CustomRegionConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1beta::CustomRegionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1beta/classes.rb,
lib/google/apis/metastore_v1beta/representations.rb,
lib/google/apis/metastore_v1beta/representations.rb
Overview
Deprecated: Use a single region service instead. 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.
738 739 740 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 738 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
730 731 732 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 730 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
736 737 738 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 736 def read_write_regions @read_write_regions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
743 744 745 746 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 743 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 |