ForwardingRule class

A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given IPAddress, IPProtocol, ports tuple. (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==)

Constructors

ForwardingRule()
ForwardingRule.fromJson(Map _json)

Properties

allPorts ↔ bool
This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. This field cannot be used with port or portRange fields. [...]
read / write
backendService ↔ String
This field is only used for INTERNAL load balancing. [...]
read / write
creationTimestamp ↔ String
Output Only Creation timestamp in RFC3339 text format.
read / write
description ↔ String
An optional description of this resource. Provide this property when you create the resource.
read / write
id ↔ String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
IPAddress ↔ String
The IP address that this forwarding rule is serving on behalf of. [...]
read / write
IPProtocol ↔ String
The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or ICMP. [...]
read / write
ipVersion ↔ String
The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This can only be specified for an external global forwarding rule. Possible string values are: [...]
read / write
kind ↔ String
Output Only Type of the resource. Always compute#forwardingRule for Forwarding Rule resources.
read / write
loadBalancingScheme ↔ String
This signifies what the ForwardingRule will be used for and can only take the following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) Possible string values are: [...]
read / write
name ↔ String
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
read / write
network ↔ String
This field is not used for external load balancing. [...]
read / write
networkTier ↔ String
This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM , STANDARD. [...]
read / write
portRange ↔ String
This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. [...]
read / write
ports ↔ List<String>
This field is used along with the backend_service field for internal load balancing. [...]
read / write
region ↔ String
Output Only URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
read / write
Output Only Server-defined URL for the resource.
read / write
serviceLabel ↔ String
An optional prefix to the service name for this Forwarding Rule. If specified, will be the first label of the fully qualified service name. [...]
read / write
serviceName ↔ String
Output Only The internal fully qualified service name for this Forwarding Rule. [...]
read / write
subnetwork ↔ String
This field is only used for INTERNAL load balancing. [...]
read / write
target ↔ String
The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets are valid.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited