01README
Google Cloud dns infrastructure models
02Models
@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. |
fn create()
Create a changes
fn get(identifier: string)
Get a changes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the changes |
fn sync()
Sync 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) |
fn get(identifier: string)
Get a dnsKeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dnsKeys |
fn sync()
Sync 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. |
fn create()
Create a managedZones
fn get(identifier: string)
Get a managedZones
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedZones |
fn update()
Update managedZones attributes
fn delete(identifier: string)
Delete the managedZones
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the managedZones |
fn sync()
Sync 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. |
fn create()
Create a policies
fn get(identifier: string)
Get a policies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policies |
fn update()
Update policies attributes
fn delete(identifier: string)
Delete the policies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policies |
fn sync()
Sync 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) |
fn get(identifier: string)
Get a projects
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the projects |
fn sync()
Sync 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. |
fn create()
Create a resourceRecordSets
fn get(identifier: string)
Get a resourceRecordSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the resourceRecordSets |
fn update()
Update resourceRecordSets attributes
fn delete(identifier: string)
Delete the resourceRecordSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the resourceRecordSets |
fn sync()
Sync 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. |
fn create()
Create a responsePolicies
fn get(identifier: string)
Get a responsePolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicies |
fn update()
Update responsePolicies attributes
fn delete(identifier: string)
Delete the responsePolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicies |
fn sync()
Sync 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. |
fn create()
Create a responsePolicyRules
fn get(identifier: string)
Get a responsePolicyRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicyRules |
fn update()
Update responsePolicyRules attributes
fn delete(identifier: string)
Delete the responsePolicyRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the responsePolicyRules |
fn sync()
Sync responsePolicyRules state from GCP
Resources
state(infinite)— A Response Policy Rule is a selector that applies its behavior to queries tha...
03Previous Versions
2026.04.04.1Apr 4, 2026
- Updated: changes, resourcerecordsets, responsepolicyrules
2026.04.03.3Apr 3, 2026
- Updated: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
2026.04.03.1Apr 3, 2026
- Updated: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: changes, dnskeys, managedzones, policies, projects, resourcerecordsets, responsepolicies, responsepolicyrules
04Stats
A
100 / 100
Downloads
7
Archive size
50.6 KB
Verified by Swamp
- 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
05Platforms
06Labels