Google Apps Chat V1 Client - Class ListMembershipsResponse (0.4.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class ListMembershipsResponse.

Response to list memberships of the space.

Generated from protobuf message google.chat.v1.ListMembershipsResponse

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ memberships array<Google\Apps\Chat\V1\Membership>

Unordered list. List of memberships in the requested (or first) page.

↳ next_page_token string

A token that you can send as pageToken to retrieve the next page of results. If empty, there are no subsequent pages.

getMemberships

Unordered list. List of memberships in the requested (or first) page.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMemberships

Unordered list. List of memberships in the requested (or first) page.

Parameter
Name Description
var array<Google\Apps\Chat\V1\Membership>
Returns
Type Description
$this

getNextPageToken

A token that you can send as pageToken to retrieve the next page of results. If empty, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that you can send as pageToken to retrieve the next page of results. If empty, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this