Google Cloud Eventarc V1 Client - Class ListMessageBusEnrollmentsRequest (2.1.2)

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

The request message for the ListMessageBusEnrollments method.

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

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent message bus to list enrollments on.

↳ page_size int

Optional. The maximum number of results to return on each page. Note: The service may send fewer.

↳ page_token string

Optional. The page token; provide the value from the next_page_token field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.

getParent

Required. The parent message bus to list enrollments on.

Returns
Type Description
string

setParent

Required. The parent message bus to list enrollments on.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of results to return on each page.

Note: The service may send fewer.

Returns
Type Description
int

setPageSize

Optional. The maximum number of results to return on each page.

Note: The service may send fewer.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The page token; provide the value from the next_page_token field in a previous call to retrieve the subsequent page.

When paginating, all other parameters provided must match the previous call that provided the page token.

Returns
Type Description
string

setPageToken

Optional. The page token; provide the value from the next_page_token field in a previous call to retrieve the subsequent page.

When paginating, all other parameters provided must match the previous call that provided the page token.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent message bus to list enrollments on. Please see EventarcClient::messageBusName() for help formatting this field.

Returns
Type Description
ListMessageBusEnrollmentsRequest