Class: Google::Apis::TasksV1::SpaceInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/tasks_v1/classes.rb,
lib/google/apis/tasks_v1/representations.rb,
lib/google/apis/tasks_v1/representations.rb

Overview

Information about the Chat Space where a task was assigned from.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceInfo

Returns a new instance of SpaceInfo.



103
104
105
# File 'lib/google/apis/tasks_v1/classes.rb', line 103

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

Instance Attribute Details

#spaceString

Output only. The Chat space where this task originates from. The format is " spaces/space". Corresponds to the JSON property space

Returns:

  • (String)


101
102
103
# File 'lib/google/apis/tasks_v1/classes.rb', line 101

def space
  @space
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



108
109
110
# File 'lib/google/apis/tasks_v1/classes.rb', line 108

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