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.



1934
1935
1936
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1934

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



1926
1927
1928
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1926

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



1932
1933
1934
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1932

def custom_region_config
  @custom_region_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1939
1940
1941
1942
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1939

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