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



2052
2053
2054
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2052

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)


2050
2051
2052
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2050

def common_name
  @common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2057
2058
2059
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2057

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