Class: Google::Apis::MetastoreV1beta::RootCaCertificate
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1beta::RootCaCertificate
- 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. 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
Deprecated: Use a single region service instead.
-
#expiration_time ⇒ String
Deprecated: Use a single region service instead.
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.
2438 2439 2440 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
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
2430 2431 2432 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2430 def certificate @certificate end |
#expiration_time ⇒ String
Deprecated: Use a single region service instead. The certificate expiration
time in timestamp format.
Corresponds to the JSON property expirationTime
2436 2437 2438 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2436 def expiration_time @expiration_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2443 2444 2445 2446 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2443 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) end |