Class: Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest

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

Overview

SslCerts create ephemeral certificate request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslCertsCreateEphemeralRequest

Returns a new instance of SslCertsCreateEphemeralRequest.



2999
3000
3001
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2999

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

Instance Attribute Details

#access_tokenString

Access token to include in the signed certificate. Corresponds to the JSON property access_token

Returns:

  • (String)


2992
2993
2994
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2992

def access_token
  @access_token
end

#public_keyString

PEM encoded public key to include in the signed certificate. Corresponds to the JSON property public_key

Returns:

  • (String)


2997
2998
2999
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2997

def public_key
  @public_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3004
3005
3006
3007
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3004

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