Class: Google::Apis::MetastoreV1alpha::MultiRegionConfig

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 multi-region config for the Dataproc Metastore service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiRegionConfig

Returns a new instance of MultiRegionConfig.



1887
1888
1889
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1887

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

Instance Attribute Details

#certificatesArray<Google::Apis::MetastoreV1alpha::RootCaCertificate>

Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service. Corresponds to the JSON property certificates



1879
1880
1881
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1879

def certificates
  @certificates
end

#custom_region_configGoogle::Apis::MetastoreV1alpha::CustomRegionConfig

Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region. Corresponds to the JSON property customRegionConfig



1885
1886
1887
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1885

def custom_region_config
  @custom_region_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1892
1893
1894
1895
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1892

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