Class: Google::Apis::MirrorV1::Account
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MirrorV1::Account
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mirror_v1/classes.rb,
 generated/google/apis/mirror_v1/representations.rb,
 generated/google/apis/mirror_v1/representations.rb
Overview
Represents an account passed into the Account Manager on Glass.
Instance Attribute Summary collapse
- 
  
    
      #auth_tokens  ⇒ Array<Google::Apis::MirrorV1::AuthToken> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property authTokens.
- 
  
    
      #features  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property features.
- 
  
    
      #password  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property password.
- 
  
    
      #user_data  ⇒ Array<Google::Apis::MirrorV1::UserData> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property userData.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Account 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Account. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Account
Returns a new instance of Account
| 49 50 51 | # File 'generated/google/apis/mirror_v1/classes.rb', line 49 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#auth_tokens ⇒ Array<Google::Apis::MirrorV1::AuthToken>
Corresponds to the JSON property authTokens
| 32 33 34 | # File 'generated/google/apis/mirror_v1/classes.rb', line 32 def auth_tokens @auth_tokens end | 
#features ⇒ Array<String>
Corresponds to the JSON property features
| 37 38 39 | # File 'generated/google/apis/mirror_v1/classes.rb', line 37 def features @features end | 
#password ⇒ String
Corresponds to the JSON property password
| 42 43 44 | # File 'generated/google/apis/mirror_v1/classes.rb', line 42 def password @password end | 
#user_data ⇒ Array<Google::Apis::MirrorV1::UserData>
Corresponds to the JSON property userData
| 47 48 49 | # File 'generated/google/apis/mirror_v1/classes.rb', line 47 def user_data @user_data end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 54 55 56 57 58 59 | # File 'generated/google/apis/mirror_v1/classes.rb', line 54 def update!(**args) @auth_tokens = args[:auth_tokens] if args.key?(:auth_tokens) @features = args[:features] if args.key?(:features) @password = args[:password] if args.key?(:password) @user_data = args[:user_data] if args.key?(:user_data) end |