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.
14301 14302 14303 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14301 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
14299 14300 14301 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14299 def topic_id @topic_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14306 14307 14308 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14306 def update!(**args) @topic_id = args[:topic_id] if args.key?(:topic_id) end |