class Google::Apis::AndroidenterpriseV1::ProductAvailabilityChangeEvent

An event generated whenever a product's availability changes.

Attributes

availability_status[RW]

The new state of the product. This field will always be present. Corresponds to the JSON property `availabilityStatus` @return [String]

product_id[RW]

The id of the product (e.g. “app:com.google.android.gm”) for which the product availability 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 2077
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 2082
def update!(**args)
  @availability_status = args[:availability_status] if args.key?(:availability_status)
  @product_id = args[:product_id] if args.key?(:product_id)
end