Class: Google::Apis::SqladminV1::SslCertsInsertRequest

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

SslCerts insert request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslCertsInsertRequest

Returns a new instance of SslCertsInsertRequest.



4481
4482
4483
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4481

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. Corresponds to the JSON property commonName

Returns:

  • (String)


4479
4480
4481
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4479

def common_name
  @common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4486
4487
4488
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4486

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