Skip to main content

@swamp/gcp/androidenterprise

v2026.04.24.1

Google Cloud androidenterprise infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudandroidenterprisecloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • 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

Install

$ swamp extension pull @swamp/gcp/androidenterprise

Release Notes

  • Updated: serviceaccountkeys

@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.
getGet a devices
ArgumentTypeDescription
identifierstringThe name of the devices
updateUpdate devices attributes
syncSync devices state from GCP
force_report_uploadforce report upload
get_stateget state
set_stateset 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)
getGet a enterprises
ArgumentTypeDescription
identifierstringThe name of the enterprises
syncSync enterprises state from GCP
acknowledge_notification_setacknowledge notification set
complete_signupcomplete signup
create_web_tokencreate web token
ArgumentTypeDescription
managedConfigurations?any
parent?any
permission?any
playSearch?any
privateApps?any
storeBuilder?any
webApps?any
zeroTouch?any
enrollenroll
ArgumentTypeDescription
administrator?any
enterpriseType?any
googleAuthenticationSettings?any
id?any
managedGoogleDomainType?any
name?any
primaryDomain?any
generate_enterprise_upgrade_urlgenerate enterprise upgrade url
generate_signup_urlgenerate signup url
get_service_accountget service account
get_store_layoutget store layout
pull_notification_setpull notification set
send_test_push_notificationsend test push notification
set_accountset account
ArgumentTypeDescription
accountEmail?any
set_store_layoutset store layout
ArgumentTypeDescription
homepageId?any
storeLayoutType?any
unenrollunenroll

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.
getGet a entitlements
ArgumentTypeDescription
identifierstringThe name of the entitlements
updateUpdate entitlements attributes
deleteDelete the entitlements
ArgumentTypeDescription
identifierstringThe name of the entitlements
syncSync 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)
getGet a grouplicenses
ArgumentTypeDescription
identifierstringThe name of the grouplicenses
syncSync 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)
getGet a grouplicenseusers
ArgumentTypeDescription
identifierstringThe name of the grouplicenseusers
syncSync 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".
getGet a installs
ArgumentTypeDescription
identifierstringThe name of the installs
updateUpdate installs attributes
deleteDelete the installs
ArgumentTypeDescription
identifierstringThe name of the installs
syncSync 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".
getGet a managedconfigurationsfordevice
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsfordevice
updateUpdate managedconfigurationsfordevice attributes
deleteDelete the managedconfigurationsfordevice
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsfordevice
syncSync 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".
getGet a managedconfigurationsforuser
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsforuser
updateUpdate managedconfigurationsforuser attributes
deleteDelete the managedconfigurationsforuser
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationsforuser
syncSync 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)
getGet a managedconfigurationssettings
ArgumentTypeDescription
identifierstringThe name of the managedconfigurationssettings
syncSync 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)
getGet a permissions
ArgumentTypeDescription
identifierstringThe name of the permissions
syncSync 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)
getGet a products
ArgumentTypeDescription
identifierstringThe name of the products
syncSync products state from GCP
approveapprove
ArgumentTypeDescription
approvalUrlInfo?any
approvedPermissions?any
generate_approval_urlgenerate approval url
get_app_restrictions_schemaget app restrictions schema
get_permissionsget permissions
unapproveunapprove

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.
createCreate a serviceaccountkeys
getGet a serviceaccountkeys
ArgumentTypeDescription
identifierstringThe name of the serviceaccountkeys
deleteDelete the serviceaccountkeys
ArgumentTypeDescription
identifierstringThe name of the serviceaccountkeys
syncSync 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.
createCreate a storelayoutclusters
getGet a storelayoutclusters
ArgumentTypeDescription
identifierstringThe name of the storelayoutclusters
updateUpdate storelayoutclusters attributes
deleteDelete the storelayoutclusters
ArgumentTypeDescription
identifierstringThe name of the storelayoutclusters
syncSync 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.
createCreate a storelayoutpages
getGet a storelayoutpages
ArgumentTypeDescription
identifierstringThe name of the storelayoutpages
updateUpdate storelayoutpages attributes
deleteDelete the storelayoutpages
ArgumentTypeDescription
identifierstringThe name of the storelayoutpages
syncSync 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.
createCreate a users
getGet a users
ArgumentTypeDescription
identifierstringThe name of the users
updateUpdate users attributes
deleteDelete the users
ArgumentTypeDescription
identifierstringThe name of the users
syncSync users state from GCP
generate_authentication_tokengenerate authentication token
get_available_product_setget available product set
revoke_device_accessrevoke device access
set_available_product_setset 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.
createCreate a webapps
getGet a webapps
ArgumentTypeDescription
identifierstringThe name of the webapps
updateUpdate webapps attributes
deleteDelete the webapps
ArgumentTypeDescription
identifierstringThe name of the webapps
syncSync webapps state from GCP

Resources

state(infinite)— A WebApps resource represents a web app created for an enterprise. Web apps a...