Skip to main content

policies

Overview

Namepolicies
TypeResource
Idgoogle.dns.policies

Fields

NameDatatypeDescription
idstringUnique identifier for the resource; defined by the server (output only).
namestringUser-assigned name for this policy.
descriptionstringA mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.
alternativeNameServerConfigobject
enableInboundForwardingbooleanAllows 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.
enableLoggingbooleanControls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
kindstring
networksarrayList of network names specifying networks to which this policy is applied.

Methods

NameAccessible byRequired ParamsDescription
getSELECTpolicy, projectFetches the representation of an existing Policy.
listSELECTprojectEnumerates all Policies associated with a project.
createINSERTprojectCreates a new Policy.
deleteDELETEpolicy, projectDeletes a previously created Policy. Fails if the policy is still being referenced by a network.
_listEXECprojectEnumerates all Policies associated with a project.
patchEXECpolicy, projectApplies a partial update to an existing Policy.
updateEXECpolicy, projectUpdates an existing Policy.