Class: Google::Apis::CloudsearchV1::MessageParentId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::MessageParentId
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Primary key identifying Message resource's immediate parent. For top-level Messages, either topic_id or chat_id is populated. For replies, message_id is populated with the topic Message's ID.
Instance Attribute Summary collapse
-
#topic_id ⇒ Google::Apis::CloudsearchV1::TopicId
ID of the Topic this Message is posted to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageParentId
constructor
A new instance of MessageParentId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageParentId
Returns a new instance of MessageParentId.
14378 14379 14380 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic_id ⇒ Google::Apis::CloudsearchV1::TopicId
ID of the Topic this Message is posted to. NEXT TAG : 5
Corresponds to the JSON property topicId
14376 14377 14378 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14376 def topic_id @topic_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14383 14384 14385 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14383 def update!(**args) @topic_id = args[:topic_id] if args.key?(:topic_id) end |