Class: Google::Apis::SqladminV1beta4::GenerateEphemeralCertRequest

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

Ephemeral certificate creation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateEphemeralCertRequest

Returns a new instance of GenerateEphemeralCertRequest.



1388
1389
1390
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1388

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

Instance Attribute Details

#access_tokenString

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

Returns:

  • (String)


1376
1377
1378
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1376

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)


1381
1382
1383
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1381

def public_key
  @public_key
end

#read_timeString

Optional. Optional snapshot read timestamp to trade freshness for performance. Corresponds to the JSON property readTime

Returns:

  • (String)


1386
1387
1388
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1386

def read_time
  @read_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1393
1394
1395
1396
1397
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1393

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)
end