Google Cloud Eventarc V1 Client - Class ListChannelsResponse (1.0.5)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class ListChannelsResponse.

The response message for the ListChannels method.

Generated from protobuf message google.cloud.eventarc.v1.ListChannelsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ channels array<Google\Cloud\Eventarc\V1\Channel>

The requested channels, up to the number specified in page_size.

↳ next_page_token string

A page token that can be sent to ListChannels to request the next page. If this is empty, then there are no more pages.

↳ unreachable array

Unreachable resources, if any.

getChannels

The requested channels, up to the number specified in page_size.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setChannels

The requested channels, up to the number specified in page_size.

Parameter
NameDescription
var array<Google\Cloud\Eventarc\V1\Channel>
Returns
TypeDescription
$this

getNextPageToken

A page token that can be sent to ListChannels to request the next page.

If this is empty, then there are no more pages.

Returns
TypeDescription
string

setNextPageToken

A page token that can be sent to ListChannels to request the next page.

If this is empty, then there are no more pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Unreachable resources, if any.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Unreachable resources, if any.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this