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.



4590
4591
4592
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4590

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)


4588
4589
4590
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4588

def common_name
  @common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4595
4596
4597
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4595

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