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

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

A Google Edge Cloud zone.

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

Namespace

Google \ Cloud \ EdgeNetwork \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the zone.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the zone was created.

↳ update_time Google\Protobuf\Timestamp

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

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs

↳ layout_name string

The deployment layout type.

getName

Required. The resource name of the zone.

Returns
Type Description
string

setName

Required. The resource name of the zone.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time when the zone was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the zone was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Labels as key value pairs

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getLayoutName

The deployment layout type.

Returns
Type Description
string

setLayoutName

The deployment layout type.

Parameter
Name Description
var string
Returns
Type Description
$this