Google Cloud Edge Network V1 Client - Class PBInterface (1.0.0)

Reference documentation and code samples for the Google Cloud Edge Network V1 Client class PBInterface.

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

Generated from protobuf message google.cloud.edgenetwork.v1.Router.Interface

Namespace

Google \ Cloud \ EdgeNetwork \ V1 \ Router

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of this interface entry. Unique within the Zones resource.

↳ ipv4_cidr string

IP address and range of the interface.

↳ ipv6_cidr string

IPv6 address and range of the interface.

↳ linked_interconnect_attachment string

The canonical name of the linked Interconnect attachment.

↳ subnetwork string

The canonical name of the subnetwork resource that this interface belongs to.

↳ loopback_ip_addresses array

Create loopback interface in the router when specified. The number of IP addresses must match the number of TOR devices.

getName

Name of this interface entry. Unique within the Zones resource.

Returns
Type Description
string

setName

Name of this interface entry. Unique within the Zones resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpv4Cidr

IP address and range of the interface.

Returns
Type Description
string

setIpv4Cidr

IP address and range of the interface.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpv6Cidr

IPv6 address and range of the interface.

Returns
Type Description
string

setIpv6Cidr

IPv6 address and range of the interface.

Parameter
Name Description
var string
Returns
Type Description
$this

getLinkedInterconnectAttachment

The canonical name of the linked Interconnect attachment.

Returns
Type Description
string

setLinkedInterconnectAttachment

The canonical name of the linked Interconnect attachment.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubnetwork

The canonical name of the subnetwork resource that this interface belongs to.

Returns
Type Description
string

setSubnetwork

The canonical name of the subnetwork resource that this interface belongs to.

Parameter
Name Description
var string
Returns
Type Description
$this

getLoopbackIpAddresses

Create loopback interface in the router when specified.

The number of IP addresses must match the number of TOR devices.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLoopbackIpAddresses

Create loopback interface in the router when specified.

The number of IP addresses must match the number of TOR devices.

Parameter
Name Description
var string[]
Returns
Type Description
$this