Class: Google::Apis::SqladminV1::InstancesListServerCertificatesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesListServerCertificatesResponse

Returns a new instance of InstancesListServerCertificatesResponse.



3264
3265
3266
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3264

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

Instance Attribute Details

#active_versionString

The sha1_fingerprint of the active certificate from server_certs. Corresponds to the JSON property activeVersion

Returns:

  • (String)


3246
3247
3248
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3246

def active_version
  @active_version
end

#ca_certsArray<Google::Apis::SqladminV1::SslCert>

List of server CA certificates for the instance. Corresponds to the JSON property caCerts



3251
3252
3253
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3251

def ca_certs
  @ca_certs
end

#kindString

This is always sql#instancesListServerCertificates. Corresponds to the JSON property kind

Returns:

  • (String)


3256
3257
3258
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3256

def kind
  @kind
end

#server_certsArray<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



3262
3263
3264
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3262

def server_certs
  @server_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3269
3270
3271
3272
3273
3274
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3269

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