Policy class

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

Constructors

Policy({PolicyAlternativeNameServerConfig? alternativeNameServerConfig, String? description, bool? enableInboundForwarding, bool? enableLogging, String? id, String? kind, String? name, List<PolicyNetwork>? networks})
Policy.fromJson(Map json_)

Properties

alternativeNameServerConfig PolicyAlternativeNameServerConfig?
Sets an alternative name server for the associated networks.
getter/setter pair
description String?
A mutable string of at most 1024 characters associated with this resource for the user's convenience.
getter/setter pair
enableInboundForwarding bool?
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections.
getter/setter pair
enableLogging bool?
Controls whether logging is enabled for the networks bound to this policy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier for the resource; defined by the server (output only).
getter/setter pair
kind String?
getter/setter pair
name String?
User-assigned name for this policy.
getter/setter pair
networks List<PolicyNetwork>?
List of network names specifying networks to which this policy is applied.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited