Google Cloud Datastream V1 Client - Class ListRoutesResponse (1.1.0)

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

Route list response.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ routes array<Google\Cloud\Datastream\V1\Route>

List of Routes.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Locations that could not be reached.

getRoutes

List of Routes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRoutes

List of Routes.

Parameter
NameDescription
var array<Google\Cloud\Datastream\V1\Route>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this