Google Apps Chat V1 Client - Class MembershipUpdatedEventData (0.5.0)

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

Event payload for an updated membership.

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

Generated from protobuf message google.chat.v1.MembershipUpdatedEventData

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ membership Google\Apps\Chat\V1\Membership

The updated membership.

getMembership

The updated membership.

Returns
Type Description
Google\Apps\Chat\V1\Membership|null

hasMembership

clearMembership

setMembership

The updated membership.

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