Class: Google::Apis::ChatV1::ChatSpaceLinkData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ChatSpaceLinkData
- 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
Data for Chat space links.
Instance Attribute Summary collapse
-
#message ⇒ String
The message of the linked Chat space resource.
-
#space ⇒ String
The space of the linked Chat space resource.
-
#thread ⇒ String
The thread of the linked Chat space resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChatSpaceLinkData
constructor
A new instance of ChatSpaceLinkData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChatSpaceLinkData
Returns a new instance of ChatSpaceLinkData.
624 625 626 |
# File 'lib/google/apis/chat_v1/classes.rb', line 624 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The message of the linked Chat space resource. Format: spaces/
space/
messages/
message`
Corresponds to the JSON property
message`
611 612 613 |
# File 'lib/google/apis/chat_v1/classes.rb', line 611 def @message end |
#space ⇒ String
The space of the linked Chat space resource. Format: spaces/
space`
Corresponds to the JSON property
space`
616 617 618 |
# File 'lib/google/apis/chat_v1/classes.rb', line 616 def space @space end |
#thread ⇒ String
The thread of the linked Chat space resource. Format: spaces/
space/threads/
thread`
Corresponds to the JSON property
thread`
622 623 624 |
# File 'lib/google/apis/chat_v1/classes.rb', line 622 def thread @thread end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
629 630 631 632 633 |
# File 'lib/google/apis/chat_v1/classes.rb', line 629 def update!(**args) @message = args[:message] if args.key?(:message) @space = args[:space] if args.key?(:space) @thread = args[:thread] if args.key?(:thread) end |