Class: Google::Apis::ChatV1::SpaceBatchUpdatedEventData

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 updates to a space. Event type: google.workspace. chat.space.v1.batchUpdated

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceBatchUpdatedEventData

Returns a new instance of SpaceBatchUpdatedEventData.



5195
5196
5197
# File 'lib/google/apis/chat_v1/classes.rb', line 5195

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

Instance Attribute Details

#spacesArray<Google::Apis::ChatV1::SpaceUpdatedEventData>

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



5193
5194
5195
# File 'lib/google/apis/chat_v1/classes.rb', line 5193

def spaces
  @spaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5200
5201
5202
# File 'lib/google/apis/chat_v1/classes.rb', line 5200

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