TargetInstance class

Represents a Target Instance resource.

You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source.

For example, ESP, AH, TCP, or UDP. For more information, readTarget instances.

Constructors

TargetInstance({String? creationTimestamp, String? description, String? id, String? instance, String? kind, String? name, String? natPolicy, String? network, String? securityPolicy, String? selfLink, String? zone})
TargetInstance.fromJson(Map json_)

Properties

creationTimestamp String?
Creation timestamp inRFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
instance String?
A URL to the virtual machine instance that handles traffic for this target instance.
getter/setter pair
kind String?
The type of the resource.
getter/setter pair
name String?
Name of the resource.
getter/setter pair
natPolicy String?
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Possible string values are:
getter/setter pair
network String?
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityPolicy String?
The resource URL for the security policy associated with this target instance.
getter/setter pair
Server-defined URL for the resource.
getter/setter pair
zone String?
URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL.
getter/setter pair

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