Class: Google::Apis::MetastoreV1alpha::MultiRegionMetadata

Inherits:
Object
  • Object
show all
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

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 or custom dual region, it will be empty.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiRegionMetadata

Returns a new instance of MultiRegionMetadata.



1909
1910
1911
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1909

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#constituent_regionsArray<String>

The regions constituting the multi-region. Corresponds to the JSON property constituentRegions

Returns:

  • (Array<String>)


1907
1908
1909
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1907

def constituent_regions
  @constituent_regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1914
1915
1916
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1914

def update!(**args)
  @constituent_regions = args[:constituent_regions] if args.key?(:constituent_regions)
end