Class: Google::Apis::ChatV1::SpaceUpdatedEventData

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 an updated space. Event type: google.workspace.chat.space. v1.updated

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceUpdatedEventData

Returns a new instance of SpaceUpdatedEventData.



4984
4985
4986
# File 'lib/google/apis/chat_v1/classes.rb', line 4984

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

Instance Attribute Details

#spaceGoogle::Apis::ChatV1::Space

A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat app. Corresponds to the JSON property space



4982
4983
4984
# File 'lib/google/apis/chat_v1/classes.rb', line 4982

def space
  @space
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4989
4990
4991
# File 'lib/google/apis/chat_v1/classes.rb', line 4989

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