Class: Google::Apis::SqladminV1beta3::SslCertsInsertResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta3/classes.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb

Overview

SslCert insert response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SslCertsInsertResponse

Returns a new instance of SslCertsInsertResponse



1525
1526
1527
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1525

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

Instance Attribute Details

#client_certGoogle::Apis::SqladminV1beta3::SslCertDetail

SslCertDetail. Corresponds to the JSON property clientCert



1513
1514
1515
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1513

def client_cert
  @client_cert
end

#kindString

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

Returns:

  • (String)


1518
1519
1520
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1518

def kind
  @kind
end

#server_ca_certGoogle::Apis::SqladminV1beta3::SslCert

SslCerts Resource Corresponds to the JSON property serverCaCert



1523
1524
1525
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1523

def server_ca_cert
  @server_ca_cert
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1530
1531
1532
1533
1534
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1530

def update!(**args)
  @client_cert = args[:client_cert] if args.key?(:client_cert)
  @kind = args[:kind] if args.key?(:kind)
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
end