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.



4815
4816
4817
# File 'lib/google/apis/chat_v1/classes.rb', line 4815

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



4813
4814
4815
# File 'lib/google/apis/chat_v1/classes.rb', line 4813

def spaces
  @spaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4820
4821
4822
# File 'lib/google/apis/chat_v1/classes.rb', line 4820

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