@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 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/dns@swamp/gcp/dns/changesv2026.04.23.1changes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| additions? | array | Which ResourceRecordSets to add? |
| deletions? | array | Which ResourceRecordSets to remove? Must match existing data exactly. |
| isServing? | boolean | If the DNS queries for the zone will be served. |
| managedZone | string | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a dnsKeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| cloudLoggingConfig? | object | Cloud Logging configurations for publicly visible zones. |
| description? | string | A 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? | string | The DNS name of this managed zone, for instance "example.com.". |
| dnssecConfig? | object | |
| forwardingConfig? | object | |
| labels? | record | User labels. |
| name? | string | User 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? | string | Optionally 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? | object | Contains information about Service Directory-backed zones. |
| visibility? | enum | The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedZones |
updateUpdate managedZones attributes
deleteDelete the managedZones
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| alternativeNameServerConfig? | object | |
| description? | string | A 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? | object | DNS64 policies |
| enableInboundForwarding? | boolean | Allows 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? | boolean | Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. |
| name? | string | User-assigned name for this policy. |
| networks? | array | List of network names specifying networks to which this policy is applied. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policies |
updateUpdate policies attributes
deleteDelete the policies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a projects
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name? | string | For example, www.example.com. |
| routingPolicy? | object | A 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? | array | As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. |
| signatureRrdatas? | array | As defined in RFC 4034 (section 3.2). |
| ttl? | number | Number of seconds that this `ResourceRecordSet` can be cached by resolvers. |
| type? | string | The identifier of a supported record type. See the list of Supported DNS record types. |
| managedZone | string | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the resourceRecordSets |
updateUpdate resourceRecordSets attributes
deleteDelete the resourceRecordSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| description? | string | User-provided description for this Response Policy. |
| gkeClusters? | array | The list of Google Kubernetes Engine clusters to which this response policy is applied. |
| labels? | record | User labels. |
| networks? | array | List of network names specifying networks to which this policy is applied. |
| responsePolicyName? | string | User assigned name for this Response Policy. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicies |
updateUpdate responsePolicies attributes
deleteDelete the responsePolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| behavior? | enum | Answer this query with a behavior rather than DNS data. |
| dnsName? | string | The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. |
| localData? | object | |
| ruleName? | string | An identifier for this rule. Must be unique with the ResponsePolicy. |
| responsePolicy | string | User assigned name of the Response Policy containing the Response Policy Rule. |
| clientOperationId? | string | For 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicyRules |
updateUpdate responsePolicyRules attributes
deleteDelete the responsePolicyRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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...
2026.04.04.149.9 KBApr 4, 2026
Google Cloud dns infrastructure models
Release Notes
- Updated: changes, resourcerecordsets, responsepolicyrules
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddnscloudinfrastructure
2026.04.03.358.8 KBApr 3, 2026
Google Cloud dns infrastructure models
Release Notes
- Updated: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddnscloudinfrastructure
2026.04.03.158.3 KBApr 3, 2026
Google Cloud dns infrastructure models
Release Notes
- Updated: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddnscloudinfrastructure
2026.04.02.258.2 KBApr 2, 2026
Google Cloud dns infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddnscloudinfrastructure
2026.03.27.159.6 KBMar 27, 2026
Google Cloud dns infrastructure models
Release Notes
- Added: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddnscloudinfrastructure