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.



4931
4932
4933
# File 'lib/google/apis/chat_v1/classes.rb', line 4931

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



4929
4930
4931
# File 'lib/google/apis/chat_v1/classes.rb', line 4929

def spaces
  @spaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4936
4937
4938
# File 'lib/google/apis/chat_v1/classes.rb', line 4936

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