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

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

setName

Required. The resource name of the zone.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the zone was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the zone was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Labels as key value pairs

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getLayoutName

The deployment layout type.

Returns
TypeDescription
string

setLayoutName

The deployment layout type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this