class Google::Apis::AndroidenterpriseV1::ProductApprovalEvent
An event generated when a product's approval status is changed.
Attributes
approved[RW]
Whether the product was approved or unapproved. This field will always be present. Corresponds to the JSON property `approved` @return [String]
product_id[RW]
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` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2051 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2056 def update!(**args) @approved = args[:approved] if args.key?(:approved) @product_id = args[:product_id] if args.key?(:product_id) end