class Google::Apis::AndroidenterpriseV1::ProductVisibility

A product to be made visible to a user.

Attributes

product_id[RW]

The product ID to make visible to the user. Required for each item in the productVisibility list. Corresponds to the JSON property `productId` @return [String]

track_ids[RW]

Grants the user visibility to the specified product track(s), identified by trackIds. Corresponds to the JSON property `trackIds` @return [Array<String>]

tracks[RW]

Deprecated. Use trackIds instead. Corresponds to the JSON property `tracks` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2289
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 2294
def update!(**args)
  @product_id = args[:product_id] if args.key?(:product_id)
  @track_ids = args[:track_ids] if args.key?(:track_ids)
  @tracks = args[:tracks] if args.key?(:tracks)
end