Class: Google::Apis::VaultV1::HeldAccount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VaultV1::HeldAccount
 
- 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
An account being held in a particular hold. This structure is immutable. This can be either a single user or a google group, depending on the corpus.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The account's ID as provided by the Admin SDK. 
- 
  
    
      #hold_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    When the account was put on hold. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HeldAccount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HeldAccount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HeldAccount
Returns a new instance of HeldAccount
| 169 170 171 | # File 'generated/google/apis/vault_v1/classes.rb', line 169 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
The account's ID as provided by the
Admin SDK.
Corresponds to the JSON property accountId
| 162 163 164 | # File 'generated/google/apis/vault_v1/classes.rb', line 162 def account_id @account_id end | 
#hold_time ⇒ String
When the account was put on hold.
Corresponds to the JSON property holdTime
| 167 168 169 | # File 'generated/google/apis/vault_v1/classes.rb', line 167 def hold_time @hold_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 174 175 176 177 | # File 'generated/google/apis/vault_v1/classes.rb', line 174 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @hold_time = args[:hold_time] if args.key?(:hold_time) end |