Class: Google::Apis::ChatV1::SearchSpaceResult

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

A single result item from a space search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchSpaceResult

Returns a new instance of SearchSpaceResult.



6560
6561
6562
# File 'lib/google/apis/chat_v1/classes.rb', line 6560

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



6558
6559
6560
# File 'lib/google/apis/chat_v1/classes.rb', line 6558

def space
  @space
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6565
6566
6567
# File 'lib/google/apis/chat_v1/classes.rb', line 6565

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