Skip to main content

@swamp/gcp/servicenetworking

v2026.04.23.1

Google Cloud servicenetworking infrastructure models

Repository

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

Labels

gcpgoogle-cloudservicenetworkingcloudinfrastructure

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/servicenetworking

@swamp/gcp/servicenetworking/services-connectionsv2026.04.23.1services_connections.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
network?stringRequired. The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project}/global/networks/{network}`. `{project}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network}` is the name of the service consumer's VPC network.
reservedPeeringRanges?arrayThe name of one or more allocated IP address ranges for this service producer of type `PEERING`. Note that invoking CreateConnection method with a different range when connection is already established will not modify already provisioned service producer subnetworks. If CreateConnection method is invoked repeatedly to reconnect when peering connection had been disconnected on the consumer side, leaving this field empty will restore previously allocated IP ranges.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a connections
getGet a connections
ArgumentTypeDescription
identifierstringThe name of the connections
updateUpdate connections attributes
deleteDelete the connections
ArgumentTypeDescription
identifierstringThe name of the connections
syncSync connections state from GCP

Resources

state(infinite)— Represents a private connection resource. A private connection is implemented...
@swamp/gcp/servicenetworking/services-dnsrecordsetsv2026.04.23.1services_dnsrecordsets.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
consumerNetwork?stringRequired. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.
existingDnsRecordSet?objectRepresents a DNS record set resource.
newDnsRecordSet?objectRepresents a DNS record set resource.
zone?stringRequired. The name of the private DNS zone in the shared producer host project from which the record set will be removed.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a dnsRecordSets
ArgumentTypeDescription
identifierstringThe name of the dnsRecordSets
updateUpdate dnsRecordSets attributes
deleteDelete the dnsRecordSets
ArgumentTypeDescription
identifierstringThe name of the dnsRecordSets
syncSync dnsRecordSets state from GCP
addadd
ArgumentTypeDescription
consumerNetwork?any
dnsRecordSet?any
zone?any

Resources

state(infinite)— Represents a DNS record set resource.
@swamp/gcp/servicenetworking/services-projects-global-networksv2026.04.23.1services_projects_global_networks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a networks
ArgumentTypeDescription
identifierstringThe name of the networks
syncSync networks state from GCP
get_vpc_service_controlsget vpc service controls
update_consumer_configupdate consumer config
ArgumentTypeDescription
consumerConfig?any

Resources

state(infinite)— Configuration information for a private service access connection.
@swamp/gcp/servicenetworking/services-projects-global-networks-dnszonesv2026.04.23.1services_projects_global_networks_dnszones.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a dnsZones
ArgumentTypeDescription
identifierstringThe name of the dnsZones
syncSync dnsZones state from GCP

Resources

state(infinite)— Represents managed DNS zones created in the shared Producer host and consumer...
@swamp/gcp/servicenetworking/services-projects-global-networks-peereddnsdomainsv2026.04.23.1services_projects_global_networks_peereddnsdomains.ts

Global Arguments

ArgumentTypeDescription
dnsSuffix?stringThe DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.
name?stringRequired. User assigned name for this resource. Must be unique within the consumer network. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a peeredDnsDomains
getGet a peeredDnsDomains
ArgumentTypeDescription
identifierstringThe name of the peeredDnsDomains
deleteDelete the peeredDnsDomains
ArgumentTypeDescription
identifierstringThe name of the peeredDnsDomains
syncSync peeredDnsDomains state from GCP

Resources

state(infinite)— DNS domain suffix for which requests originating in the producer VPC network ...