Class: Google::Apis::MetastoreV1alpha::RootCaCertificate

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. A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RootCaCertificate

Returns a new instance of RootCaCertificate.



2709
2710
2711
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2709

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

Instance Attribute Details

#certificateString

Deprecated: Use a single region service instead. The root CA certificate in PEM format. The maximum length is 65536 bytes. Corresponds to the JSON property certificate

Returns:

  • (String)


2701
2702
2703
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2701

def certificate
  @certificate
end

#expiration_timeString

Deprecated: Use a single region service instead. The certificate expiration time in timestamp format. Corresponds to the JSON property expirationTime

Returns:

  • (String)


2707
2708
2709
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2707

def expiration_time
  @expiration_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2714
2715
2716
2717
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2714

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