# Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::Router::Interface (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.2.0 1.1.0 1.0.3 0.5.0 0.4.1 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::Router::Interface.

Router Interface defines the GDCE zone side layer-3 information for
building the BGP session.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ipv4_cidr

    def ipv4_cidr() -> ::String

**Returns**

- (::String) --- IP address and range of the interface.

### #ipv4_cidr=

    def ipv4_cidr=(value) -> ::String

**Parameter**

- **value** (::String) --- IP address and range of the interface.
**Returns**

- (::String) --- IP address and range of the interface.

### #ipv6_cidr

    def ipv6_cidr() -> ::String

**Returns**

- (::String) --- IPv6 address and range of the interface.

### #ipv6_cidr=

    def ipv6_cidr=(value) -> ::String

**Parameter**

- **value** (::String) --- IPv6 address and range of the interface.
**Returns**

- (::String) --- IPv6 address and range of the interface.

### #linked_interconnect_attachment

    def linked_interconnect_attachment() -> ::String

**Returns**

- (::String) --- The canonical name of the linked Interconnect attachment.

### #linked_interconnect_attachment=

    def linked_interconnect_attachment=(value) -> ::String

**Parameter**

- **value** (::String) --- The canonical name of the linked Interconnect attachment.
**Returns**

- (::String) --- The canonical name of the linked Interconnect attachment.

### #loopback_ip_addresses

    def loopback_ip_addresses() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Create loopback interface in the router when specified. The number of IP addresses must match the number of TOR devices.

### #loopback_ip_addresses=

    def loopback_ip_addresses=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Create loopback interface in the router when specified. The number of IP addresses must match the number of TOR devices.
**Returns**

- (::Array\<::String\>) --- Create loopback interface in the router when specified. The number of IP addresses must match the number of TOR devices.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Name of this interface entry. Unique within the Zones resource.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of this interface entry. Unique within the Zones resource.
**Returns**

- (::String) --- Name of this interface entry. Unique within the Zones resource.

### #subnetwork

    def subnetwork() -> ::String

**Returns**

- (::String) --- The canonical name of the subnetwork resource that this interface belongs to.

### #subnetwork=

    def subnetwork=(value) -> ::String

**Parameter**

- **value** (::String) --- The canonical name of the subnetwork resource that this interface belongs to.
**Returns**

- (::String) --- The canonical name of the subnetwork resource that this interface belongs to.