Class: Google::Apis::AndroidenterpriseV1::ProductPermissions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::ProductPermissions
 
- 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
Information about the permissions required by a specific app and whether they have been accepted by the enterprise.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #permission  ⇒ Array<Google::Apis::AndroidenterpriseV1::ProductPermission> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The permissions required by the app. 
- 
  
    
      #product_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the app that the permissions relate to, e.g. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProductPermissions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProductPermissions. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductPermissions
Returns a new instance of ProductPermissions
| 1937 1938 1939 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1937 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#productPermissions".
Corresponds to the JSON property kind
| 1924 1925 1926 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1924 def kind @kind end | 
#permission ⇒ Array<Google::Apis::AndroidenterpriseV1::ProductPermission>
The permissions required by the app.
Corresponds to the JSON property permission
| 1929 1930 1931 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1929 def @permission end | 
#product_id ⇒ String
The ID of the app that the permissions relate to, e.g. "app:com.google.android.
gm".
Corresponds to the JSON property productId
| 1935 1936 1937 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1935 def product_id @product_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1942 1943 1944 1945 1946 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1942 def update!(**args) @kind = args[:kind] if args.key?(:kind) @permission = args[:permission] if args.key?(:permission) @product_id = args[:product_id] if args.key?(:product_id) end |