Class: Google::Apis::MetastoreV1beta::MultiRegionConfig

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



1941
1942
1943
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1941

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

Instance Attribute Details

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

Output only. Deprecated: Use a single region service instead. 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



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

def certificates
  @certificates
end

#custom_region_configGoogle::Apis::MetastoreV1beta::CustomRegionConfig

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. Corresponds to the JSON property customRegionConfig



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

def custom_region_config
  @custom_region_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1946
1947
1948
1949
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1946

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