Gcp/cloudcontrolspartner
@swamp/gcp/cloudcontrolspartnerv2026.10.13.1
01README
Google Cloud cloudcontrolspartner infrastructure models
02Release Notes
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
03Behaviors
@swamp/gcp/cloudcontrolspartner/customersv2026.10.13.1customers.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. |
| apiEndpoint? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| displayName? | string | Required. Display name for the customer |
| name? | string | Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}` |
| customerId? | string | Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a customers
fn get(identifier: string)
Get a customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn update(identifier?: string)
Update customers attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific customers by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the customers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customers |
fn sync(identifier?: string)
Sync customers state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific customers by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List customers resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filtering results |
| orderBy? | string | Optional. Hint for how to order the results |
| pageSize? | number | The maximum number of Customers to return. The service may return fewer than this value. If unspecified, at most 500 Customers will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Contains metadata around a Cloud Controls Partner Customer
@swamp/gcp/cloudcontrolspartner/customers-workloadsv2026.10.13.1customers_workloads.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. |
| apiEndpoint? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a workloads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workloads |
fn sync(identifier?: string)
Sync workloads state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific workloads by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List workloads resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filtering results. |
| orderBy? | string | Optional. Hint for how to order the results. |
| pageSize? | number | The maximum number of workloads to return. The service may return fewer than this value. If unspecified, at most 500 workloads will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_ekm_connections()
get ekm connections
fn get_partner_permissions()
get partner permissions
Resources
state(infinite)— Contains metadata around the [Workload resource](https://cloud.google.com/ass...
@swamp/gcp/cloudcontrolspartner/customers-workloads-accessapprovalrequestsv2026.10.13.1customers_workloads_accessapprovalrequests.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. |
| apiEndpoint? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a accessApprovalRequests
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the accessApprovalRequests |
fn sync(identifier?: string)
Sync accessApprovalRequests state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific accessApprovalRequests by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List accessApprovalRequests resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filtering results. |
| orderBy? | string | Optional. Hint for how to order the results. |
| pageSize? | number | Optional. The maximum number of access requests to return. The service may return fewer than this value. If unspecified, at most 500 access requests will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Details about the Access request.
@swamp/gcp/cloudcontrolspartner/customers-workloads-violationsv2026.10.13.1customers_workloads_violations.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. |
| apiEndpoint? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a violations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the violations |
fn sync(identifier?: string)
Sync violations state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific violations by name (e.g. one discovered by list) |
fn list(filter?: string, interval_endTime?: string, interval_startTime?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List violations resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Filtering results |
| interval_endTime? | string | Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. |
| interval_startTime? | string | Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. |
| orderBy? | string | Optional. Hint for how to order the results |
| pageSize? | number | Optional. The maximum number of customers row to return. The service may return fewer than this value. If unspecified, at most 10 customers will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Details of resource Violation
04Previous Versions
2026.08.12.2
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.29.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.21.3
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.21.1
- Updated: customers
2026.07.20.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.19.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.18.2
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.07.17.2
- Updated: customers
2026.07.17.1
- Updated: customers, customers_workloads, customers_workloads_violations
2026.06.08.2
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.06.07.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.05.25.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
Modified 4 behaviors
2026.05.24.1
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.05.21.2
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.03.3
- Updated: customers, customers_workloads, customers_workloads_accessapprovalrequests, customers_workloads_violations
05Stats
A
93 / 100
Downloads
17
Archive size
33.1 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
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned
06Platforms
07Labels