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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpv4Cidr

IP address and range of the interface.

Returns
TypeDescription
string

setIpv4Cidr

IP address and range of the interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpv6Cidr

IPv6 address and range of the interface.

Returns
TypeDescription
string

setIpv6Cidr

IPv6 address and range of the interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLinkedInterconnectAttachment

The canonical name of the linked Interconnect attachment.

Returns
TypeDescription
string

setLinkedInterconnectAttachment

The canonical name of the linked Interconnect attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubnetwork

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

Returns
TypeDescription
string

setSubnetwork

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLoopbackIpAddresses

Create loopback interface in the router when specified.

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

Returns
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this