Skip to main content

Gcp/workloadmanager

@swamp/gcp/workloadmanagerv2026.06.12.1· 3d agoMODELS
01README

Google Cloud workloadmanager infrastructure models

02Release Notes
  • Updated: deployments, deployments_actuations
03Models10
@swamp/gcp/workloadmanager/deploymentsv2026.06.12.1deployments.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
description?stringDescription of the deployment.
name?stringThe name of the deployment resource. The format is 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}'.
sapSystemS4Config?objectMessage for SAP system workload.
serviceAccount?stringUser-specified Service Account (SA) credentials to be used for Cloud Build. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` The default Cloud Build SA will be used initially if this field is not set during deployment creation.
sqlServerWorkload?objectMessage for MS SQL workload.
terraformVariables?recordOptional. terraform_variables represents all the Terraform variables for the deployment workload. The key is the name of the Terraform variable, and the value is the TerraformVariable. For example: { "project_id": { "input_value": { "string_value": "my-project-id" } }, "zone": { "input_value": { "string_value": "us-central1-a" } } }
workerPool?stringOptional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.
workloadType?enumOptional. Workload type of the deployment.
deploymentId?stringRequired. ID of the deployment.
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a deployments
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
fn delete(identifier: string)
Delete the deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
fn sync()
Sync deployments state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List deployments resources
ArgumentTypeDescription
filter?stringOptional. Filter resource following https://google.aip.dev/160.
orderBy?stringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
pageSize?numberOptional. Requested page size. Server may return fewer items than requested. The maximum value is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— The Deployment object represents user intent for deploying a specific type of...
@swamp/gcp/workloadmanager/deployments-actuationsv2026.06.12.1deployments_actuations.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
actuationOutput?objectMessage for output of actuation.
name?stringThe name of the actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}.
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a actuations
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a actuations
ArgumentTypeDescription
identifierstringThe name of the actuations
fn delete(identifier: string)
Delete the actuations
ArgumentTypeDescription
identifierstringThe name of the actuations
fn sync()
Sync actuations state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List actuations resources
ArgumentTypeDescription
filter?stringOptional. Filtering results.
orderBy?stringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
pageSize?numberOptional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— The Actuation object represents the bootstrap state and output results of dep...
@swamp/gcp/workloadmanager/discoveredprofilesv2026.06.08.1discoveredprofiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a discoveredprofiles
ArgumentTypeDescription
identifierstringThe name of the discoveredprofiles
fn sync()
Sync discoveredprofiles state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List discoveredprofiles resources
ArgumentTypeDescription
filter?stringOptional. Filtering results
pageSize?numberOptional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Workload resource.
@swamp/gcp/workloadmanager/discoveredprofiles-healthv2026.06.08.1discoveredprofiles_health.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
fn get(identifier: string)
Get a health
ArgumentTypeDescription
identifierstringThe name of the health
fn sync()
Sync health state from GCP

Resources

state(infinite)— WorkloadProfileHealth contains the detailed health check of workload.
@swamp/gcp/workloadmanager/evaluationsv2026.06.08.1evaluations.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
bigQueryDestination?objectBigQuery destination for evaluation results.
customRulesBucket?stringThe Cloud Storage bucket name for custom rules.
description?stringDescription of the Evaluation.
evaluationType?enumEvaluation type.
kmsKey?stringOptional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*. The key will be used for CMEK encryption of the evaluation resource.
labels?recordLabels as key value pairs.
name?stringName of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
resourceFilter?objectResource filter for an evaluation defining the scope of resources to be evaluated.
resourceStatus?objectThe lifecycle status of an Evaluation resource.
ruleNames?arrayThe names of the rules used for this evaluation.
schedule?stringCrontab format schedule for scheduled evaluation, currently only supports the following fixed schedules: * `0 */1 * * *` # Hourly * `0 */6 * * *` # Every 6 hours * `0 */12 * * *` # Every 12 hours * `0 0 */1 * *` # Daily * `0 0 */7 * *` # Weekly * `0 0 */14 * *` # Every 14 days * `0 0 1 */1 *` # Monthly
evaluationId?stringRequired. Id of the requesting object.
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a evaluations
fn get(identifier: string)
Get a evaluations
ArgumentTypeDescription
identifierstringThe name of the evaluations
fn update()
Update evaluations attributes
fn delete(identifier: string)
Delete the evaluations
ArgumentTypeDescription
identifierstringThe name of the evaluations
fn sync()
Sync evaluations state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List evaluations resources
ArgumentTypeDescription
filter?stringFilter to be applied when listing the evaluation results.
orderBy?stringHint for how to order the results.
pageSize?numberRequested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Represents a Workload Manager Evaluation configuration. An Evaluation defines...
@swamp/gcp/workloadmanager/evaluations-executionsv2026.06.08.1evaluations_executions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a executions
ArgumentTypeDescription
identifierstringThe name of the executions
fn delete(identifier: string)
Delete the executions
ArgumentTypeDescription
identifierstringThe name of the executions
fn sync()
Sync executions state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List executions resources
ArgumentTypeDescription
filter?stringFiltering results.
orderBy?stringField to sort by. See https://google.aip.dev/132#ordering for more details.
pageSize?numberRequested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn run(execution?: any, executionId?: any, requestId?: any)
run
ArgumentTypeDescription
execution?any
executionId?any
requestId?any

Resources

state(infinite)— Execution that represents a single run of an Evaluation.
@swamp/gcp/workloadmanager/evaluations-executions-resultsv2026.06.08.1evaluations_executions_results.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a results
ArgumentTypeDescription
identifierstringThe name of the results
fn sync()
Sync results state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List results resources
ArgumentTypeDescription
filter?stringFiltering results.
pageSize?numberRequested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— The result of an execution.
@swamp/gcp/workloadmanager/evaluations-executions-scannedresourcesv2026.06.08.1evaluations_executions_scannedresources.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a scannedResources
ArgumentTypeDescription
identifierstringThe name of the scannedResources
fn sync()
Sync scannedResources state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, rule?: string, maxPages?: number)
List scannedResources resources
ArgumentTypeDescription
filter?stringFiltering results.
orderBy?stringField to sort by. See https://google.aip.dev/132#ordering for more details.
pageSize?numberRequested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
rule?stringRule name.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A scanned resource.
@swamp/gcp/workloadmanager/locationsv2026.06.08.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
pageSize?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/workloadmanager/rulesv2026.06.08.1rules.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a rules
ArgumentTypeDescription
identifierstringThe name of the rules
fn sync()
Sync rules state from GCP
fn list(customRulesBucket?: string, evaluationType?: string, filter?: string, pageSize?: number, maxPages?: number)
List rules resources
ArgumentTypeDescription
customRulesBucket?stringThe Cloud Storage bucket name for custom rules.
evaluationType?stringOptional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
filter?stringFilter based on primary_category, secondary_category.
pageSize?numberRequested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A rule to be evaluated.
04Previous Versions17
2026.06.08.2Jun 8, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.06.07.1Jun 7, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.05.27.1May 27, 2026
  • Updated: discoveredprofiles_health
2026.05.26.1May 26, 2026
  • Updated: locations
2026.05.25.1May 25, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules

Modified 9 models

2026.05.24.1May 24, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.05.21.2May 21, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.05.21.1May 21, 2026
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.1May 18, 2026
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
  • Updated: discoveredprofiles, discoveredprofiles_health
2026.04.03.3Apr 3, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.04.03.1Apr 3, 2026
  • Updated: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
  • Added: locations, deployments, deployments_actuations, discoveredprofiles, discoveredprofiles_health, evaluations, evaluations_executions, evaluations_executions_results, evaluations_executions_scannedresources, rules
05Stats
A
100 / 100
Downloads
0
Archive size
86.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