Class: Google::Apis::ChatV1::MembershipBatchUpdatedEventData

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 updated memberships. Event type: google.workspace. chat.membership.v1.batchUpdated

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipBatchUpdatedEventData

Returns a new instance of MembershipBatchUpdatedEventData.



3766
3767
3768
# File 'lib/google/apis/chat_v1/classes.rb', line 3766

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

Instance Attribute Details

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

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



3764
3765
3766
# File 'lib/google/apis/chat_v1/classes.rb', line 3764

def memberships
  @memberships
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3771
3772
3773
# File 'lib/google/apis/chat_v1/classes.rb', line 3771

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