Class: Google::Apis::AndroidenterpriseV1::ProductApprovalEvent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::ProductApprovalEvent
 
- 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 event generated when a product's approval status is changed.
Instance Attribute Summary collapse
- 
  
    
      #approved  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether the product was approved or unapproved. 
- 
  
    
      #product_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The id of the product (e.g. "app:com.google.android.gm") for which the approval status has changed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProductApprovalEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProductApprovalEvent. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductApprovalEvent
Returns a new instance of ProductApprovalEvent
| 1850 1851 1852 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1850 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#approved ⇒ String
Whether the product was approved or unapproved. This field will always be
present.
Corresponds to the JSON property approved
| 1842 1843 1844 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1842 def approved @approved end | 
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") for which the
approval status has changed. This field will always be present.
Corresponds to the JSON property productId
| 1848 1849 1850 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1848 def product_id @product_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1855 1856 1857 1858 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1855 def update!(**args) @approved = args[:approved] if args.key?(:approved) @product_id = args[:product_id] if args.key?(:product_id) end |