01README
Google Cloud androidenterprise infrastructure models
02Release Notes
- Updated: serviceaccountkeys
03Models
@swamp/gcp/androidenterprise/devicesv2026.04.23.1devices.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| androidId? | string | The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0". |
| device? | string | The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named "device" per logs/wireless/android/android_checkin.proto) |
| latestBuildFingerprint? | string | The build fingerprint of the device if known. |
| maker? | string | The manufacturer of the device. This comes from android.os.Build.MANUFACTURER. |
| managementType? | enum | Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM\ |
| model? | string | The model name of the device. This comes from android.os.Build.MODEL. |
| policy? | object | The device policy for a given managed device. |
| product? | string | The product name of the device. This comes from android.os.Build.PRODUCT. |
| report? | object | Device report updated with the latest app states for managed apps on the device. |
| retailBrand? | string | Retail brand for the device, if set. See android.os.Build.BRAND |
| sdkVersion? | number | API compatibility version. |
fn get(identifier: string)
Get a devices
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the devices |
fn update()
Update devices attributes
fn sync()
Sync devices state from GCP
fn force_report_upload()
force report upload
fn get_state()
get state
fn set_state(accountState?: any)
set state
| Argument | Type | Description |
|---|---|---|
| accountState? | any |
Resources
state(infinite)— A Devices resource represents a mobile device managed by the EMM and belongin...
@swamp/gcp/androidenterprise/enterprisesv2026.04.23.1enterprises.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a enterprises
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the enterprises |
fn sync()
Sync enterprises state from GCP
fn acknowledge_notification_set()
acknowledge notification set
fn complete_signup()
complete signup
fn create_web_token(managedConfigurations?: any, parent?: any, permission?: any, playSearch?: any, privateApps?: any, storeBuilder?: any, webApps?: any, zeroTouch?: any)
create web token
| Argument | Type | Description |
|---|---|---|
| managedConfigurations? | any | |
| parent? | any | |
| permission? | any | |
| playSearch? | any | |
| privateApps? | any | |
| storeBuilder? | any | |
| webApps? | any | |
| zeroTouch? | any |
fn enroll(administrator?: any, enterpriseType?: any, googleAuthenticationSettings?: any, id?: any, managedGoogleDomainType?: any, name?: any, primaryDomain?: any)
enroll
| Argument | Type | Description |
|---|---|---|
| administrator? | any | |
| enterpriseType? | any | |
| googleAuthenticationSettings? | any | |
| id? | any | |
| managedGoogleDomainType? | any | |
| name? | any | |
| primaryDomain? | any |
fn generate_enterprise_upgrade_url()
generate enterprise upgrade url
fn generate_signup_url()
generate signup url
fn get_service_account()
get service account
fn get_store_layout()
get store layout
fn pull_notification_set()
pull notification set
fn send_test_push_notification()
send test push notification
fn set_account(accountEmail?: any)
set account
| Argument | Type | Description |
|---|---|---|
| accountEmail? | any |
fn set_store_layout(homepageId?: any, storeLayoutType?: any)
set store layout
| Argument | Type | Description |
|---|---|---|
| homepageId? | any | |
| storeLayoutType? | any |
fn unenroll()
unenroll
Resources
state(infinite)— An Enterprises resource represents the binding between an EMM and a specific ...
@swamp/gcp/androidenterprise/entitlementsv2026.04.23.1entitlements.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| productId? | string | The ID of the product that the entitlement is for. For example, "app:com.google.android.gm". |
| reason? | enum | The reason for the entitlement. For example, "free" for free apps. This property is temporary: it will be replaced by the acquisition kind field of group licenses. |
fn get(identifier: string)
Get a entitlements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the entitlements |
fn update()
Update entitlements attributes
fn delete(identifier: string)
Delete the entitlements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the entitlements |
fn sync()
Sync entitlements state from GCP
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/grouplicensesv2026.04.23.1grouplicenses.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a grouplicenses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the grouplicenses |
fn sync()
Sync grouplicenses state from GCP
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/grouplicenseusersv2026.04.23.1grouplicenseusers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a grouplicenseusers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the grouplicenseusers |
fn sync()
Sync grouplicenseusers state from GCP
Resources
state(infinite)— A Users resource represents an account associated with an enterprise. The acc...
@swamp/gcp/androidenterprise/installsv2026.04.23.1installs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| installState? | enum | Install state. The state "installPending" means that an install request has recently been made and download to the device is in progress. The state "installed" means that the app has been installed. This field is read-only. |
| productId? | string | The ID of the product that the install is for. For example, "app:com.google.android.gm". |
| versionCode? | number | The version of the installed product. Guaranteed to be set only if the install state is "installed". |
fn get(identifier: string)
Get a installs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the installs |
fn update()
Update installs attributes
fn delete(identifier: string)
Delete the installs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the installs |
fn sync()
Sync installs state from GCP
Resources
state(infinite)— The existence of an Installs resource indicates that an app is installed on a...
@swamp/gcp/androidenterprise/managedconfigurationsfordevicev2026.04.23.1managedconfigurationsfordevice.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| configurationVariables? | object | A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. |
| kind? | string | Deprecated. |
| managedProperty? | array | The set of managed properties for this configuration. |
| productId? | string | The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". |
fn get(identifier: string)
Get a managedconfigurationsfordevice
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsfordevice |
fn update()
Update managedconfigurationsfordevice attributes
fn delete(identifier: string)
Delete the managedconfigurationsfordevice
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsfordevice |
fn sync()
Sync managedconfigurationsfordevice state from GCP
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/managedconfigurationsforuserv2026.04.23.1managedconfigurationsforuser.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| configurationVariables? | object | A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. |
| kind? | string | Deprecated. |
| managedProperty? | array | The set of managed properties for this configuration. |
| productId? | string | The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". |
fn get(identifier: string)
Get a managedconfigurationsforuser
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsforuser |
fn update()
Update managedconfigurationsforuser attributes
fn delete(identifier: string)
Delete the managedconfigurationsforuser
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsforuser |
fn sync()
Sync managedconfigurationsforuser state from GCP
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/managedconfigurationssettingsv2026.04.23.1managedconfigurationssettings.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a managedconfigurationssettings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationssettings |
fn sync()
Sync managedconfigurationssettings state from GCP
Resources
state(infinite)— A managed configurations settings resource contains the set of managed proper...
@swamp/gcp/androidenterprise/permissionsv2026.04.23.1permissions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a permissions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the permissions |
fn sync()
Sync permissions state from GCP
Resources
state(infinite)— A Permissions resource represents some extra capability, to be granted to an ...
@swamp/gcp/androidenterprise/productsv2026.04.23.1products.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a products
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the products |
fn sync()
Sync products state from GCP
fn approve(approvalUrlInfo?: any, approvedPermissions?: any)
approve
| Argument | Type | Description |
|---|---|---|
| approvalUrlInfo? | any | |
| approvedPermissions? | any |
fn generate_approval_url()
generate approval url
fn get_app_restrictions_schema()
get app restrictions schema
fn get_permissions()
get permissions
fn unapprove()
unapprove
Resources
state(infinite)— A Products resource represents an app in the Google Play store that is availa...
@swamp/gcp/androidenterprise/serviceaccountkeysv2026.04.24.1serviceaccountkeys.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| data? | string | The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is "pkcs12", the contents of the data field is base64 encoded and has the password "notasecret". |
| id? | string | An opaque, unique identifier for this ServiceAccountKey. Assigned by the server. |
| publicData? | string | Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file. |
| type | enum | The file format of the generated key data. |
| enterpriseId | string | The ID of the enterprise. |
fn create()
Create a serviceaccountkeys
fn get(identifier: string)
Get a serviceaccountkeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceaccountkeys |
fn delete(identifier: string)
Delete the serviceaccountkeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceaccountkeys |
fn sync()
Sync serviceaccountkeys state from GCP
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/storelayoutclustersv2026.04.23.1storelayoutclusters.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| id? | string | Unique ID of this cluster. Assigned by the server. Immutable once assigned. |
| name? | array | Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry. |
| orderInPage? | string | String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters. |
| productId? | array | List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster. |
| enterpriseId | string | The ID of the enterprise. |
| pageId | string | The ID of the page. |
fn create()
Create a storelayoutclusters
fn get(identifier: string)
Get a storelayoutclusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutclusters |
fn update()
Update storelayoutclusters attributes
fn delete(identifier: string)
Delete the storelayoutclusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutclusters |
fn sync()
Sync storelayoutclusters state from GCP
Resources
state(infinite)— Definition of a managed Google Play store cluster, a list of products display...
@swamp/gcp/androidenterprise/storelayoutpagesv2026.04.23.1storelayoutpages.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| id? | string | Unique ID of this page. Assigned by the server. Immutable once assigned. |
| link? | array | Ordered list of pages a user should be able to reach from this page. The list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages. The API doesn't verify that the pages exist or the pages are reachable. |
| name? | array | Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry. |
| enterpriseId | string | The ID of the enterprise. |
fn create()
Create a storelayoutpages
fn get(identifier: string)
Get a storelayoutpages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutpages |
fn update()
Update storelayoutpages attributes
fn delete(identifier: string)
Delete the storelayoutpages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutpages |
fn sync()
Sync storelayoutpages state from GCP
Resources
state(infinite)— Definition of a managed Google Play store page, made of a localized name and ...
@swamp/gcp/androidenterprise/usersv2026.04.23.1users.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accountIdentifier | string | A unique identifier you create for this user, such as "user342" or "asset#44418". Do not use personally identifiable information (PII) for this property. Must always be set for EMM-managed users. Not set for Google-managed users. |
| accountType | enum | The type of account that this user represents. A userAccount can be installed on multiple devices, but a deviceAccount is specific to a single device. An EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount), but a Google-managed user (googleManaged) is always a userAccount. |
| displayName? | string | The name that will appear in user interfaces. Setting this property is optional when creating EMM-managed users. If you do set this property, use something generic about the organization (such as "Example, Inc.") or your name (as EMM). Not used for Google-managed user accounts. @mutable androidenterprise.users.update |
| id? | string | The unique ID for the user. |
| managementType? | enum | The entity that manages the user. With googleManaged users, the source of truth is Google so EMMs have to make sure a Google Account exists for the user. With emmManaged users, the EMM is in charge. |
| primaryEmail? | string | The user\ |
| enterpriseId | string | The ID of the enterprise. |
fn create()
Create a users
fn get(identifier: string)
Get a users
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the users |
fn update()
Update users attributes
fn delete(identifier: string)
Delete the users
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the users |
fn sync()
Sync users state from GCP
fn generate_authentication_token()
generate authentication token
fn get_available_product_set()
get available product set
fn revoke_device_access()
revoke device access
fn set_available_product_set(productId?: any, productSetBehavior?: any, productVisibility?: any)
set available product set
| Argument | Type | Description |
|---|---|---|
| productId? | any | |
| productSetBehavior? | any | |
| productVisibility? | any |
Resources
state(infinite)— A Users resource represents an account associated with an enterprise. The acc...
@swamp/gcp/androidenterprise/webappsv2026.04.23.1webapps.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| displayMode? | enum | The display mode of the web app. Possible values include: - "minimalUi", the device\ |
| icons? | array | A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used. |
| isPublished? | boolean | A flag whether the app has been published to the Play store yet. |
| startUrl? | string | The start URL, i.e. the URL that should load when the user opens the application. |
| 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). |
| versionCode? | string | 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. |
| webAppId? | string | The ID of the application. A string of the form "app:" where the package name always starts with the prefix "com.google.enterprise.webapp." followed by a random id. |
| enterpriseId | string | The ID of the enterprise. |
fn create()
Create a webapps
fn get(identifier: string)
Get a webapps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the webapps |
fn update()
Update webapps attributes
fn delete(identifier: string)
Delete the webapps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the webapps |
fn sync()
Sync webapps state from GCP
Resources
state(infinite)— A WebApps resource represents a web app created for an enterprise. Web apps a...
04Previous Versions
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: devices, managedconfigurationsfordevice, managedconfigurationsforuser, products
2026.04.03.3Apr 3, 2026
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.04.03.1Apr 3, 2026
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
05Stats
A
100 / 100
Downloads
0
Archive size
63.7 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels