Skip to main content

@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 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/networkconnectivity

@swamp/gcp/networkconnectivity/automateddnsrecordsv2026.04.23.1automateddnsrecords.ts

Global Arguments

ArgumentTypeDescription
consumerNetwork?stringRequired. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: "projects/{projectNumOrId}/global/networks/{networkName}".
creationMode?enumRequired. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.
currentConfig?objectDefines the configuration of a DNS record.
description?stringA human-readable description of the record.
dnsSuffix?stringRequired. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: "example.com."
hostname?stringRequired. 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?recordOptional. User-defined labels.
name?stringImmutable. 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?objectDefines the configuration of a DNS record.
recordType?enumRequired. Immutable. The identifier of a supported record type.
serviceClass?stringRequired. 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?stringOptional. 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?stringOptional. The insert mode when creating AutomatedDnsRecord.
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 automatedDnsRecords
getGet a automatedDnsRecords
ArgumentTypeDescription
identifierstringThe name of the automatedDnsRecords
deleteDelete the automatedDnsRecords
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
description?stringOptional. An optional description of the hub.
exportPsc?booleanOptional. 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?recordOptional 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?stringImmutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
policyMode?enumOptional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET.
presetTopology?enumOptional. 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?objectSummarizes 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?stringRequired. A unique identifier for the hub.
requestId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a hubs
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a hubs
ArgumentTypeDescription
identifierstringThe name of the hubs
updateUpdate hubs attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the hubs
ArgumentTypeDescription
identifierstringThe name of the hubs
syncSync hubs state from GCP
accept_spokeaccept spoke
ArgumentTypeDescription
requestId?any
spokeUri?any
accept_spoke_updateaccept spoke update
ArgumentTypeDescription
requestId?any
spokeEtag?any
spokeUri?any
list_spokeslist spokes
query_statusquery status
reject_spokereject spoke
ArgumentTypeDescription
details?any
requestId?any
spokeUri?any
reject_spoke_updatereject spoke update
ArgumentTypeDescription
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

ArgumentTypeDescription
autoAccept?objectThe 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?stringOutput only. The time the group was created.
description?stringOptional. The description of the group.
labels?recordOptional. 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?stringImmutable. 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?stringOutput 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?enumOutput only. The current lifecycle state of this group.
uid?stringOutput 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?stringOutput only. The time the group was last updated.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a groups
ArgumentTypeDescription
identifierstringThe name of the groups
updateUpdate groups attributes
ArgumentTypeDescription
waitForReady?booleanWait 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

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 routeTables
ArgumentTypeDescription
identifierstringThe 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

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 routes
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
description?stringOptional. An optional description of this resource. Provide this field when you create the resource.
filter?objectFilter matches L4 traffic.
interconnectAttachment?objectInterconnectAttachment that this route applies to.
labels?recordUser-defined labels.
name?stringImmutable. Identifier. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
network?stringRequired. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
nextHopIlbIp?stringOptional. 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?enumOptional. Other routes that will be referenced to determine the next hop of the packet.
priority?numberOptional. 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?objectVM instances that this policy-based route applies to.
policyBasedRouteId?stringRequired. 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?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a policyBasedRoutes
getGet a policyBasedRoutes
ArgumentTypeDescription
identifierstringThe name of the policyBasedRoutes
deleteDelete the policyBasedRoutes
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
allocationOptions?objectRange auto-allocation options, to be optionally used when CIDR block is not explicitly set.
description?stringOptional. A description of this resource.
excludeCidrRanges?arrayOptional. 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?booleanOptional. Immutable ranges cannot have their fields modified, except for labels and description.
ipCidrRange?stringOptional. 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?recordUser-defined labels.
migration?objectSpecification for migration with source and target resource names.
name?stringIdentifier. 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?stringImmutable. 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?arrayOptional. Types of resources that are allowed to overlap with the current internal range.
peering?enumOptional. The type of peering set for this internal range.
prefixLength?numberOptional. 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?arrayOptional. 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?enumOptional. The type of usage set for this InternalRange.
internalRangeId?stringOptional. 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?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 internalRanges
getGet a internalRanges
ArgumentTypeDescription
identifierstringThe name of the internalRanges
updateUpdate internalRanges attributes
deleteDelete the internalRanges
ArgumentTypeDescription
identifierstringThe 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

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
check_consumer_configcheck consumer config
ArgumentTypeDescription
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

