REST Resource: customers.apps.android

Resource: AppDetails

Resource representing app details.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "appId": string,
  "revisionId": string,
  "type": enum (AppItemType),
  "iconUri": string,
  "detailUri": string,
  "firstPublishTime": string,
  "latestPublishTime": string,
  "publisher": string,
  "isPaidApp": boolean,
  "homepageUri": string,
  "privacyPolicyUri": string,
  "reviewNumber": string,
  "reviewRating": number,
  "serviceError": {
    object (Status)
  },

  // Union field app_info can be only one of the following:
  "chromeAppInfo": {
    object (ChromeAppInfo)
  },
  "androidAppInfo": {
    object (AndroidAppInfo)
  }
  // End of list of possible types for union field app_info.
}
Fields
name

string

Output only. Format: name=customers/{customer_id}/apps/{chrome|android|web}/{appId}@{version}

displayName

string

Output only. App's display name.

description

string

Output only. App's description.

appId

string

Output only. Unique store identifier for the item. Examples: "gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome extension, "com.google.android.apps.docs" for the Google Drive Android app.

revisionId

string

Output only. App version. A new revision is committed whenever a new version of the app is published.

type

enum (AppItemType)

Output only. App type.

iconUri

string

Output only. A link to an image that can be used as an icon for the product.

detailUri

string

Output only. The uri for the detail page of the item.

firstPublishTime

string (Timestamp format)

Output only. First published time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

latestPublishTime

string (Timestamp format)

Output only. Latest published time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

publisher

string

Output only. The publisher of the item.

isPaidApp

boolean

Output only. Indicates if the app has to be paid for OR has paid content.

homepageUri

string

Output only. Home page or Website uri.

privacyPolicyUri

string

Output only. The URI pointing to the privacy policy of the app, if it was provided by the developer. Version-specific field that will only be set when the requested app version is found.

reviewNumber

string (int64 format)

Output only. Number of reviews received. Chrome Web Store review information will always be for the latest version of an app.

reviewRating

number

Output only. The rating of the app (on 5 stars). Chrome Web Store review information will always be for the latest version of an app.

serviceError

object (Status)

Output only. Information about a partial service error if applicable.

Union field app_info.

app_info can be only one of the following:

chromeAppInfo

object (ChromeAppInfo)

Output only. Chrome Web Store app information.

androidAppInfo

object (AndroidAppInfo)

Output only. Android app information.

AppItemType

App type.

Enums
APP_ITEM_TYPE_UNSPECIFIED App type unspecified.
CHROME Chrome app.
ANDROID ARC++ app.
WEB Web app.

ChromeAppInfo

Chrome Web Store app information.

JSON representation
{
  "minUserCount": integer,
  "permissions": [
    {
      object (ChromeAppPermission)
    }
  ],
  "siteAccess": [
    {
      object (ChromeAppSiteAccess)
    }
  ],
  "type": enum (ItemType),
  "supportEnabled": boolean,
  "isTheme": boolean,
  "googleOwned": boolean,
  "isCwsHosted": boolean,
  "kioskEnabled": boolean,
  "isKioskOnly": boolean,
  "isExtensionPolicySupported": boolean
}
Fields
minUserCount

integer

Output only. The minimum number of users using this app.

permissions[]

object (ChromeAppPermission)

Output only. Every custom permission requested by the app. Version-specific field that will only be set when the requested app version is found.

siteAccess[]

object (ChromeAppSiteAccess)

Output only. Every permission giving access to domains or broad host patterns. ( e.g. www.google.com). This includes the matches from content scripts as well as hosts in the permissions node of the manifest. Version-specific field that will only be set when the requested app version is found.

type

enum (ItemType)

Output only. Types of an item in the Chrome Web Store

supportEnabled

boolean

Output only. The app developer has enabled support for their app. Version-specific field that will only be set when the requested app version is found.

isTheme

boolean

Output only. Whether the app or extension is a theme.

googleOwned

boolean

Output only. Whether the app or extension is built and maintained by Google. Version-specific field that will only be set when the requested app version is found.

isCwsHosted

boolean

Output only. Whether the app or extension is in a published state in the Chrome Web Store.

kioskEnabled

boolean

Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices

isKioskOnly

boolean

Output only. Whether the app is only for Kiosk mode on ChromeOS devices

isExtensionPolicySupported

boolean

Output only. Whether an app supports policy for extensions.

ChromeAppPermission

Permission requested by a Chrome app or extension.

JSON representation
{
  "type": string,
  "documentationUri": string,
  "accessUserData": boolean
}
Fields
type

string

Output only. The type of the permission.

documentationUri

string

Output only. If available, a URI to a page that has documentation for the current permission.

accessUserData

boolean

Output only. If available, whether this permissions grants the app/extension access to user data.

ChromeAppSiteAccess

Represent one host permission.

JSON representation
{
  "hostMatch": string
}
Fields
hostMatch

string

Output only. This can contain very specific hosts, or patterns like "*.com" for instance.

ItemType

Whether an item in the Chrome Web Store is an extension.

Enums
ITEM_TYPE_UNSPECIFIED Unspecified ItemType.
EXTENSION Chrome Extensions.
OTHERS Any other type than extension.

AndroidAppInfo

Android app information.

JSON representation
{
  "permissions": [
    {
      object (AndroidAppPermission)
    }
  ]
}
Fields
permissions[]

object (AndroidAppPermission)

Output only. Permissions requested by an Android app.

AndroidAppPermission

Permission requested by an Android app.

JSON representation
{
  "type": string
}
Fields
type

string

Output only. The type of the permission.

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the API Design Guide.

JSON representation
{
  "code": integer,
  "message": string,
  "details": [
    {
      "@type": string,
      field1: ...,
      ...
    }
  ]
}
Fields
code

integer

The status code, which should be an enum value of google.rpc.Code.

message

string

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

details[]

object

A list of messages that carry the error details. There is a common set of message types for APIs to use.

An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.

Methods

get

Get a specific app for a customer by its resource name.