@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 SwampHow well-documented and verifiable this extension is.
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
| Argument | Type | Description |
|---|---|---|
| attributes? | object | Consumer provided attributes. |
| description? | string | Optional. User-defined description of an Application. Can have a maximum length of 2048 characters. |
| displayName? | string | Optional. User-defined name for the Application. Can have a maximum length of 63 characters. |
| name? | string | Identifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"` |
| scope? | object | Scope of an application. |
| applicationId? | string | Required. 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? | string | Optional. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a applications
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a applications
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the applications |
updateUpdate applications attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the applications
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| attributes? | object | Consumer provided attributes. |
| description? | string | Optional. User-defined description of a Service. Can have a maximum length of 2048 characters. |
| discoveredService? | string | Required. Immutable. The resource name of the original discovered service. |
| displayName? | string | Optional. User-defined name for the Service. Can have a maximum length of 63 characters. |
| name? | string | Identifier. The resource name of a Service. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"` |
| serviceProperties? | object | |
| serviceReference? | object | Reference to an underlying networking resource that can comprise a Service. |
| requestId? | string | Optional. 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? | string | Required. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a services
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
updateUpdate services attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| attributes? | object | Consumer provided attributes. |
| description? | string | Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters. |
| discoveredWorkload? | string | Required. Immutable. The resource name of the original discovered workload. |
| displayName? | string | Optional. User-defined name for the Workload. Can have a maximum length of 63 characters. |
| name? | string | Identifier. The resource name of the Workload. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"` |
| workloadProperties? | object | Properties of an underlying compute resource represented by the Workload. |
| workloadReference? | object | Reference of an underlying compute resource represented by the Workload. |
| requestId? | string | Optional. 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? | string | Required. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a workloads
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a workloads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workloads |
updateUpdate workloads attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the workloads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a discoveredServices
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a discoveredWorkloads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a extendedMetadataSchemas
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| name? | string | Identifier. The resource name of a ServiceProjectAttachment. Format: `"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."` |
| serviceProject? | string | Required. 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? | string | Optional. 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? | string | Required. The service project attachment identifier must contain the project id of the service project specified in the service_project_attachment.service_project field. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a serviceProjectAttachments
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a serviceProjectAttachments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceProjectAttachments |
deleteDelete the serviceProjectAttachments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceProjectAttachments |
syncSync serviceProjectAttachments state from GCP
Resources
state(infinite)— ServiceProjectAttachment represents an attachment from a service project to a...
2026.04.03.335.9 KBApr 3, 2026
Google Cloud apphub infrastructure models
Release Notes
- Updated: locations, applications, applications_services, applications_workloads, discoveredservices, discoveredworkloads, extendedmetadataschemas, serviceprojectattachments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudapphubcloudinfrastructure
2026.04.03.134.7 KBApr 3, 2026
Google Cloud apphub infrastructure models
Release Notes
- Updated: locations, applications, applications_services, applications_workloads, discoveredservices, discoveredworkloads, extendedmetadataschemas, serviceprojectattachments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudapphubcloudinfrastructure
2026.04.02.234.6 KBApr 2, 2026
Google Cloud apphub infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudapphubcloudinfrastructure
2026.03.27.134.1 KBMar 27, 2026
Google Cloud apphub infrastructure models
Release Notes
- Added: locations, applications, applications_services, applications_workloads, discoveredservices, discoveredworkloads, extendedmetadataschemas, serviceprojectattachments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudapphubcloudinfrastructure