View Source GoogleApi.AndroidEnterprise.V1.Model.ProductSet (google_api_android_enterprise v0.26.0)

A set of products.

Attributes

  • productId (type: list(String.t), default: nil) - The list of product IDs making up the set of products.
  • productSetBehavior (type: String.t, default: nil) - The interpretation of this product set. "unknown" should never be sent and is ignored if received. "whitelist" means that the user is entitled to access the product set. "includeAll" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. "allApproved" means that the user is entitled to access all products that are approved for the enterprise. If the value is "allApproved" or "includeAll", the productId field is ignored. If no value is provided, it is interpreted as "whitelist" for backwards compatibility. Further "allApproved" or "includeAll" does not enable automatic visibility of "alpha" or "beta" tracks for Android app. Use ProductVisibility to enable "alpha" or "beta" tracks per user.
  • productVisibility (type: list(GoogleApi.AndroidEnterprise.V1.Model.ProductVisibility.t), default: nil) - Additional list of product IDs making up the product set. Unlike the productID array, in this list It's possible to specify which tracks (alpha, beta, production) of a product are visible to the user. See ProductVisibility and its fields for more information. Specifying the same product ID both here and in the productId array is not allowed and it will result in an error.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.ProductSet{
  productId: [String.t()] | nil,
  productSetBehavior: String.t() | nil,
  productVisibility:
    [GoogleApi.AndroidEnterprise.V1.Model.ProductVisibility.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.