Class: Google::Apis::SqladminV1::GenerateEphemeralCertRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1::GenerateEphemeralCertRequest
 
 
- 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
Ephemeral certificate creation request.
Instance Attribute Summary collapse
- 
  
    
      #access_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #public_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
PEM encoded public key to include in the signed certificate.
 - 
  
    
      #read_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #valid_duration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GenerateEphemeralCertRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GenerateEphemeralCertRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GenerateEphemeralCertRequest
Returns a new instance of GenerateEphemeralCertRequest.
      1961 1962 1963  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1961 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#access_token ⇒ String
Optional. Access token to include in the signed certificate.
Corresponds to the JSON property access_token
      1944 1945 1946  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1944 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
      1949 1950 1951  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1949 def public_key @public_key end  | 
  
#read_time ⇒ String
Optional. Optional snapshot read timestamp to trade freshness for performance.
Corresponds to the JSON property readTime
      1954 1955 1956  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1954 def read_time @read_time end  | 
  
#valid_duration ⇒ String
Optional. If set, it will contain the cert valid duration.
Corresponds to the JSON property validDuration
      1959 1960 1961  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1959 def valid_duration @valid_duration end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1966 1967 1968 1969 1970 1971  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 1966 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  |