ArgumentTypeDescription
description?stringOptional. A description of this resource.
labels?recordOptional. User-defined labels.
name?stringIdentifier. The name of the `MulticloudDataTransferConfig` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.
services?recordOptional. 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?stringRequired. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name.
requestId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a multicloudDataTransferConfigs
getGet a multicloudDataTransferConfigs
ArgumentTypeDescription
identifierstringThe name of the multicloudDataTransferConfigs
updateUpdate multicloudDataTransferConfigs attributes
deleteDelete the multicloudDataTransferConfigs
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
description?stringOptional. A description of this resource.
endpoints?arrayRequired. Unordered list. The list of `DestinationEndpoint` resources configured for the IP prefix.
ipPrefix?stringRequired. Immutable. The IP prefix that represents your workload on another CSP.
labels?recordOptional. User-defined labels.
name?stringIdentifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
stateTimeline?objectThe timeline of the pending states for a resource.
destinationId?stringRequired. The ID to use for the `Destination` resource, which becomes the final component of the `Destination` resource name.
requestId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a destinations
getGet a destinations
ArgumentTypeDescription
identifierstringThe name of the destinations
updateUpdate destinations attributes
deleteDelete the destinations
ArgumentTypeDescription
identifierstringThe 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

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 multicloudDataTransferSupportedServices
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessType?enumRequired. The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access.
address?stringOptional. 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?stringOptional. A description of this resource.
labels?recordUser-defined labels.
network?stringOptional. The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`
subnetwork?stringOptional. The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`
targetGoogleApi?stringRequired. 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?stringRequired. Unique id of the Regional Endpoint to be created. @pattern: ^[-a-z0-9](?:[-a-z0-9]{0,44})[a-z0-9]$
requestId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a regionalEndpoints
getGet a regionalEndpoints
ArgumentTypeDescription
identifierstringThe name of the regionalEndpoints
deleteDelete the regionalEndpoints
ArgumentTypeDescription
identifierstringThe 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

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 remoteTransportProfiles
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
createTime?stringOutput only. Time when the ServiceClass was created.
description?stringA description of this resource.
etag?stringOptional. 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?recordUser-defined labels.
name?stringImmutable. 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?stringOutput only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
updateTime?stringOutput only. Time when the ServiceClass was updated.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a serviceClasses
ArgumentTypeDescription
identifierstringThe name of the serviceClasses
updateUpdate serviceClasses attributes
deleteDelete the serviceClasses
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
consumerPscConfigs?arrayThe PSC configurations on consumer side.
description?stringA description of this resource.
labels?recordUser-defined labels.
name?stringImmutable. 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?arrayThe PSC configurations on producer side.
serviceClass?stringThe 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?stringThe token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.
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
serviceConnectionMapId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a serviceConnectionMaps
getGet a serviceConnectionMaps
ArgumentTypeDescription
identifierstringThe name of the serviceConnectionMaps
updateUpdate serviceConnectionMaps attributes
deleteDelete the serviceConnectionMaps
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
autoCreatedSubnetInfo?objectInformation for the automatically created subnetwork and its associated IR.
description?stringA description of this resource.
labels?recordUser-defined labels.
name?stringImmutable. 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?stringThe resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
pscConfig?objectConfiguration used for Private Service Connect connections. Used when Infrastructure is PSC.
serviceClass?stringThe 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?stringOptional. 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?stringOptional. The requested IP stack for the subnetwork. If not specified, IPv4 is used.
autoSubnetworkConfig_prefixLength?stringOptional. 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?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
serviceConnectionPolicyId?stringOptional. 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?stringOptional. If this field is not set, USER_PROVIDED is the inferred value to use.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a serviceConnectionPolicies
getGet a serviceConnectionPolicies
ArgumentTypeDescription
identifierstringThe name of the serviceConnectionPolicies
updateUpdate serviceConnectionPolicies attributes
deleteDelete the serviceConnectionPolicies
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
description?stringA description of this resource.
labels?recordUser-defined labels.
name?stringImmutable. 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?stringThe resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
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
serviceConnectionTokenId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a serviceConnectionTokens
getGet a serviceConnectionTokens
ArgumentTypeDescription
identifierstringThe name of the serviceConnectionTokens
deleteDelete the serviceConnectionTokens
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
description?stringOptional. An optional description of the spoke.
fieldPathsPendingUpdate?arrayOptional. The list of fields waiting for hub administrator's approval.
group?stringOptional. The name of the group that this spoke is associated with.
hub?stringImmutable. The name of the hub that this spoke is attached to.
labels?recordOptional 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?objectA 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?objectA 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?objectAn existing VPC network.
linkedVpnTunnels?objectA 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?stringImmutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
requestId?stringOptional. 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?stringRequired. Unique id for the spoke to create.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a spokes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a spokes
ArgumentTypeDescription
identifierstringThe name of the spokes
updateUpdate spokes attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the spokes
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
advertisedRoutes?arrayOptional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
bandwidth?enumOptional. 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?stringOptional. Description of the Transport.
labels?recordOptional. Labels as key value pairs.
name?stringIdentifier. Name of the resource.
network?stringOptional. 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?stringOptional. 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?stringOptional. Immutable. The user supplied account id for the CSP associated with the remote profile.
remoteProfile?stringOptional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to.
stackType?enumOptional. IP version stack for the established connectivity.
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
transportId?stringRequired. Id of the requesting object
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a transports
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a transports
ArgumentTypeDescription
identifierstringThe name of the transports
updateUpdate transports attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the transports
ArgumentTypeDescription
identifierstringThe name of the transports
syncSync transports state from GCP

Resources

state(infinite)— Message describing Transport object.