Google Cloud Datastream V1 Client - Class ListStreamsResponse (1.1.0)

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

Response message for listing streams.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ streams array<Google\Cloud\Datastream\V1\Stream>

List of streams

↳ 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.

getStreams

List of streams

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStreams

List of streams

Parameter
NameDescription
var array<Google\Cloud\Datastream\V1\Stream>
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