class Google::Apis::AndroidenterpriseV1::ProductPolicy
The policy for a product.
Attributes
The auto-install policy for the product. Corresponds to the JSON property `autoInstallPolicy` @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
The auto-update mode for the product. Corresponds to the JSON property `autoUpdateMode` @return [String]
A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. Corresponds to the JSON property `managedConfiguration` @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
The ID of the product. For example, “app:com.google.android.gm”. Corresponds to the JSON property `productId` @return [String]
Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get. Corresponds to the JSON property `trackIds` @return [Array<String>]
Deprecated. Use trackIds instead. Corresponds to the JSON property `tracks` @return [Array<String>]
Public Class Methods
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2181 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2186 def update!(**args) @auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy) @auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode) @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration) @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