Class: Google::Apis::ChatV1::MembershipBatchUpdatedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MembershipBatchUpdatedEventData
- 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
-
#memberships ⇒ Array<Google::Apis::ChatV1::MembershipUpdatedEventData>
A list of updated memberships.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipBatchUpdatedEventData
constructor
A new instance of MembershipBatchUpdatedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipBatchUpdatedEventData
Returns a new instance of MembershipBatchUpdatedEventData.
4035 4036 4037 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#memberships ⇒ Array<Google::Apis::ChatV1::MembershipUpdatedEventData>
A list of updated memberships.
Corresponds to the JSON property memberships
4033 4034 4035 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4033 def memberships @memberships end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4040 4041 4042 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4040 def update!(**args) @memberships = args[:memberships] if args.key?(:memberships) end |