Skip to main content

@swamp/gcp/apphub

v2026.04.23.1

Google Cloud apphub infrastructure models

Repository

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

Labels

gcpgoogle-cloudapphubcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/apphub

@swamp/gcp/apphub/applicationsv2026.04.23.1applications.ts

Global Arguments

ArgumentTypeDescription
attributes?objectConsumer provided attributes.
description?stringOptional. User-defined description of an Application. Can have a maximum length of 2048 characters.
displayName?stringOptional. User-defined name for the Application. Can have a maximum length of 63 characters.
name?stringIdentifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"`
scope?objectScope of an application.
applicationId?stringRequired. The Application identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.
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')
createCreate a applications
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a applications
ArgumentTypeDescription
identifierstringThe name of the applications
updateUpdate applications attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the applications
ArgumentTypeDescription
identifierstringThe name of the applications
syncSync applications state from GCP

Resources

state(infinite)— Application defines the governance boundary for App Hub entities that perform...
@swamp/gcp/apphub/applications-servicesv2026.04.23.1applications_services.ts

Global Arguments

ArgumentTypeDescription
attributes?objectConsumer provided attributes.
description?stringOptional. User-defined description of a Service. Can have a maximum length of 2048 characters.
discoveredService?stringRequired. Immutable. The resource name of the original discovered service.
displayName?stringOptional. User-defined name for the Service. Can have a maximum length of 63 characters.
name?stringIdentifier. The resource name of a Service. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"`
serviceProperties?object
serviceReference?objectReference to an underlying networking resource that can comprise a Service.
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
serviceId?stringRequired. The Service identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a services
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a services
ArgumentTypeDescription
identifierstringThe name of the services
updateUpdate services attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the services
ArgumentTypeDescription
identifierstringThe name of the services
syncSync services state from GCP

Resources

state(infinite)— Service is an App Hub data model that contains a discovered service, which re...
@swamp/gcp/apphub/applications-workloadsv2026.04.23.1applications_workloads.ts

Global Arguments

ArgumentTypeDescription
attributes?objectConsumer provided attributes.
description?stringOptional. User-defined description of a Workload. Can have a maximum length of 2048 characters.
discoveredWorkload?stringRequired. Immutable. The resource name of the original discovered workload.
displayName?stringOptional. User-defined name for the Workload. Can have a maximum length of 63 characters.
name?stringIdentifier. The resource name of the Workload. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"`
workloadProperties?objectProperties of an underlying compute resource represented by the Workload.
workloadReference?objectReference of an underlying compute resource represented by the Workload.
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
workloadId?stringRequired. The Workload identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a workloads
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a workloads
ArgumentTypeDescription
identifierstringThe name of the workloads
updateUpdate workloads attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the workloads
ArgumentTypeDescription
identifierstringThe name of the workloads
syncSync workloads state from GCP

Resources

state(infinite)— Workload is an App Hub data model that contains a discovered workload, which ...
@swamp/gcp/apphub/discoveredservicesv2026.04.23.1discoveredservices.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a discoveredServices
ArgumentTypeDescription
identifierstringThe name of the discoveredServices
syncSync discoveredServices state from GCP
lookuplookup

Resources

state(infinite)— DiscoveredService is a network or API interface that exposes some functionali...
@swamp/gcp/apphub/discoveredworkloadsv2026.04.23.1discoveredworkloads.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a discoveredWorkloads
ArgumentTypeDescription
identifierstringThe name of the discoveredWorkloads
syncSync discoveredWorkloads state from GCP
lookuplookup

Resources

state(infinite)— DiscoveredWorkload is a binary deployment (such as managed instance groups (M...
@swamp/gcp/apphub/extendedmetadataschemasv2026.04.23.1extendedmetadataschemas.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a extendedMetadataSchemas
ArgumentTypeDescription
identifierstringThe name of the extendedMetadataSchemas
syncSync extendedMetadataSchemas state from GCP

Resources

state(infinite)— ExtendedMetadataSchema represents a schema for extended metadata of a service...
@swamp/gcp/apphub/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP
detach_service_project_attachmentdetach service project attachment
get_boundaryget boundary
lookup_service_project_attachmentlookup service project attachment
update_boundaryupdate boundary
ArgumentTypeDescription
createTime?any
crmNode?any
name?any
type?any
updateTime?any

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/apphub/serviceprojectattachmentsv2026.04.23.1serviceprojectattachments.ts

Global Arguments

ArgumentTypeDescription
name?stringIdentifier. The resource name of a ServiceProjectAttachment. Format: `"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."`
serviceProject?stringRequired. Immutable. Service project name in the format: `"projects/abc"` or `"projects/123"`. As input, project name with either project id or number are accepted. As output, this field will contain project number.
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
serviceProjectAttachmentId?stringRequired. The service project attachment identifier must contain the project id of the service project specified in the service_project_attachment.service_project field.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a serviceProjectAttachments
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a serviceProjectAttachments
ArgumentTypeDescription
identifierstringThe name of the serviceProjectAttachments
deleteDelete the serviceProjectAttachments
ArgumentTypeDescription
identifierstringThe name of the serviceProjectAttachments
syncSync serviceProjectAttachments state from GCP

Resources

state(infinite)— ServiceProjectAttachment represents an attachment from a service project to a...