Google Cloud Eventarc V1 Client - Class ListEnrollmentsResponse (2.1.3)

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

The response message for the ListEnrollments method.

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

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enrollments array<Enrollment>

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

↳ next_page_token string

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

↳ unreachable array

Unreachable resources, if any.

getEnrollments

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEnrollments

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

Parameter
Name Description
var array<Enrollment>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Unreachable resources, if any.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Unreachable resources, if any.

Parameter
Name Description
var string[]
Returns
Type Description
$this