Create

Creates a web app

8 variables
7 variables

Creates a web app

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage Android devices and apps for your customers

Input

This building block consumes 8 input parameters

  = Parameter name
  = Format

parent STRING Required

The name of the enterprise in the form enterprises/{enterpriseId}

versionCode INTEGER

The current version of the app.

Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date

icons[] OBJECT

An icon for a web app. Supported formats are: png, jpg and webp

icons[].imageData STRING

The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").

  • The image type can be png or jpg.
  • The image should ideally be square.
  • The image should ideally have a size of 512x512.

startUrl STRING

The start URL, i.e. the URL that should load when the user opens the application

displayMode ENUMERATION

The display mode of the web app

title STRING

The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon)

name STRING

The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}

Output

This building block provides 7 output parameters

  = Parameter name
  = Format

versionCode INTEGER

The current version of the app.

Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date

icons[] OBJECT

An icon for a web app. Supported formats are: png, jpg and webp

icons[].imageData STRING

The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").

  • The image type can be png or jpg.
  • The image should ideally be square.
  • The image should ideally have a size of 512x512.

startUrl STRING

The start URL, i.e. the URL that should load when the user opens the application

displayMode ENUMERATION

The display mode of the web app

title STRING

The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon)

name STRING

The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}