Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InterconnectAttachmentL2Forwarding (v3.5.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InterconnectAttachmentL2Forwarding.

L2 Interconnect Attachment related configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#appliance_mappings

def appliance_mappings() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

    Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

    The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

#appliance_mappings=

def appliance_mappings=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

    Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

    The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

    Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

    The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

#default_appliance_ip_address

def default_appliance_ip_address() -> ::String
Returns
  • (::String) — Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

    Unset field (null-value) indicates the unmatched packet should be dropped.

#default_appliance_ip_address=

def default_appliance_ip_address=(value) -> ::String
Parameter
  • value (::String) — Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

    Unset field (null-value) indicates the unmatched packet should be dropped.

Returns
  • (::String) — Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

    Unset field (null-value) indicates the unmatched packet should be dropped.

#geneve_header

def geneve_header() -> ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader
Returns

#geneve_header=

def geneve_header=(value) -> ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader
Parameter
Returns

#network

def network() -> ::String
Returns
  • (::String) — Required. Resource URL of the network to which this attachment belongs.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Required. Resource URL of the network to which this attachment belongs.
Returns
  • (::String) — Required. Resource URL of the network to which this attachment belongs.

#tunnel_endpoint_ip_address

def tunnel_endpoint_ip_address() -> ::String
Returns
  • (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

#tunnel_endpoint_ip_address=

def tunnel_endpoint_ip_address=(value) -> ::String
Parameter
  • value (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.
Returns
  • (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.