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

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.



2212
2213
2214
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2212

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

Instance Attribute Details

#certificatesArray<Google::Apis::MetastoreV1alpha::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



2203
2204
2205
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2203

def certificates
  @certificates
end

#custom_region_configGoogle::Apis::MetastoreV1alpha::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



2210
2211
2212
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2210

def custom_region_config
  @custom_region_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2217
2218
2219
2220
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2217

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