class Google::Apis::SqladminV1beta4::GenerateEphemeralCertRequest

Ephemeral certificate creation request.

Attributes

access_token[RW]

Optional. Access token to include in the signed certificate. Corresponds to the JSON property `access_token` @return [String]

public_key[RW]

PEM encoded public key to include in the signed certificate. Corresponds to the JSON property `public_key` @return [String]

read_time[RW]

Optional. Optional snapshot read timestamp to trade freshness for performance. Corresponds to the JSON property `readTime` @return [String]

valid_duration[RW]

Optional. If set, it will contain the cert valid duration. Corresponds to the JSON property `validDuration` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1516
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1521
def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @public_key = args[:public_key] if args.key?(:public_key)
  @read_time = args[:read_time] if args.key?(:read_time)
  @valid_duration = args[:valid_duration] if args.key?(:valid_duration)
end