Class: Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
 
- 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
The entitlement resources for the user.
Instance Attribute Summary collapse
- 
  
    
      #entitlement  ⇒ Array<Google::Apis::AndroidenterpriseV1::Entitlement> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An entitlement of a user to a product (e.g. an app). 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListEntitlementsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListEntitlementsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListEntitlementsResponse
Returns a new instance of ListEntitlementsResponse
| 758 759 760 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 758 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#entitlement ⇒ Array<Google::Apis::AndroidenterpriseV1::Entitlement>
An entitlement of a user to a product (e.g. an app). For example, a free app
that they have installed, or a paid app that they have been allocated a
license to.
Corresponds to the JSON property entitlement
| 750 751 752 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 750 def entitlement @entitlement end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#entitlementsListResponse".
Corresponds to the JSON property kind
| 756 757 758 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 756 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 763 764 765 766 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 763 def update!(**args) @entitlement = args[:entitlement] if args.key?(:entitlement) @kind = args[:kind] if args.key?(:kind) end |