Google Cloud Datastream V1 Client - Class Route (1.5.5)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class Route.

The route resource is the child of the private connection resource, used for defining a route for a private connection.

Generated from protobuf message google.cloud.datastream.v1.Route

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource's name.

↳ create_time Google\Protobuf\Timestamp

Output only. The create time of the resource.

↳ update_time Google\Protobuf\Timestamp

Output only. The update time of the resource.

↳ labels array|Google\Protobuf\Internal\MapField

Labels.

↳ display_name string

Required. Display name.

↳ destination_address string

Required. Destination address for connection

↳ destination_port int

Destination port for connection

getName

Output only. The resource's name.

Returns
Type Description
string

setName

Output only. The resource's name.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The create time of the resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The create time of the resource.

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

getUpdateTime

Output only. The update time of the resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update time of the resource.

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

getLabels

Labels.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels.

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

getDisplayName

Required. Display name.

Returns
Type Description
string

setDisplayName

Required. Display name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationAddress

Required. Destination address for connection

Returns
Type Description
string

setDestinationAddress

Required. Destination address for connection

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationPort

Destination port for connection

Returns
Type Description
int

setDestinationPort

Destination port for connection

Parameter
Name Description
var int
Returns
Type Description
$this