Class: Google::Apis::VaultV1::AddHeldAccountsRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VaultV1::AddHeldAccountsRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb 
Overview
Add a list of accounts to a hold.
Instance Attribute Summary collapse
- 
  
    
      #account_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Account ids to identify which accounts to add.
 - 
  
    
      #emails  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Emails to identify which accounts to add.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddHeldAccountsRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AddHeldAccountsRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddHeldAccountsRequest
Returns a new instance of AddHeldAccountsRequest
      125 126 127  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 125 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#account_ids ⇒ Array<String>
Account ids to identify which accounts to add. Only account_ids or only
emails should be specified, but not both.
Corresponds to the JSON property accountIds
      117 118 119  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 117 def account_ids @account_ids end  | 
  
#emails ⇒ Array<String>
Emails to identify which accounts to add. Only emails or only account_ids
should be specified, but not both.
Corresponds to the JSON property emails
      123 124 125  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 123 def emails @emails end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      130 131 132 133  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 130 def update!(**args) @account_ids = args[:account_ids] if args.key?(:account_ids) @emails = args[:emails] if args.key?(:emails) end  |