Class: Google::Apis::AndroidenterpriseV1::ApproveProductRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::ApproveProductRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
 lib/google/apis/androidenterprise_v1/representations.rb,
 lib/google/apis/androidenterprise_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #approval_url_info  ⇒ Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Information on an approval URL. 
- 
  
    
      #approved_permissions  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Sets how new permission requests for the product are handled. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApproveProductRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ApproveProductRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ApproveProductRequest
Returns a new instance of ApproveProductRequest.
| 2439 2440 2441 | # File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2439 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#approval_url_info ⇒ Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo
Information on an approval URL.
Corresponds to the JSON property approvalUrlInfo
| 2427 2428 2429 | # File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2427 def approval_url_info @approval_url_info end | 
#approved_permissions ⇒ String
Sets how new permission requests for the product are handled. "allPermissions"
automatically approves all current and future permissions for the product. "
currentPermissionsOnly" approves the current set of permissions for the
product, but any future permissions added through updates will require manual
reapproval. If not specified, only the current set of permissions will be
approved.
Corresponds to the JSON property approvedPermissions
| 2437 2438 2439 | # File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2437 def @approved_permissions end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2444 2445 2446 2447 | # File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2444 def update!(**args) @approval_url_info = args[:approval_url_info] if args.key?(:approval_url_info) @approved_permissions = args[:approved_permissions] if args.key?(:approved_permissions) end |