@swamp/gcp/networkconnectivity
v2026.04.23.1
Google Cloud networkconnectivity infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
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/networkconnectivity@swamp/gcp/networkconnectivity/automateddnsrecordsv2026.04.23.1automateddnsrecords.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| consumerNetwork? | string | Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: "projects/{projectNumOrId}/global/networks/{networkName}". |
| creationMode? | enum | Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable. |
| currentConfig? | object | Defines the configuration of a DNS record. |
| description? | string | A human-readable description of the record. |
| dnsSuffix? | string | Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: "example.com." |
| hostname? | string | Required. Immutable. The hostname for the DNS record. This value will be prepended to the `dns_suffix` to create the full domain name (FQDN) for the record. For example, if `hostname` is "corp.db" and `dns_suffix` is "example.com.", the resulting record will be "corp.db.example.com.". Should not include a trailing dot. |
| labels? | record | Optional. User-defined labels. |
| name? | string | Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names |
| originalConfig? | object | Defines the configuration of a DNS record. |
| recordType? | enum | Required. Immutable. The identifier of a supported record type. |
| serviceClass? | string | Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `networkconnectivity.serviceclasses.use` IAM permission for the provided service class. |
| automatedDnsRecordId? | string | Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/automatedDnsRecords/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. |
| insertMode? | string | Optional. The insert mode when creating AutomatedDnsRecord. |
| 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 automatedDnsRecords
getGet a automatedDnsRecords
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the automatedDnsRecords |
deleteDelete the automatedDnsRecords
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the automatedDnsRecords |
syncSync automatedDnsRecords state from GCP
Resources
state(infinite)— Represents a DNS record managed by the AutomatedDnsRecord API.
@swamp/gcp/networkconnectivity/global-hubsv2026.04.23.1global_hubs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. An optional description of the hub. |
| exportPsc? | boolean | Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. |
| labels? | record | Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). |
| name? | string | Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` |
| policyMode? | enum | Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET. |
| presetTopology? | enum | Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED. |
| spokeSummary? | object | Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason. |
| hubId? | string | Required. A unique identifier for the hub. |
| requestId? | string | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 to see whether the original |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a hubs
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a hubs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the hubs |
updateUpdate hubs attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the hubs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the hubs |
syncSync hubs state from GCP
accept_spokeaccept spoke
| Argument | Type | Description |
|---|---|---|
| requestId? | any | |
| spokeUri? | any |
accept_spoke_updateaccept spoke update
| Argument | Type | Description |
|---|---|---|
| requestId? | any | |
| spokeEtag? | any | |
| spokeUri? | any |
list_spokeslist spokes
query_statusquery status
reject_spokereject spoke
| Argument | Type | Description |
|---|---|---|
| details? | any | |
| requestId? | any | |
| spokeUri? | any |
reject_spoke_updatereject spoke update
| Argument | Type | Description |
|---|---|---|
| details? | any | |
| requestId? | any | |
| spokeEtag? | any | |
| spokeUri? | any |
Resources
state(infinite)— A Network Connectivity Center hub is a global management resource to which yo...
@swamp/gcp/networkconnectivity/global-hubs-groupsv2026.04.23.1global_hubs_groups.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| autoAccept? | object | The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator. |
| createTime? | string | Output only. The time the group was created. |
| description? | string | Optional. The description of the group. |
| labels? | record | Optional. Labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). |
| name? | string | Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}` |
| routeTable? | string | Output only. The name of the route table that corresponds to this group. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` |
| state? | enum | Output only. The current lifecycle state of this group. |
| uid? | string | Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different unique_id. |
| updateTime? | string | Output only. The time the group was last updated. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a groups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the groups |
updateUpdate groups attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
syncSync groups state from GCP
Resources
state(infinite)— A group represents a subset of spokes attached to a hub.
@swamp/gcp/networkconnectivity/global-hubs-routetablesv2026.04.23.1global_hubs_routetables.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 routeTables
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the routeTables |
syncSync routeTables state from GCP
Resources
state(infinite)— Gets details about a Network Connectivity Center route table.
@swamp/gcp/networkconnectivity/global-hubs-routetables-routesv2026.04.23.1global_hubs_routetables_routes.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 routes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the routes |
syncSync routes state from GCP
Resources
state(infinite)— A route defines a path from VM instances within a spoke to a specific destina...
@swamp/gcp/networkconnectivity/global-policybasedroutesv2026.04.23.1global_policybasedroutes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. An optional description of this resource. Provide this field when you create the resource. |
| filter? | object | Filter matches L4 traffic. |
| interconnectAttachment? | object | InterconnectAttachment that this route applies to. |
| labels? | record | User-defined labels. |
| name? | string | Immutable. Identifier. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}` |
| network? | string | Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. |
| nextHopIlbIp? | string | Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported. |
| nextHopOtherRoutes? | enum | Optional. Other routes that will be referenced to determine the next hop of the packet. |
| priority? | number | Optional. The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. |
| virtualMachine? | object | VM instances that this policy-based route applies to. |
| policyBasedRouteId? | string | Required. Unique id for the policy-based route to create. Provided by the client when the resource is created. The name must comply with https://google.aip.dev/122#resource-id-segments. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or |
| 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 knows to ignore the request if it has already been completed. The server guarantees 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 was recei |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a policyBasedRoutes
getGet a policyBasedRoutes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policyBasedRoutes |
deleteDelete the policyBasedRoutes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policyBasedRoutes |
syncSync policyBasedRoutes state from GCP
Resources
state(infinite)— Policy-based routes route L4 network traffic based on not just destination IP...
@swamp/gcp/networkconnectivity/internalrangesv2026.04.23.1internalranges.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| allocationOptions? | object | Range auto-allocation options, to be optionally used when CIDR block is not explicitly set. |
| description? | string | Optional. A description of this resource. |
| excludeCidrRanges? | array | Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks |
| immutable? | boolean | Optional. Immutable ranges cannot have their fields modified, except for labels and description. |
| ipCidrRange? | string | Optional. The IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly. |
| labels? | record | User-defined labels. |
| migration? | object | Specification for migration with source and target resource names. |
| name? | string | Identifier. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names |
| network? | string | Immutable. The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network} |
| overlaps? | array | Optional. Types of resources that are allowed to overlap with the current internal range. |
| peering? | enum | Optional. The type of peering set for this internal range. |
| prefixLength? | number | Optional. An alternate to ip_cidr_range. Can be set when trying to create an IPv4 reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and both fields must match. In other words, with IPv6 this field only works as a redundant parameter. |
| targetCidrRange? | array | Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] address space (for auto-mode networks, the "10.0.0.0/9" range is used instead of "10.0.0.0/8"). This can be used to target the search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. |
| usage? | enum | Optional. The type of usage set for this InternalRange. |
| internalRangeId? | string | Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. |
| 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 internalRanges
getGet a internalRanges
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the internalRanges |
updateUpdate internalRanges attributes
deleteDelete the internalRanges
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the internalRanges |
syncSync internalRanges state from GCP
Resources
state(infinite)— The internal range resource for IPAM operations within a VPC network. Used to...
@swamp/gcp/networkconnectivity/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
check_consumer_configcheck consumer config
| Argument | Type | Description |
|---|---|---|
| consumerNetwork? | any | |
| endpointProject? | any | |
| requestedIpVersion? | any | |
| serviceClass? | any |
Resources
state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/networkconnectivity/multiclouddatatransferconfigsv2026.04.23.1multiclouddatatransferconfigs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. A description of this resource. |
| labels? | record | Optional. User-defined labels. |
| name? | string | Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. |
| services? | record | Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either `ADDING` or `DELETING`, depending on the actions taken. Sample output: "services": { "big-query": { "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } } |
| multicloudDataTransferConfigId? | string | Required. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name. |
| requestId? | string | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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 was received, and if so, can ignor |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a multicloudDataTransferConfigs
getGet a multicloudDataTransferConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the multicloudDataTransferConfigs |
updateUpdate multicloudDataTransferConfigs attributes
deleteDelete the multicloudDataTransferConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the multicloudDataTransferConfigs |
syncSync multicloudDataTransferConfigs state from GCP
Resources
state(infinite)— The `MulticloudDataTransferConfig` resource. It lists the services that you c...
@swamp/gcp/networkconnectivity/multiclouddatatransferconfigs-destinationsv2026.04.23.1multiclouddatatransferconfigs_destinations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. A description of this resource. |
| endpoints? | array | Required. Unordered list. The list of `DestinationEndpoint` resources configured for the IP prefix. |
| ipPrefix? | string | Required. Immutable. The IP prefix that represents your workload on another CSP. |
| labels? | record | Optional. User-defined labels. |
| name? | string | Identifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. |
| stateTimeline? | object | The timeline of the pending states for a resource. |
| destinationId? | string | Required. The ID to use for the `Destination` resource, which becomes the final component of the `Destination` resource name. |
| requestId? | string | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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 was received, and if so, can ignor |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a destinations
getGet a destinations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the destinations |
updateUpdate destinations attributes
deleteDelete the destinations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the destinations |
syncSync destinations state from GCP
Resources
state(infinite)— The `Destination` resource. It specifies the IP prefix and the associated aut...
@swamp/gcp/networkconnectivity/multiclouddatatransfersupportedservicesv2026.04.23.1multiclouddatatransfersupportedservices.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 multicloudDataTransferSupportedServices
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the multicloudDataTransferSupportedServices |
syncSync multicloudDataTransferSupportedServices state from GCP
Resources
state(infinite)— A service in your project in a region that is eligible for Data Transfer Esse...
@swamp/gcp/networkconnectivity/regionalendpointsv2026.04.23.1regionalendpoints.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessType? | enum | Required. The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access. |
| address? | string | Optional. The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` for an IPv4 or IPv6 address. |
| description? | string | Optional. A description of this resource. |
| labels? | record | User-defined labels. |
| network? | string | Optional. The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}` |
| subnetwork? | string | Optional. The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}` |
| targetGoogleApi? | string | Required. The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: "cloudkms.us-central1.p.rep.googleapis.com". |
| regionalEndpointId? | string | Required. Unique id of the Regional Endpoint to be created. @pattern: ^[-a-z0-9](?:[-a-z0-9]{0,44})[a-z0-9]$ |
| 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 knows to ignore the request if it has already been completed. The server guarantees 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 the original operation with the same request ID was r |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a regionalEndpoints
getGet a regionalEndpoints
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the regionalEndpoints |
deleteDelete the regionalEndpoints
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the regionalEndpoints |
syncSync regionalEndpoints state from GCP
Resources
state(infinite)— The RegionalEndpoint resource.
@swamp/gcp/networkconnectivity/remotetransportprofilesv2026.04.23.1remotetransportprofiles.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 remoteTransportProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the remoteTransportProfiles |
syncSync remoteTransportProfiles state from GCP
Resources
state(infinite)— Message describing RemoteTransportProfile object.
@swamp/gcp/networkconnectivity/serviceclassesv2026.04.23.1serviceclasses.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| createTime? | string | Output only. Time when the ServiceClass was created. |
| description? | string | A description of this resource. |
| etag? | string | Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| labels? | record | User-defined labels. |
| name? | string | Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names |
| serviceClass? | string | Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies. |
| updateTime? | string | Output only. Time when the ServiceClass was updated. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a serviceClasses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceClasses |
updateUpdate serviceClasses attributes
deleteDelete the serviceClasses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceClasses |
syncSync serviceClasses state from GCP
Resources
state(infinite)— The ServiceClass resource.
@swamp/gcp/networkconnectivity/serviceconnectionmapsv2026.04.23.1serviceconnectionmaps.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| consumerPscConfigs? | array | The PSC configurations on consumer side. |
| description? | string | A description of this resource. |
| labels? | record | User-defined labels. |
| name? | string | Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names |
| producerPscConfigs? | array | The PSC configurations on producer side. |
| serviceClass? | string | The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnectivity.serviceClasses.use IAM permission for the service class. |
| token? | string | The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network. |
| 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 |
| serviceConnectionMapId? | string | Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a serviceConnectionMaps
getGet a serviceConnectionMaps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionMaps |
updateUpdate serviceConnectionMaps attributes
deleteDelete the serviceConnectionMaps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionMaps |
syncSync serviceConnectionMaps state from GCP
Resources
state(infinite)— The ServiceConnectionMap resource.
@swamp/gcp/networkconnectivity/serviceconnectionpoliciesv2026.04.23.1serviceconnectionpolicies.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| autoCreatedSubnetInfo? | object | Information for the automatically created subnetwork and its associated IR. |
| description? | string | A description of this resource. |
| labels? | record | User-defined labels. |
| name? | string | Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names |
| network? | string | The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. |
| pscConfig? | object | Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. |
| serviceClass? | string | The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. |
| autoSubnetworkConfig_allocRangeSpace? | string | Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. |
| autoSubnetworkConfig_ipStack? | string | Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used. |
| autoSubnetworkConfig_prefixLength? | string | Optional. The desired prefix length for the subnet's IP address range. E.g., 24 for a /24. The actual range is allocated from available space. If not specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. |
| 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 |
| serviceConnectionPolicyId? | string | Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. |
| subnetworkMode? | string | Optional. If this field is not set, USER_PROVIDED is the inferred value to use. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a serviceConnectionPolicies
getGet a serviceConnectionPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionPolicies |
updateUpdate serviceConnectionPolicies attributes
deleteDelete the serviceConnectionPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionPolicies |
syncSync serviceConnectionPolicies state from GCP
Resources
state(infinite)— The ServiceConnectionPolicy resource.
@swamp/gcp/networkconnectivity/serviceconnectiontokensv2026.04.23.1serviceconnectiontokens.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | A description of this resource. |
| labels? | record | User-defined labels. |
| name? | string | Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names |
| network? | string | The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}. |
| 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 |
| serviceConnectionTokenId? | string | Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a serviceConnectionTokens
getGet a serviceConnectionTokens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionTokens |
deleteDelete the serviceConnectionTokens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the serviceConnectionTokens |
syncSync serviceConnectionTokens state from GCP
Resources
state(infinite)— The ServiceConnectionToken resource.
@swamp/gcp/networkconnectivity/spokesv2026.04.23.1spokes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. An optional description of the spoke. |
| fieldPathsPendingUpdate? | array | Optional. The list of fields waiting for hub administrator's approval. |
| group? | string | Optional. The name of the group that this spoke is associated with. |
| hub? | string | Immutable. The name of the hub that this spoke is attached to. |
| labels? | record | Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). |
| linkedInterconnectAttachments? | object | A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. |
| linkedProducerVpcNetwork? | object | |
| linkedRouterApplianceInstances? | object | A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke. |
| linkedVpcNetwork? | object | An existing VPC network. |
| linkedVpnTunnels? | object | A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes. |
| name? | string | Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` |
| requestId? | string | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 to see whether the original |
| spokeId? | string | Required. Unique id for the spoke to create. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a spokes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a spokes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the spokes |
updateUpdate spokes attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the spokes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the spokes |
syncSync spokes state from GCP
Resources
state(infinite)— A Network Connectivity Center spoke represents one or more network connectivi...
@swamp/gcp/networkconnectivity/transportsv2026.04.23.1transports.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| advertisedRoutes? | array | Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported. |
| bandwidth? | enum | Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided. |
| description? | string | Optional. Description of the Transport. |
| labels? | record | Optional. Labels as key value pairs. |
| name? | string | Identifier. Name of the resource. |
| network? | string | Optional. Immutable. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed. |
| providedActivationKey? | string | Optional. Immutable. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state. |
| remoteAccountId? | string | Optional. Immutable. The user supplied account id for the CSP associated with the remote profile. |
| remoteProfile? | string | Optional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to. |
| stackType? | enum | Optional. IP version stack for the established connectivity. |
| 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 |
| transportId? | string | Required. Id of the requesting object |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a transports
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a transports
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the transports |
updateUpdate transports attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the transports
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the transports |
syncSync transports state from GCP
Resources
state(infinite)— Message describing Transport object.
2026.04.04.193.0 KBApr 4, 2026
Google Cloud networkconnectivity infrastructure models
Release Notes
- Updated: serviceconnectionmaps
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
2026.04.03.392.8 KBApr 3, 2026
Google Cloud networkconnectivity infrastructure models
Release Notes
- Updated: locations, automateddnsrecords, global_hubs, global_hubs_groups, global_hubs_routetables, global_hubs_routetables_routes, global_policybasedroutes, internalranges, multiclouddatatransferconfigs, multiclouddatatransferconfigs_destinations, multiclouddatatransfersupportedservices, regionalendpoints, remotetransportprofiles, serviceclasses, serviceconnectionmaps, serviceconnectionpolicies, serviceconnectiontokens, spokes, transports
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
2026.04.03.187.7 KBApr 3, 2026
Google Cloud networkconnectivity infrastructure models
Release Notes
- Updated: locations, automateddnsrecords, global_hubs, global_hubs_groups, global_hubs_routetables, global_hubs_routetables_routes, global_policybasedroutes, internalranges, multiclouddatatransferconfigs, multiclouddatatransferconfigs_destinations, multiclouddatatransfersupportedservices, regionalendpoints, remotetransportprofiles, serviceclasses, serviceconnectionmaps, serviceconnectionpolicies, serviceconnectiontokens, spokes, transports
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
2026.04.02.286.3 KBApr 2, 2026
Google Cloud networkconnectivity infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
2026.03.31.182.3 KBMar 31, 2026
Google Cloud networkconnectivity infrastructure models
Release Notes
- Added: remotetransportprofiles, transports
Changelog
Models
+remotetransportprofiles
+transports
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure
2026.03.27.177.3 KBMar 27, 2026
Google Cloud networkconnectivity infrastructure models
Release Notes
- Added: locations, automateddnsrecords, global_hubs, global_hubs_groups, global_hubs_routetables, global_hubs_routetables_routes, global_policybasedroutes, internalranges, multiclouddatatransferconfigs, multiclouddatatransferconfigs_destinations, multiclouddatatransfersupportedservices, regionalendpoints, serviceclasses, serviceconnectionmaps, serviceconnectionpolicies, serviceconnectiontokens, spokes
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudnetworkconnectivitycloudinfrastructure