Class: Google::Apis::VmmigrationV1::AccessKeyCredentials
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::AccessKeyCredentials
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb 
Overview
Message describing AWS Credentials using access key id and secret.
Instance Attribute Summary collapse
- 
  
    
      #access_key_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
AWS access key ID.
 - 
  
    
      #secret_access_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Input only.
 - 
  
    
      #session_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Input only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccessKeyCredentials 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AccessKeyCredentials.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ AccessKeyCredentials
Returns a new instance of AccessKeyCredentials.
      45 46 47  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 45 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#access_key_id ⇒ String
AWS access key ID.
Corresponds to the JSON property accessKeyId
      32 33 34  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 32 def access_key_id @access_key_id end  | 
  
#secret_access_key ⇒ String
Input only. AWS secret access key.
Corresponds to the JSON property secretAccessKey
      37 38 39  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 37 def secret_access_key @secret_access_key end  | 
  
#session_token ⇒ String
Input only. AWS session token. Used only when AWS security token service (STS)
is responsible for creating the temporary credentials.
Corresponds to the JSON property sessionToken
      43 44 45  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 43 def session_token @session_token end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      50 51 52 53 54  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 50 def update!(**args) @access_key_id = args[:access_key_id] if args.key?(:access_key_id) @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key) @session_token = args[:session_token] if args.key?(:session_token) end  |