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



1885
1886
1887
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1885

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)


1883
1884
1885
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1883

def common_name
  @common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1890
1891
1892
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1890

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