ForwardingRule

google.cloud.compute.v1. ForwardingRule

Represents a ForwardingRule.

Constructor

new ForwardingRule(propertiesopt)

Constructs a new ForwardingRule.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IForwardingRule <optional>

Properties to set

Implements:
  • IForwardingRule

Members

IPAddress

ForwardingRule IPAddress.

IPProtocol

ForwardingRule IPProtocol.

_IPAddress

ForwardingRule _IPAddress.

_IPProtocol

ForwardingRule _IPProtocol.

_allPorts

ForwardingRule _allPorts.

_allowGlobalAccess

ForwardingRule _allowGlobalAccess.

_backendService

ForwardingRule _backendService.

_baseForwardingRule

ForwardingRule _baseForwardingRule.

_creationTimestamp

ForwardingRule _creationTimestamp.

_description

ForwardingRule _description.

_fingerprint

ForwardingRule _fingerprint.

_id

ForwardingRule _id.

_ipVersion

ForwardingRule _ipVersion.

_isMirroringCollector

ForwardingRule _isMirroringCollector.

_kind

ForwardingRule _kind.

_labelFingerprint

ForwardingRule _labelFingerprint.

_loadBalancingScheme

ForwardingRule _loadBalancingScheme.

_name

ForwardingRule _name.

_network

ForwardingRule _network.

_networkTier

ForwardingRule _networkTier.

_noAutomateDnsZone

ForwardingRule _noAutomateDnsZone.

_portRange

ForwardingRule _portRange.

_pscConnectionId

ForwardingRule _pscConnectionId.

_pscConnectionStatus

ForwardingRule _pscConnectionStatus.

_region

ForwardingRule _region.

ForwardingRule _selfLink.

_serviceLabel

ForwardingRule _serviceLabel.

_serviceName

ForwardingRule _serviceName.

_subnetwork

ForwardingRule _subnetwork.

_target

ForwardingRule _target.

allPorts

ForwardingRule allPorts.

allowGlobalAccess

ForwardingRule allowGlobalAccess.

backendService

ForwardingRule backendService.

baseForwardingRule

ForwardingRule baseForwardingRule.

creationTimestamp

ForwardingRule creationTimestamp.

description

ForwardingRule description.

fingerprint

ForwardingRule fingerprint.

id

ForwardingRule id.

ipVersion

ForwardingRule ipVersion.

isMirroringCollector

ForwardingRule isMirroringCollector.

kind

ForwardingRule kind.

labelFingerprint

ForwardingRule labelFingerprint.

labels

ForwardingRule labels.

loadBalancingScheme

ForwardingRule loadBalancingScheme.

metadataFilters

ForwardingRule metadataFilters.

name

ForwardingRule name.

network

ForwardingRule network.

networkTier

ForwardingRule networkTier.

noAutomateDnsZone

ForwardingRule noAutomateDnsZone.

portRange

ForwardingRule portRange.

ports

ForwardingRule ports.

pscConnectionId

ForwardingRule pscConnectionId.

pscConnectionStatus

ForwardingRule pscConnectionStatus.

region

ForwardingRule region.

ForwardingRule selfLink.

serviceDirectoryRegistrations

ForwardingRule serviceDirectoryRegistrations.

serviceLabel

ForwardingRule serviceLabel.

serviceName

ForwardingRule serviceName.

sourceIpRanges

ForwardingRule sourceIpRanges.

subnetwork

ForwardingRule subnetwork.

target

ForwardingRule target.

IPProtocolEnum

IPProtocolEnum enum.

Properties:
Name Type Description
UNDEFINED_I_P_PROTOCOL_ENUM number

UNDEFINED_I_P_PROTOCOL_ENUM value

AH number

AH value

ESP number

ESP value

ICMP number

ICMP value

L3_DEFAULT number

L3_DEFAULT value

SCTP number

SCTP value

TCP number

TCP value

UDP number

UDP value

IpVersion

IpVersion enum.

Properties:
Name Type Description
UNDEFINED_IP_VERSION number

UNDEFINED_IP_VERSION value

IPV4 number

IPV4 value

IPV6 number

IPV6 value

UNSPECIFIED_VERSION number

UNSPECIFIED_VERSION value

LoadBalancingScheme

LoadBalancingScheme enum.

Properties:
Name Type Description
UNDEFINED_LOAD_BALANCING_SCHEME number

UNDEFINED_LOAD_BALANCING_SCHEME value

EXTERNAL number

EXTERNAL value

EXTERNAL_MANAGED number

EXTERNAL_MANAGED value

INTERNAL number

INTERNAL value

INTERNAL_MANAGED number

INTERNAL_MANAGED value

INTERNAL_SELF_MANAGED number

INTERNAL_SELF_MANAGED value

INVALID number

INVALID value

NetworkTier

NetworkTier enum.

Properties:
Name Type Description
UNDEFINED_NETWORK_TIER number

UNDEFINED_NETWORK_TIER value

FIXED_STANDARD number

FIXED_STANDARD value

PREMIUM number

PREMIUM value

STANDARD number

STANDARD value

STANDARD_OVERRIDES_FIXED_STANDARD number

STANDARD_OVERRIDES_FIXED_STANDARD value

PscConnectionStatus

PscConnectionStatus enum.

Properties:
Name Type Description
UNDEFINED_PSC_CONNECTION_STATUS number

UNDEFINED_PSC_CONNECTION_STATUS value

ACCEPTED number

ACCEPTED value

CLOSED number

CLOSED value

NEEDS_ATTENTION number

NEEDS_ATTENTION value

PENDING number

PENDING value

REJECTED number

REJECTED value

STATUS_UNSPECIFIED number

STATUS_UNSPECIFIED value

Methods

toJSON() → {Object.<string, *>}

Converts this ForwardingRule to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.ForwardingRule}

Creates a new ForwardingRule instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IForwardingRule <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.ForwardingRule

ForwardingRule instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.ForwardingRule}

Decodes a ForwardingRule message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.ForwardingRule

ForwardingRule

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.ForwardingRule}

Decodes a ForwardingRule message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.ForwardingRule

ForwardingRule

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified ForwardingRule message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IForwardingRule

ForwardingRule message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified ForwardingRule message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IForwardingRule

ForwardingRule message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.ForwardingRule}

Creates a ForwardingRule message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.ForwardingRule

ForwardingRule

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for ForwardingRule

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a ForwardingRule message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.ForwardingRule

ForwardingRule

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a ForwardingRule message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not