Class: Google::Apis::ChatV1::MembershipBatchDeletedEventData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Event payload for multiple deleted memberships. Event type: google.workspace. chat.membership.v1.batchDeleted

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipBatchDeletedEventData

Returns a new instance of MembershipBatchDeletedEventData.



4015
4016
4017
# File 'lib/google/apis/chat_v1/classes.rb', line 4015

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#membershipsArray<Google::Apis::ChatV1::MembershipDeletedEventData>

A list of deleted memberships. Corresponds to the JSON property memberships



4013
4014
4015
# File 'lib/google/apis/chat_v1/classes.rb', line 4013

def memberships
  @memberships
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4020
4021
4022
# File 'lib/google/apis/chat_v1/classes.rb', line 4020

def update!(**args)
  @memberships = args[:memberships] if args.key?(:memberships)
end