Class: Google::Apis::AndroidenterpriseV1::EnterpriseAccount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::EnterpriseAccount
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
 generated/google/apis/androidenterprise_v1/representations.rb,
 generated/google/apis/androidenterprise_v1/representations.rb
Overview
A service account that can be used to authenticate as the enterprise to API calls that require such authentication.
Instance Attribute Summary collapse
- 
  
    
      #account_email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email address of the service account. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EnterpriseAccount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EnterpriseAccount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnterpriseAccount
Returns a new instance of EnterpriseAccount
| 624 625 626 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 624 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_email ⇒ String
The email address of the service account.
Corresponds to the JSON property accountEmail
| 616 617 618 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 616 def account_email @account_email end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#enterpriseAccount".
Corresponds to the JSON property kind
| 622 623 624 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 622 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 629 630 631 632 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 629 def update!(**args) @account_email = args[:account_email] if args.key?(:account_email) @kind = args[:kind] if args.key?(:kind) end |