Class: Google::Apis::AndroidenterpriseV1::Enterprise
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::Enterprise
 
- 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
An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows:
- For Google managed domain customers, the process involves using Enterprises. enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process.
- For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.
Instance Attribute Summary collapse
- 
  
    
      #administrator  ⇒ Array<Google::Apis::AndroidenterpriseV1::Administrator> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Admins of the enterprise. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique ID for the enterprise. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the enterprise, for example, "Example, Inc". 
- 
  
    
      #primary_domain  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The enterprise's primary domain, such as "example.com". 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Enterprise 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Enterprise. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Enterprise
Returns a new instance of Enterprise
| 594 595 596 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 594 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#administrator ⇒ Array<Google::Apis::AndroidenterpriseV1::Administrator>
Admins of the enterprise. This is only supported for enterprises created via
the EMM-initiated flow.
Corresponds to the JSON property administrator
| 571 572 573 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 571 def administrator @administrator end | 
#id ⇒ String
The unique ID for the enterprise.
Corresponds to the JSON property id
| 576 577 578 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 576 def id @id end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#enterprise".
Corresponds to the JSON property kind
| 582 583 584 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 582 def kind @kind end | 
#name ⇒ String
The name of the enterprise, for example, "Example, Inc".
Corresponds to the JSON property name
| 587 588 589 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 587 def name @name end | 
#primary_domain ⇒ String
The enterprise's primary domain, such as "example.com".
Corresponds to the JSON property primaryDomain
| 592 593 594 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 592 def primary_domain @primary_domain end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 599 600 601 602 603 604 605 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 599 def update!(**args) @administrator = args[:administrator] if args.key?(:administrator) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @primary_domain = args[:primary_domain] if args.key?(:primary_domain) end |