Class: Google::Apis::AndroidenterpriseV1::ProductPolicy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ProductPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/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.
-
#enterprise_authentication_app_link_configs ⇒ Array<Google::Apis::AndroidenterpriseV1::EnterpriseAuthenticationAppLinkConfig>
An authentication URL configuration for the authenticator app of an identity provider.
-
#managed_configuration ⇒ Google::Apis::AndroidenterpriseV1::ManagedConfiguration
Deprecated: New integrations cannot use this method and can refer to our new recommendations Corresponds to the JSON property
managedConfiguration
. -
#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.
2308 2309 2310 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2308 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
2267 2268 2269 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2267 def auto_install_policy @auto_install_policy end |
#auto_update_mode ⇒ String
The auto-update mode for the product. When autoUpdateMode is used, it always
takes precedence over the user's choice. So when a user makes changes to the
device settings manually, these changes are ignored.
Corresponds to the JSON property autoUpdateMode
2274 2275 2276 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2274 def auto_update_mode @auto_update_mode end |
#enterprise_authentication_app_link_configs ⇒ Array<Google::Apis::AndroidenterpriseV1::EnterpriseAuthenticationAppLinkConfig>
An authentication URL configuration for the authenticator app of an identity
provider. This helps to launch the identity provider's authenticator app
during the authentication happening in a private app using Android WebView.
Authenticator app should already be the default handler for the authentication
url on the device.
Corresponds to the JSON property enterpriseAuthenticationAppLinkConfigs
2283 2284 2285 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2283 def enterprise_authentication_app_link_configs @enterprise_authentication_app_link_configs end |
#managed_configuration ⇒ Google::Apis::AndroidenterpriseV1::ManagedConfiguration
Deprecated: New integrations cannot use this method and can refer to our
new recommendations
Corresponds to the JSON property managedConfiguration
2289 2290 2291 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2289 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
2294 2295 2296 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2294 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
2301 2302 2303 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2301 def track_ids @track_ids end |
#tracks ⇒ Array<String>
Deprecated. Use trackIds instead.
Corresponds to the JSON property tracks
2306 2307 2308 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2306 def tracks @tracks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2313 2314 2315 2316 2317 2318 2319 2320 2321 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2313 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) @enterprise_authentication_app_link_configs = args[:enterprise_authentication_app_link_configs] if args.key?(:enterprise_authentication_app_link_configs) @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 |