Skip to main content

@swamp/gcp/dns

v2026.04.23.1

Google Cloud dns infrastructure models

Repository

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

Labels

gcpgoogle-clouddnscloudinfrastructure

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

@swamp/gcp/dns/changesv2026.04.23.1changes.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
additions?arrayWhich ResourceRecordSets to add?
deletions?arrayWhich ResourceRecordSets to remove? Must match existing data exactly.
isServing?booleanIf the DNS queries for the zone will be served.
managedZonestringIdentifies the managed zone addressed by this request. Can be the managed zone name or ID.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a changes
getGet a changes
ArgumentTypeDescription
identifierstringThe name of the changes
syncSync changes state from GCP

Resources

state(infinite)— A Change represents a set of `ResourceRecordSet` additions and deletions appl...
@swamp/gcp/dns/dnskeysv2026.04.23.1dnskeys.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a dnsKeys
ArgumentTypeDescription
identifierstringThe name of the dnsKeys
syncSync dnsKeys state from GCP

Resources

state(infinite)— A DNSSEC key pair.
@swamp/gcp/dns/managedzonesv2026.04.23.1managedzones.ts

Global Arguments

ArgumentTypeDescription
cloudLoggingConfig?objectCloud Logging configurations for publicly visible zones.
description?stringA mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.
dnsName?stringThe DNS name of this managed zone, for instance "example.com.".
dnssecConfig?object
forwardingConfig?object
labels?recordUser labels.
name?stringUser assigned name for this resource. Must be unique within the project. 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.
nameServerSet?stringOptionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.
peeringConfig?object
privateVisibilityConfig?object
reverseLookupConfig?object
serviceDirectoryConfig?objectContains information about Service Directory-backed zones.
visibility?enumThe zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a managedZones
getGet a managedZones
ArgumentTypeDescription
identifierstringThe name of the managedZones
updateUpdate managedZones attributes
deleteDelete the managedZones
ArgumentTypeDescription
identifierstringThe name of the managedZones
syncSync managedZones state from GCP

Resources

state(infinite)— A zone is a subtree of the DNS namespace under one administrative responsibil...
@swamp/gcp/dns/policiesv2026.04.23.1policies.ts

Global Arguments

ArgumentTypeDescription
alternativeNameServerConfig?object
description?stringA mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.
dns64Config?objectDNS64 policies
enableInboundForwarding?booleanAllows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.
enableLogging?booleanControls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
name?stringUser-assigned name for this policy.
networks?arrayList of network names specifying networks to which this policy is applied.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a policies
getGet a policies
ArgumentTypeDescription
identifierstringThe name of the policies
updateUpdate policies attributes
deleteDelete the policies
ArgumentTypeDescription
identifierstringThe name of the policies
syncSync policies state from GCP

Resources

state(infinite)— A policy is a collection of DNS rules applied to one or more Virtual Private ...
@swamp/gcp/dns/projectsv2026.04.23.1projects.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a projects
ArgumentTypeDescription
identifierstringThe name of the projects
syncSync projects state from GCP

Resources

state(infinite)— A project resource. The project is a top level container for resources includ...
@swamp/gcp/dns/resourcerecordsetsv2026.04.23.1resourcerecordsets.ts

Global Arguments

ArgumentTypeDescription
name?stringFor example, www.example.com.
routingPolicy?objectA RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.
rrdatas?arrayAs defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
signatureRrdatas?arrayAs defined in RFC 4034 (section 3.2).
ttl?numberNumber of seconds that this `ResourceRecordSet` can be cached by resolvers.
type?stringThe identifier of a supported record type. See the list of Supported DNS record types.
managedZonestringIdentifies the managed zone addressed by this request. Can be the managed zone name or ID.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a resourceRecordSets
getGet a resourceRecordSets
ArgumentTypeDescription
identifierstringThe name of the resourceRecordSets
updateUpdate resourceRecordSets attributes
deleteDelete the resourceRecordSets
ArgumentTypeDescription
identifierstringThe name of the resourceRecordSets
syncSync resourceRecordSets state from GCP

Resources

state(infinite)— A unit of data that is returned by the DNS servers.
@swamp/gcp/dns/responsepoliciesv2026.04.23.1responsepolicies.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
description?stringUser-provided description for this Response Policy.
gkeClusters?arrayThe list of Google Kubernetes Engine clusters to which this response policy is applied.
labels?recordUser labels.
networks?arrayList of network names specifying networks to which this policy is applied.
responsePolicyName?stringUser assigned name for this Response Policy.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a responsePolicies
getGet a responsePolicies
ArgumentTypeDescription
identifierstringThe name of the responsePolicies
updateUpdate responsePolicies attributes
deleteDelete the responsePolicies
ArgumentTypeDescription
identifierstringThe name of the responsePolicies
syncSync responsePolicies state from GCP

Resources

state(infinite)— A Response Policy is a collection of selectors that apply to queries made aga...
@swamp/gcp/dns/responsepolicyrulesv2026.04.23.1responsepolicyrules.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
behavior?enumAnswer this query with a behavior rather than DNS data.
dnsName?stringThe DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
localData?object
ruleName?stringAn identifier for this rule. Must be unique with the ResponsePolicy.
responsePolicystringUser assigned name of the Response Policy containing the Response Policy Rule.
clientOperationId?stringFor mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
createCreate a responsePolicyRules
getGet a responsePolicyRules
ArgumentTypeDescription
identifierstringThe name of the responsePolicyRules
updateUpdate responsePolicyRules attributes
deleteDelete the responsePolicyRules
ArgumentTypeDescription
identifierstringThe name of the responsePolicyRules
syncSync responsePolicyRules state from GCP

Resources

state(infinite)— A Response Policy Rule is a selector that applies its behavior to queries tha...