Class: Google::Apis::SqladminV1beta4::InsertSslCertsRequest

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

Overview

SslCerts insert request.

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) ⇒ InsertSslCertsRequest

Returns a new instance of InsertSslCertsRequest.



1831
1832
1833
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1831

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

Instance Attribute Details

#common_nameString

User supplied name. Must be a distinct name from the other certificates for this instance. New certificates will not be usable until the instance is restarted. Corresponds to the JSON property commonName

Returns:

  • (String)


1829
1830
1831
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1829

def common_name
  @common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1836
1837
1838
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1836

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