Class: Google::Apis::SqladminV1::InstancesListServerCertificatesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::InstancesListServerCertificatesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Instances ListServerCertificates response.
Instance Attribute Summary collapse
-
#active_version ⇒ String
The
sha1_fingerprint
of the active certificate fromserver_certs
. -
#ca_certs ⇒ Array<Google::Apis::SqladminV1::SslCert>
List of server CA certificates for the instance.
-
#kind ⇒ String
This is always
sql#instancesListServerCertificates
. -
#server_certs ⇒ Array<Google::Apis::SqladminV1::SslCert>
List of server certificates for the instance, signed by the corresponding CA from the
ca_certs
list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesListServerCertificatesResponse
constructor
A new instance of InstancesListServerCertificatesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesListServerCertificatesResponse
Returns a new instance of InstancesListServerCertificatesResponse.
2591 2592 2593 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_version ⇒ String
The sha1_fingerprint
of the active certificate from server_certs
.
Corresponds to the JSON property activeVersion
2573 2574 2575 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2573 def active_version @active_version end |
#ca_certs ⇒ Array<Google::Apis::SqladminV1::SslCert>
List of server CA certificates for the instance.
Corresponds to the JSON property caCerts
2578 2579 2580 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2578 def ca_certs @ca_certs end |
#kind ⇒ String
This is always sql#instancesListServerCertificates
.
Corresponds to the JSON property kind
2583 2584 2585 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2583 def kind @kind end |
#server_certs ⇒ Array<Google::Apis::SqladminV1::SslCert>
List of server certificates for the instance, signed by the corresponding CA
from the ca_certs
list.
Corresponds to the JSON property serverCerts
2589 2590 2591 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2589 def server_certs @server_certs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2596 2597 2598 2599 2600 2601 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2596 def update!(**args) @active_version = args[:active_version] if args.key?(:active_version) @ca_certs = args[:ca_certs] if args.key?(:ca_certs) @kind = args[:kind] if args.key?(:kind) @server_certs = args[:server_certs] if args.key?(:server_certs) end |