google_api_dns v0.14.0 GoogleApi.DNS.V1.Model.Policy 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 will be allocated from each of the sub-networks 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) - Identifies what kind of resource this is. Value: the fixed string "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
Link to this type
t()
View Sourcet() :: %GoogleApi.DNS.V1.Model.Policy{
alternativeNameServerConfig:
GoogleApi.DNS.V1.Model.PolicyAlternativeNameServerConfig.t(),
description: String.t(),
enableInboundForwarding: boolean(),
enableLogging: boolean(),
id: String.t(),
kind: String.t(),
name: String.t(),
networks: [GoogleApi.DNS.V1.Model.PolicyNetwork.t()]
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.