Google Cloud Edge Network V1 Client - Class Network (0.2.0)

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

Message describing Network object

Generated from protobuf message google.cloud.edgenetwork.v1.Network

Namespace

Google \ Cloud \ EdgeNetwork \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. The canonical resource name of the network.

↳ create_time
Google\Protobuf\Timestamp

Output only. The time when the network was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The time when the network was last updated.

↳ labels
array| Google\Protobuf\Internal\MapField

Labels associated with this resource.

↳ description
string

Optional. A free-text description of the resource. Max length 1024 characters.

↳ mtu
int

IP (L3) MTU value of the network. Valid values are: 1500 and 9000. Default to 1500 if not set.

getName

Required. The canonical resource name of the network.

Returns
Type
Description
string

setName

Required. The canonical resource name of the network.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The time when the network was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the network was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The time when the network was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the network was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Labels associated with this resource.

Returns
Type
Description

setLabels

Labels associated with this resource.

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

Optional. A free-text description of the resource. Max length 1024 characters.

Returns
Type
Description
string

setDescription

Optional. A free-text description of the resource. Max length 1024 characters.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getMtu

IP (L3) MTU value of the network.

Valid values are: 1500 and 9000. Default to 1500 if not set.

Returns
Type
Description
int

setMtu

IP (L3) MTU value of the network.

Valid values are: 1500 and 9000. Default to 1500 if not set.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: