Google Apps Chat V1 Client - Class MembershipBatchCreatedEventData (0.6.0)

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

Event payload for multiple new memberships.

Event type: google.workspace.chat.membership.v1.batchCreated

Generated from protobuf message google.chat.v1.MembershipBatchCreatedEventData

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\MembershipCreatedEventData>

A list of new memberships.

getMemberships

A list of new memberships.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMemberships

A list of new memberships.

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