Compute V1 Client - Class InterconnectAttachmentL2ForwardingApplianceMapping (2.3.0)

Reference documentation and code samples for the Compute V1 Client class InterconnectAttachmentL2ForwardingApplianceMapping.

Two-level VLAN-to-Appliance mapping rule.

Generated from protobuf message google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ appliance_ip_address string

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag. Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

↳ inner_vlan_to_appliance_mappings array<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping>

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags. A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

↳ name string

Optional. The name of this appliance mapping rule.

getApplianceIpAddress

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

Returns
Type Description
string

hasApplianceIpAddress

clearApplianceIpAddress

setApplianceIpAddress

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

Parameter
Name Description
var string
Returns
Type Description
$this

getInnerVlanToApplianceMappings

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInnerVlanToApplianceMappings

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

Parameter
Name Description
var array<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping>
Returns
Type Description
$this

getName

Optional. The name of this appliance mapping rule.

Returns
Type Description
string

hasName

clearName

setName

Optional. The name of this appliance mapping rule.

Parameter
Name Description
var string
Returns
Type Description
$this