GoogleApi.DNS.V1.Model.Policy (google_api_dns v0.24.0) View Source

A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.

Attributes

  • alternativeNameServerConfig (type: GoogleApi.DNS.V1.Model.PolicyAlternativeNameServerConfig.t, default: nil) - Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
  • description (type: String.t, default: nil) - 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.
  • enableInboundForwarding (type: boolean(), default: nil) - 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 (type: boolean(), default: nil) - Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
  • id (type: String.t, default: nil) - Unique identifier for the resource; defined by the server (output only).
  • kind (type: String.t, default: dns#policy) -
  • name (type: String.t, default: nil) - User-assigned name for this policy.
  • networks (type: list(GoogleApi.DNS.V1.Model.PolicyNetwork.t), default: nil) - List of network names specifying networks to which this policy is applied.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DNS.V1.Model.Policy{
  alternativeNameServerConfig:
    GoogleApi.DNS.V1.Model.PolicyAlternativeNameServerConfig.t() | nil,
  description: String.t() | nil,
  enableInboundForwarding: boolean() | nil,
  enableLogging: boolean() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  networks: [GoogleApi.DNS.V1.Model.PolicyNetwork.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.