Class: Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A URL that can be rendered in an iframe to display the permissions (if any) of a product. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GenerateProductApprovalUrlResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GenerateProductApprovalUrlResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GenerateProductApprovalUrlResponse
Returns a new instance of GenerateProductApprovalUrlResponse
| 2151 2152 2153 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2151 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#url ⇒ String
A URL that can be rendered in an iframe to display the permissions (if any) of
a product. This URL can be used to approve the product only once and only
within 24 hours of being generated, using the Products.approve call. If the
product is currently unapproved and has no permissions, this URL will point to
an empty page. If the product is currently approved, a URL will only be
generated if that product has added permissions since it was last approved,
and the URL will only display those new permissions that have not yet been
accepted.
Corresponds to the JSON property url
| 2149 2150 2151 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2149 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2156 2157 2158 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2156 def update!(**args) @url = args[:url] if args.key?(:url) end |