Google Apps Chat V1 Client - Class MembershipDeletedEventData (0.6.0)

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

Event payload for a deleted membership.

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

Generated from protobuf message google.chat.v1.MembershipDeletedEventData

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 deleted membership. Only the name and state fields are populated.

getMembership

The deleted membership. Only the name and state fields are populated.

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

hasMembership

clearMembership

setMembership

The deleted membership. Only the name and state fields are populated.

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