View Source GoogleApi.AndroidEnterprise.V1.Model.ProductPolicy (google_api_android_enterprise v0.30.0)

The policy for a product.

Attributes

  • autoInstallPolicy (type: GoogleApi.AndroidEnterprise.V1.Model.AutoInstallPolicy.t, default: nil) - The auto-install policy for the product.
  • autoUpdateMode (type: String.t, default: nil) - 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.
  • enterpriseAuthenticationAppLinkConfigs (type: list(GoogleApi.AndroidEnterprise.V1.Model.EnterpriseAuthenticationAppLinkConfig.t), default: nil) - 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.
  • managedConfiguration (type: GoogleApi.AndroidEnterprise.V1.Model.ManagedConfiguration.t, default: nil) - The managed configuration for the product.
  • productId (type: String.t, default: nil) - The ID of the product. For example, "app:com.google.android.gm".
  • trackIds (type: list(String.t), default: nil) - 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.
  • tracks (type: list(String.t), default: nil) - Deprecated. Use trackIds instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.ProductPolicy{
  autoInstallPolicy:
    GoogleApi.AndroidEnterprise.V1.Model.AutoInstallPolicy.t() | nil,
  autoUpdateMode: String.t() | nil,
  enterpriseAuthenticationAppLinkConfigs:
    [
      GoogleApi.AndroidEnterprise.V1.Model.EnterpriseAuthenticationAppLinkConfig.t()
    ]
    | nil,
  managedConfiguration:
    GoogleApi.AndroidEnterprise.V1.Model.ManagedConfiguration.t() | nil,
  productId: String.t() | nil,
  trackIds: [String.t()] | nil,
  tracks: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.