Class: Google::Apis::ChatV1::MembershipBatchCreatedEventData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MembershipBatchCreatedEventData
- 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 new memberships. Event type: google.workspace.chat.
membership.v1.batchCreated
Instance Attribute Summary collapse
-
#memberships ⇒ Array<Google::Apis::ChatV1::MembershipCreatedEventData>
A list of new memberships.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipBatchCreatedEventData
constructor
A new instance of MembershipBatchCreatedEventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipBatchCreatedEventData
Returns a new instance of MembershipBatchCreatedEventData.
3726 3727 3728 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#memberships ⇒ Array<Google::Apis::ChatV1::MembershipCreatedEventData>
A list of new memberships.
Corresponds to the JSON property memberships
3724 3725 3726 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3724 def memberships @memberships end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3731 3732 3733 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3731 def update!(**args) @memberships = args[:memberships] if args.key?(:memberships) end |