Google Apps Chat V1 Client - Class MembershipBatchCreatedEventData (0.7.1)

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<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<MembershipCreatedEventData>
Returns
Type Description
$this