Class: Google::Apis::MetastoreV1::MultiRegionMetadata

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiRegionMetadata

Returns a new instance of MultiRegionMetadata.



1233
1234
1235
# File 'lib/google/apis/metastore_v1/classes.rb', line 1233

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>)


1231
1232
1233
# File 'lib/google/apis/metastore_v1/classes.rb', line 1231

def constituent_regions
  @constituent_regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1238
1239
1240
# File 'lib/google/apis/metastore_v1/classes.rb', line 1238

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