Class: Google::Apis::AndroidenterpriseV1::ProductPolicy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ProductPolicy
- 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
The policy for a product.
Instance Attribute Summary collapse
-
#auto_install_policy ⇒ Google::Apis::AndroidenterpriseV1::AutoInstallPolicy
The auto-install policy for the product.
-
#auto_update_mode ⇒ String
The auto-update mode for the product.
-
#managed_configuration ⇒ Google::Apis::AndroidenterpriseV1::ManagedConfiguration
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.
-
#product_id ⇒ String
The ID of the product.
-
#track_ids ⇒ Array<String>
Grants the device visibility to the specified product release track(s), identified by trackIds.
-
#tracks ⇒ Array<String>
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductPolicy
constructor
A new instance of ProductPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductPolicy
Returns a new instance of ProductPolicy.
2153 2154 2155 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_install_policy ⇒ Google::Apis::AndroidenterpriseV1::AutoInstallPolicy
The auto-install policy for the product.
Corresponds to the JSON property autoInstallPolicy
2122 2123 2124 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2122 def auto_install_policy @auto_install_policy end |
#auto_update_mode ⇒ String
The auto-update mode for the product.
Corresponds to the JSON property autoUpdateMode
2127 2128 2129 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2127 def auto_update_mode @auto_update_mode end |
#managed_configuration ⇒ Google::Apis::AndroidenterpriseV1::ManagedConfiguration
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
2134 2135 2136 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2134 def managed_configuration @managed_configuration end |
#product_id ⇒ String
The ID of the product. For example, "app:com.google.android.gm".
Corresponds to the JSON property productId
2139 2140 2141 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2139 def product_id @product_id end |
#track_ids ⇒ Array<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
2146 2147 2148 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2146 def track_ids @track_ids end |
#tracks ⇒ Array<String>
Deprecated. Use trackIds instead.
Corresponds to the JSON property tracks
2151 2152 2153 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2151 def tracks @tracks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2158 2159 2160 2161 2162 2163 2164 2165 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2158 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 |