Class: Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::SslCertsCreateEphemeralRequest
- 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
-
#access_token ⇒ String
Access token to include in the signed certificate.
-
#public_key ⇒ String
PEM encoded public key to include in the signed certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslCertsCreateEphemeralRequest
constructor
A new instance of SslCertsCreateEphemeralRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SslCertsCreateEphemeralRequest
Returns a new instance of SslCertsCreateEphemeralRequest.
4419 4420 4421 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
Access token to include in the signed certificate.
Corresponds to the JSON property access_token
4412 4413 4414 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4412 def access_token @access_token end |
#public_key ⇒ String
PEM encoded public key to include in the signed certificate.
Corresponds to the JSON property public_key
4417 4418 4419 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4417 def public_key @public_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4424 4425 4426 4427 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4424 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) @public_key = args[:public_key] if args.key?(:public_key) end |