Skip to main content

Gcp/androidenterprise

@swamp/gcp/androidenterprisev2026.04.24.1· 6d agoMODELS
01README

Google Cloud androidenterprise infrastructure models

02Release Notes
  • Updated: serviceaccountkeys
03Models16
@swamp/gcp/androidenterprise/devicesv2026.04.23.1devices.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
androidId?stringThe Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
device?stringThe internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named "device" per logs/wireless/android/android_checkin.proto)
latestBuildFingerprint?stringThe build fingerprint of the device if known.
maker?stringThe manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
managementType?enumIdentifies 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?stringThe model name of the device. This comes from android.os.Build.MODEL.
policy?objectThe device policy for a given managed device.
product?stringThe product name of the device. This comes from android.os.Build.PRODUCT.
report?objectDevice report updated with the latest app states for managed apps on the device.
retailBrand?stringRetail brand for the device, if set. See android.os.Build.BRAND
sdkVersion?numberAPI compatibility version.
fn get(identifier: string)
Get a devices
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a enterprises
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
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
ArgumentTypeDescription
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
ArgumentTypeDescription
accountEmail?any
fn set_store_layout(homepageId?: any, storeLayoutType?: any)
set store layout
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
productId?stringThe ID of the product that the entitlement is for. For example, "app:com.google.android.gm".
reason?enumThe 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
ArgumentTypeDescription
identifierstringThe name of the entitlements
fn update()
Update entitlements attributes
fn delete(identifier: string)
Delete the entitlements
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a grouplicenses
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a grouplicenseusers
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
installState?enumInstall 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?stringThe ID of the product that the install is for. For example, "app:com.google.android.gm".
versionCode?numberThe version of the installed product. Guaranteed to be set only if the install state is "installed".
fn get(identifier: string)
Get a installs
ArgumentTypeDescription
identifierstringThe name of the installs
fn update()
Update installs attributes
fn delete(identifier: string)
Delete the installs
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
configurationVariables?objectA 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?stringDeprecated.
managedProperty?arrayThe set of managed properties for this configuration.
productId?stringThe ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
fn get(identifier: string)
Get a managedconfigurationsfordevice
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsfordevice
fn update()
Update managedconfigurationsfordevice attributes
fn delete(identifier: string)
Delete the managedconfigurationsfordevice
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
configurationVariables?objectA 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?stringDeprecated.
managedProperty?arrayThe set of managed properties for this configuration.
productId?stringThe ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
fn get(identifier: string)
Get a managedconfigurationsforuser
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsforuser
fn update()
Update managedconfigurationsforuser attributes
fn delete(identifier: string)
Delete the managedconfigurationsforuser
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a managedconfigurationssettings
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a permissions
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a products
ArgumentTypeDescription
identifierstringThe name of the products
fn sync()
Sync products state from GCP
fn approve(approvalUrlInfo?: any, approvedPermissions?: any)
approve
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
data?stringThe 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?stringAn opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
publicData?stringPublic 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.
typeenumThe file format of the generated key data.
enterpriseIdstringThe ID of the enterprise.
fn create()
Create a serviceaccountkeys
fn get(identifier: string)
Get a serviceaccountkeys
ArgumentTypeDescription
identifierstringThe name of the serviceaccountkeys
fn delete(identifier: string)
Delete the serviceaccountkeys
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
id?stringUnique ID of this cluster. Assigned by the server. Immutable once assigned.
name?arrayOrdered 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?stringString (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?arrayList of products in the order they are displayed in the cluster. There should not be duplicates within a cluster.
enterpriseIdstringThe ID of the enterprise.
pageIdstringThe ID of the page.
fn create()
Create a storelayoutclusters
fn get(identifier: string)
Get a storelayoutclusters
ArgumentTypeDescription
identifierstringThe name of the storelayoutclusters
fn update()
Update storelayoutclusters attributes
fn delete(identifier: string)
Delete the storelayoutclusters
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
id?stringUnique ID of this page. Assigned by the server. Immutable once assigned.
link?arrayOrdered 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?arrayOrdered 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.
enterpriseIdstringThe ID of the enterprise.
fn create()
Create a storelayoutpages
fn get(identifier: string)
Get a storelayoutpages
ArgumentTypeDescription
identifierstringThe name of the storelayoutpages
fn update()
Update storelayoutpages attributes
fn delete(identifier: string)
Delete the storelayoutpages
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accountIdentifierstringA 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.
accountTypeenumThe 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?stringThe 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?stringThe unique ID for the user.
managementType?enumThe 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?stringThe user\
enterpriseIdstringThe ID of the enterprise.
fn create()
Create a users
fn get(identifier: string)
Get a users
ArgumentTypeDescription
identifierstringThe name of the users
fn update()
Update users attributes
fn delete(identifier: string)
Delete the users
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
displayMode?enumThe display mode of the web app. Possible values include: - "minimalUi", the device\
icons?arrayA list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used.
isPublished?booleanA flag whether the app has been published to the Play store yet.
startUrl?stringThe start URL, i.e. the URL that should load when the user opens the application.
title?stringThe 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?stringThe 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?stringThe 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.
enterpriseIdstringThe ID of the enterprise.
fn create()
Create a webapps
fn get(identifier: string)
Get a webapps
ArgumentTypeDescription
identifierstringThe name of the webapps
fn update()
Update webapps attributes
fn delete(identifier: string)
Delete the webapps
ArgumentTypeDescription
identifierstringThe 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 Versions6
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