Gcp/androidenterprise
@swamp/gcp/androidenterprisev2026.07.31.1
01README
Google Cloud androidenterprise infrastructure models
02Release Notes
- Updated: enterprises
03Models
@swamp/gcp/androidenterprise/devicesv2026.07.29.1devices.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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 policy enforced on the device. |
| product? | string | The product name of the device. This comes from android.os.Build.PRODUCT. |
| report? | object | The device report updated with the latest app states. |
| retailBrand? | string | Retail brand for the device, if set. See android.os.Build.BRAND |
| sdkVersion? | number | API compatibility version. |
| enterpriseId | string | The ID of the enterprise. |
| userId | string | The ID of the user. |
fn get(identifier: string)
Get a devices
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the devices |
fn update(identifier?: string)
Update devices attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific devices by name (e.g. one discovered by list) |
fn sync(identifier?: string)
Sync devices state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific devices by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List devices resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
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.07.31.1enterprises.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| domain | string | Required. The exact primary domain name of the enterprise to look up. |
fn get(identifier: string)
Get a enterprises
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the enterprises |
fn sync(identifier?: string)
Sync enterprises state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific enterprises by name (e.g. one discovered by list) |
fn list(domain?: string, maxPages?: number)
List enterprises resources
| Argument | Type | Description |
|---|---|---|
| domain? | string | Required. The exact primary domain name of the enterprise to look up. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
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.07.29.1entitlements.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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. |
| enterpriseId | string | The ID of the enterprise. |
| userId | string | The ID of the user. |
fn get(identifier: string)
Get a entitlements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the entitlements |
fn update(identifier?: string)
Update entitlements attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific entitlements by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the entitlements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the entitlements |
fn sync(identifier?: string)
Sync entitlements state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific entitlements by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List entitlements resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/grouplicensesv2026.07.29.1grouplicenses.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| enterpriseId | string | The ID of the enterprise. |
fn get(identifier: string)
Get a grouplicenses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the grouplicenses |
fn sync(identifier?: string)
Sync grouplicenses state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific grouplicenses by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List grouplicenses resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/grouplicenseusersv2026.07.29.1grouplicenseusers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| enterpriseId | string | The ID of the enterprise. |
| groupLicenseId | string | The ID of the product the group license is for, e.g. "app:com.google.android.gm". |
fn get(identifier: string)
Get a grouplicenseusers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the grouplicenseusers |
fn sync(identifier?: string)
Sync grouplicenseusers state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific grouplicenseusers by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List grouplicenseusers resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A Users resource represents an account associated with an enterprise. The acc...
@swamp/gcp/androidenterprise/installsv2026.07.29.1installs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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". |
| enterpriseId | string | The ID of the enterprise. |
| userId | string | The ID of the user. |
| deviceId | string | The Android ID of the device. |
fn get(identifier: string)
Get a installs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the installs |
fn update(identifier?: string)
Update installs attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific installs by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the installs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the installs |
fn sync(identifier?: string)
Sync installs state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific installs by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List installs resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— The existence of an Installs resource indicates that an app is installed on a...
@swamp/gcp/androidenterprise/managedconfigurationsfordevicev2026.07.29.1managedconfigurationsfordevice.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| configurationVariables? | object | Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. |
| 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". |
| enterpriseId | string | The ID of the enterprise. |
| userId | string | The ID of the user. |
| deviceId | string | The Android ID of the device. |
fn get(identifier: string)
Get a managedconfigurationsfordevice
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsfordevice |
fn update(identifier?: string)
Update managedconfigurationsfordevice attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific managedconfigurationsfordevice by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the managedconfigurationsfordevice
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsfordevice |
fn sync(identifier?: string)
Sync managedconfigurationsfordevice state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific managedconfigurationsfordevice by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List managedconfigurationsfordevice resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/managedconfigurationsforuserv2026.07.29.1managedconfigurationsforuser.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| configurationVariables? | object | Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. |
| 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". |
| enterpriseId | string | The ID of the enterprise. |
| userId | string | The ID of the user. |
fn get(identifier: string)
Get a managedconfigurationsforuser
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsforuser |
fn update(identifier?: string)
Update managedconfigurationsforuser attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific managedconfigurationsforuser by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the managedconfigurationsforuser
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationsforuser |
fn sync(identifier?: string)
Sync managedconfigurationsforuser state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific managedconfigurationsforuser by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List managedconfigurationsforuser resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/managedconfigurationssettingsv2026.07.29.1managedconfigurationssettings.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| enterpriseId | string | The ID of the enterprise. |
| productId | string | The ID of the product for which the managed configurations settings applies to. |
fn get(identifier: string)
Get a managedconfigurationssettings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedconfigurationssettings |
fn sync(identifier?: string)
Sync managedconfigurationssettings state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific managedconfigurationssettings by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List managedconfigurationssettings resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A managed configurations settings resource contains the set of managed proper...
@swamp/gcp/androidenterprise/permissionsv2026.07.29.1permissions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
fn get(identifier: string)
Get a permissions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the permissions |
fn sync(identifier?: string)
Sync permissions state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific permissions by name (e.g. one discovered by list) |
Resources
state(infinite)— A Permissions resource represents some extra capability, to be granted to an ...
@swamp/gcp/androidenterprise/productsv2026.07.29.1products.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| enterpriseId | string | The ID of the enterprise. |
fn get(identifier: string)
Get a products
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the products |
fn sync(identifier?: string)
Sync products state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific products by name (e.g. one discovered by list) |
fn list(approved?: boolean, language?: string, maxResults?: number, query?: string, token?: string, maxPages?: number)
List products resources
| Argument | Type | Description |
|---|---|---|
| approved? | boolean | Specifies whether to search among all products (false) or among only products that have been approved (true). Only "true" is supported, and should be specified. |
| language? | string | The BCP47 tag for the user\ |
| maxResults? | number | Defines how many results the list operation should return. The default number depends on the resource collection. |
| query? | string | The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps). |
| token? | string | Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
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.07.29.1serviceaccountkeys.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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(identifier?: string)
Sync serviceaccountkeys state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific serviceaccountkeys by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List serviceaccountkeys resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— *Deprecated:* New integrations cannot use this method and can refer to our ne...
@swamp/gcp/androidenterprise/storelayoutclustersv2026.07.29.1storelayoutclusters.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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(identifier?: string)
Update storelayoutclusters attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific storelayoutclusters by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the storelayoutclusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutclusters |
fn sync(identifier?: string)
Sync storelayoutclusters state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific storelayoutclusters by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List storelayoutclusters resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Definition of a managed Google Play store cluster, a list of products display...
@swamp/gcp/androidenterprise/storelayoutpagesv2026.07.29.1storelayoutpages.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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(identifier?: string)
Update storelayoutpages attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific storelayoutpages by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the storelayoutpages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storelayoutpages |
fn sync(identifier?: string)
Sync storelayoutpages state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific storelayoutpages by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List storelayoutpages resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Definition of a managed Google Play store page, made of a localized name and ...
@swamp/gcp/androidenterprise/usersv2026.07.29.1users.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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. |
| string | Required. The exact primary email address of the user to look up. |
fn create()
Create a users
fn get(identifier: string)
Get a users
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the users |
fn update(identifier?: string)
Update users attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific users by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the users
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the users |
fn sync(identifier?: string)
Sync users state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific users by name (e.g. one discovered by list) |
fn list(email?: string, maxPages?: number)
List users resources
| Argument | Type | Description |
|---|---|---|
| email? | string | Required. The exact primary email address of the user to look up. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
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.07.29.1webapps.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| 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(identifier?: string)
Update webapps attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific webapps by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the webapps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the webapps |
fn sync(identifier?: string)
Sync webapps state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific webapps by name (e.g. one discovered by list) |
fn list(maxPages?: number)
List webapps resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A WebApps resource represents a web app created for an enterprise. Web apps a...
04Previous Versions
2026.07.29.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.07.21.4
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.07.21.1
- Updated: devices, managedconfigurationsfordevice, managedconfigurationsforuser, serviceaccountkeys, webapps
2026.07.20.2
- Updated: serviceaccountkeys
2026.07.20.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.07.19.2
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, products, users
2026.07.19.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.07.18.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.07.17.1
- Updated: devices, storelayoutclusters, storelayoutpages
2026.06.08.2
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.06.07.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.05.27.1
- Updated: managedconfigurationsfordevice, managedconfigurationsforuser, products
2026.05.26.1
- Updated: serviceaccountkeys
2026.05.25.2
- Updated: devices, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, serviceaccountkeys, storelayoutclusters, storelayoutpages, webapps
Modified 15 models
2026.05.24.1
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.05.21.2
- Updated: devices, enterprises, entitlements, grouplicenses, grouplicenseusers, installs, managedconfigurationsfordevice, managedconfigurationsforuser, managedconfigurationssettings, permissions, products, serviceaccountkeys, storelayoutclusters, storelayoutpages, users, webapps
2026.05.21.1
2026.05.20.1
- Updated: serviceaccountkeys
2026.05.19.2
05Stats
A
100 / 100
Downloads
0
Archive size
165.4 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 types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels