Google Cloud Network Connectivity V1 Client - Class RouteTable (2.1.1)

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

Generated from protobuf message google.cloud.networkconnectivity.v1.RouteTable

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The name of the route table. Route table names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}

↳ create_time Google\Protobuf\Timestamp

Output only. The time the route table was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time the route table was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

↳ description string

An optional description of the route table.

↳ uid string

Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different uid.

↳ state int

Output only. The current lifecycle state of this route table.

getName

Immutable. The name of the route table. Route table names must be unique.

They use the following form: projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}

Returns
Type Description
string

setName

Immutable. The name of the route table. Route table names must be unique.

They use the following form: projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time the route table was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the route table was created.

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

getUpdateTime

Output only. The time the route table was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time the route table was last updated.

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

getLabels

Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

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

getDescription

An optional description of the route table.

Returns
Type Description
string

setDescription

An optional description of the route table.

Parameter
Name Description
var string
Returns
Type Description
$this

getUid

Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different uid.

Returns
Type Description
string

setUid

Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different uid.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The current lifecycle state of this route table.

Returns
Type Description
int

setState

Output only. The current lifecycle state of this route table.

Parameter
Name Description
var int
Returns
Type Description
$this