Skip to main content

Gcp/apigeeregistry

@swamp/gcp/apigeeregistryv2026.10.13.1· 20d agoBEHAVIORS
01README

Google Cloud apigeeregistry infrastructure models

02Release Notes
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
03Behaviors11
@swamp/gcp/apigeeregistry/apisv2026.10.13.1apis.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
availability?stringA user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
description?stringA detailed description.
displayName?stringHuman-meaningful name.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys
name?stringResource name.
recommendedDeployment?stringThe recommended deployment of the API. Format: `projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}`
recommendedVersion?stringThe recommended version of the API. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
apiId?stringRequired. The ID to use for the API, which will become the final component of the API's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a apis
fn get(identifier: string)
Get a apis
ArgumentTypeDescription
identifierstringThe name of the apis
fn update(identifier?: string)
Update apis attributes
ArgumentTypeDescription
identifier?stringTarget a specific apis by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the apis
ArgumentTypeDescription
identifierstringThe name of the apis
fn sync(identifier?: string)
Sync apis state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific apis by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List apis resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of APIs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— A top-level description of an API. Produced by producers and are commitments ...
@swamp/gcp/apigeeregistry/apis-artifactsv2026.10.13.1apis_artifacts.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
name?stringResource name.
artifactId?stringRequired. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a artifacts
fn get(identifier: string)
Get a artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn delete(identifier: string)
Delete the artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn sync(identifier?: string)
Sync artifacts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific artifacts by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List artifacts resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn get_iam_policy()
get iam policy
fn replace_artifact(annotations?: any, contents?: any, createTime?: any, hash?: any, labels?: any, mimeType?: any, name?: any, sizeBytes?: any, updateTime?: any)
replace artifact
ArgumentTypeDescription
annotations?any
contents?any
createTime?any
hash?any
labels?any
mimeType?any
name?any
sizeBytes?any
updateTime?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Artifacts of resources. Artifacts are unique (single-value) per resource and ...
@swamp/gcp/apigeeregistry/apis-deploymentsv2026.10.13.1apis_deployments.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
accessGuidance?stringText briefly describing how to access the endpoint. Changes to this value will not affect the revision.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
apiSpecRevision?stringThe full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}`
description?stringA detailed description.
displayName?stringHuman-meaningful name.
endpointUri?stringThe address where the deployment is serving. Changes to this value will update the revision.
externalChannelUri?stringThe address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
intendedAudience?stringText briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
name?stringResource name.
apiDeploymentId?stringRequired. The ID to use for the deployment, which will become the final component of the deployment's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a deployments
fn get(identifier: string)
Get a deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
fn update(identifier?: string)
Update deployments attributes
ArgumentTypeDescription
identifier?stringTarget a specific deployments by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the deployments
ArgumentTypeDescription
identifierstringThe name of the deployments
fn sync(identifier?: string)
Sync deployments state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific deployments by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List deployments resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn list_revisions()
list revisions
fn rollback(revisionId?: any)
rollback
ArgumentTypeDescription
revisionId?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn tag_revision(tag?: any)
tag revision
ArgumentTypeDescription
tag?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Describes a service running at particular address that provides a particular ...
@swamp/gcp/apigeeregistry/apis-deployments-artifactsv2026.10.13.1apis_deployments_artifacts.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
name?stringResource name.
artifactId?stringRequired. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a artifacts
fn get(identifier: string)
Get a artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn delete(identifier: string)
Delete the artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn sync(identifier?: string)
Sync artifacts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific artifacts by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List artifacts resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn replace_artifact(annotations?: any, contents?: any, createTime?: any, hash?: any, labels?: any, mimeType?: any, name?: any, sizeBytes?: any, updateTime?: any)
replace artifact
ArgumentTypeDescription
annotations?any
contents?any
createTime?any
hash?any
labels?any
mimeType?any
name?any
sizeBytes?any
updateTime?any

Resources

state(infinite)— Artifacts of resources. Artifacts are unique (single-value) per resource and ...
@swamp/gcp/apigeeregistry/apis-versionsv2026.10.13.1apis_versions.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
description?stringA detailed description.
displayName?stringHuman-meaningful name.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
name?stringResource name.
primarySpec?stringThe primary spec for this version. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
state?stringA user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
apiVersionId?stringRequired. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a versions
fn get(identifier: string)
Get a versions
ArgumentTypeDescription
identifierstringThe name of the versions
fn update(identifier?: string)
Update versions attributes
ArgumentTypeDescription
identifier?stringTarget a specific versions by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the versions
ArgumentTypeDescription
identifierstringThe name of the versions
fn sync(identifier?: string)
Sync versions state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific versions by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List versions resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Describes a particular version of an API. ApiVersions are what consumers actu...
@swamp/gcp/apigeeregistry/apis-versions-artifactsv2026.10.13.1apis_versions_artifacts.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
name?stringResource name.
artifactId?stringRequired. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a artifacts
fn get(identifier: string)
Get a artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn delete(identifier: string)
Delete the artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn sync(identifier?: string)
Sync artifacts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific artifacts by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List artifacts resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn get_iam_policy()
get iam policy
fn replace_artifact(annotations?: any, contents?: any, createTime?: any, hash?: any, labels?: any, mimeType?: any, name?: any, sizeBytes?: any, updateTime?: any)
replace artifact
ArgumentTypeDescription
annotations?any
contents?any
createTime?any
hash?any
labels?any
mimeType?any
name?any
sizeBytes?any
updateTime?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Artifacts of resources. Artifacts are unique (single-value) per resource and ...
@swamp/gcp/apigeeregistry/apis-versions-specsv2026.10.13.1apis_versions_specs.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.
description?stringA detailed description.
filename?stringA possibly-hierarchical name used to refer to the spec from other specs.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA style (format) descriptor for this spec that is specified as a [Media Type](https://en.wikipedia.org/wiki/Media_type). Possible values include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `application/vnd.apigee.graphql`, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compr
name?stringResource name.
sourceUri?stringThe original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
apiSpecId?stringRequired. The ID to use for the spec, which will become the final component of the spec's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a specs
fn get(identifier: string)
Get a specs
ArgumentTypeDescription
identifierstringThe name of the specs
fn update(identifier?: string)
Update specs attributes
ArgumentTypeDescription
identifier?stringTarget a specific specs by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the specs
ArgumentTypeDescription
identifierstringThe name of the specs
fn sync(identifier?: string)
Sync specs state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific specs by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List specs resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn get_iam_policy()
get iam policy
fn list_revisions()
list revisions
fn rollback(revisionId?: any)
rollback
ArgumentTypeDescription
revisionId?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn tag_revision(tag?: any)
tag revision
ArgumentTypeDescription
tag?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Describes a version of an API in a structured way. ApiSpecs provide formal de...
@swamp/gcp/apigeeregistry/apis-versions-specs-artifactsv2026.10.13.1apis_versions_specs_artifacts.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
name?stringResource name.
artifactId?stringRequired. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a artifacts
fn get(identifier: string)
Get a artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn delete(identifier: string)
Delete the artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn sync(identifier?: string)
Sync artifacts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific artifacts by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List artifacts resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn get_iam_policy()
get iam policy
fn replace_artifact(annotations?: any, contents?: any, createTime?: any, hash?: any, labels?: any, mimeType?: any, name?: any, sizeBytes?: any, updateTime?: any)
replace artifact
ArgumentTypeDescription
annotations?any
contents?any
createTime?any
hash?any
labels?any
mimeType?any
name?any
sizeBytes?any
updateTime?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Artifacts of resources. Artifacts are unique (single-value) per resource and ...
@swamp/gcp/apigeeregistry/artifactsv2026.10.13.1artifacts.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
annotations?recordAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
contents?stringInput only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
labels?recordLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys a
mimeType?stringA content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
name?stringResource name.
artifactId?stringRequired. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a artifacts
fn get(identifier: string)
Get a artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn delete(identifier: string)
Delete the artifacts
ArgumentTypeDescription
identifierstringThe name of the artifacts
fn sync(identifier?: string)
Sync artifacts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific artifacts by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List artifacts resources
ArgumentTypeDescription
filter?stringAn expression that can be used to filter the list. Filters use the Common Expression Language and can refer to all message fields except contents.
orderBy?stringA comma-separated list of fields, e.g. "foo,bar" Fields can be sorted in descending order using the "desc" identifier, e.g. "foo desc,bar"
pageSize?numberThe maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_contents()
get contents
fn get_iam_policy()
get iam policy
fn replace_artifact(annotations?: any, contents?: any, createTime?: any, hash?: any, labels?: any, mimeType?: any, name?: any, sizeBytes?: any, updateTime?: any)
replace artifact
ArgumentTypeDescription
annotations?any
contents?any
createTime?any
hash?any
labels?any
mimeType?any
name?any
sizeBytes?any
updateTime?any
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Artifacts of resources. Artifacts are unique (single-value) per resource and ...
@swamp/gcp/apigeeregistry/instancesv2026.10.13.1instances.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
config?objectRequired. Config of the Instance.
name?stringFormat: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.
instanceId?stringRequired. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a instances
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn delete(identifier: string)
Delete the instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn sync(identifier?: string)
Sync instances state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific instances by name (e.g. one discovered by list)
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any)
set iam policy
ArgumentTypeDescription
policy?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— An Instance represents the instance resources of the Registry. Currently, onl...
@swamp/gcp/apigeeregistry/locationsv2026.10.13.1locations.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.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
namestringThe resource that owns the locations collection, if applicable.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync(identifier?: string)
Sync locations state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific locations by name (e.g. one discovered by list)
fn list(filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
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.
04Previous Versions19
2026.08.12.2
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.29.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.21.3
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.21.1
  • Updated: instances
2026.07.20.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.19.2
  • Updated: locations
2026.07.19.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.18.2
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.17.2
  • Updated: apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.07.17.1
  • Updated: apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.06.08.2
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.06.07.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.05.25.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances

Modified 10 behaviors

2026.05.24.1
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.05.21.2
  • Updated: locations, apis, apis_artifacts, apis_deployments, apis_deployments_artifacts, apis_versions, apis_versions_artifacts, apis_versions_specs, apis_versions_specs_artifacts, artifacts, instances
2026.05.21.1

Modified 9 behaviors

2026.05.19.2
2026.05.19.1
2026.05.18.1
05Stats
A
93 / 100
Downloads
25
Archive size
133.9 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