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

A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.

Attributes

  • appRestrictionsSchema (type: GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchema.t, default: nil) - The app restriction schema
  • appTracks (type: list(GoogleApi.AndroidEnterprise.V1.Model.TrackInfo.t), default: nil) - The tracks visible to the enterprise.
  • appVersion (type: list(GoogleApi.AndroidEnterprise.V1.Model.AppVersion.t), default: nil) - App versions currently available for this product.
  • authorName (type: String.t, default: nil) - The name of the author of the product (for example, the app developer).
  • availableCountries (type: list(String.t), default: nil) - The countries which this app is available in.
  • availableTracks (type: list(String.t), default: nil) - Deprecated, use appTracks instead.
  • category (type: String.t, default: nil) - The app category (e.g. RACING, SOCIAL, etc.)
  • contentRating (type: String.t, default: nil) - The content rating for this app.
  • description (type: String.t, default: nil) - The localized promotional description, if available.
  • detailsUrl (type: String.t, default: nil) - A link to the (consumer) Google Play details page for the product.
  • distributionChannel (type: String.t, default: nil) - How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.
  • features (type: list(String.t), default: nil) - Noteworthy features (if any) of this product.
  • fullDescription (type: String.t, default: nil) - The localized full app store description, if available.
  • iconUrl (type: String.t, default: nil) - A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.
  • lastUpdatedTimestampMillis (type: String.t, default: nil) - The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
  • minAndroidSdkVersion (type: integer(), default: nil) - The minimum Android SDK necessary to run the app.
  • permissions (type: list(GoogleApi.AndroidEnterprise.V1.Model.ProductPermission.t), default: nil) - A list of permissions required by the app.
  • productId (type: String.t, default: nil) - A string of the form app:<package name>. For example, app:com.google.android.gm represents the Gmail app.
  • productPricing (type: String.t, default: nil) - Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).
  • recentChanges (type: String.t, default: nil) - A description of the recent changes made to the app.
  • requiresContainerApp (type: boolean(), default: nil) - Deprecated.
  • screenshotUrls (type: list(String.t), default: nil) - A list of screenshot links representing the app.
  • signingCertificate (type: GoogleApi.AndroidEnterprise.V1.Model.ProductSigningCertificate.t, default: nil) - The certificate used to sign this product.
  • smallIconUrl (type: String.t, default: nil) - A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.
  • title (type: String.t, default: nil) - The name of the product.
  • workDetailsUrl (type: String.t, default: nil) - A link to the managed Google Play details page for the product, for use by an Enterprise admin.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.Product{
  appRestrictionsSchema:
    GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchema.t() | nil,
  appTracks: [GoogleApi.AndroidEnterprise.V1.Model.TrackInfo.t()] | nil,
  appVersion: [GoogleApi.AndroidEnterprise.V1.Model.AppVersion.t()] | nil,
  authorName: String.t() | nil,
  availableCountries: [String.t()] | nil,
  availableTracks: [String.t()] | nil,
  category: String.t() | nil,
  contentRating: String.t() | nil,
  description: String.t() | nil,
  detailsUrl: String.t() | nil,
  distributionChannel: String.t() | nil,
  features: [String.t()] | nil,
  fullDescription: String.t() | nil,
  iconUrl: String.t() | nil,
  lastUpdatedTimestampMillis: String.t() | nil,
  minAndroidSdkVersion: integer() | nil,
  permissions:
    [GoogleApi.AndroidEnterprise.V1.Model.ProductPermission.t()] | nil,
  productId: String.t() | nil,
  productPricing: String.t() | nil,
  recentChanges: String.t() | nil,
  requiresContainerApp: boolean() | nil,
  screenshotUrls: [String.t()] | nil,
  signingCertificate:
    GoogleApi.AndroidEnterprise.V1.Model.ProductSigningCertificate.t() | nil,
  smallIconUrl: String.t() | nil,
  title: String.t() | nil,
  workDetailsUrl: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.