Class: Google::Apis::MetastoreV1alpha::RootCaCertificate
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::RootCaCertificate
- 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
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
-
#certificate ⇒ String
The root CA certificate in PEM format.
-
#expiration_time ⇒ String
The certificate expiration time in timestamp format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RootCaCertificate
constructor
A new instance of RootCaCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RootCaCertificate
Returns a new instance of RootCaCertificate.
2368 2369 2370 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
The root CA certificate in PEM format. The maximum length is 65536 bytes.
Corresponds to the JSON property certificate
2361 2362 2363 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2361 def certificate @certificate end |
#expiration_time ⇒ String
The certificate expiration time in timestamp format.
Corresponds to the JSON property expirationTime
2366 2367 2368 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2366 def expiration_time @expiration_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2373 2374 2375 2376 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2373 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) end |