Class: Google::Apis::CloudsearchV1::MessageAttributes
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::MessageAttributes
- 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
Stores tombstone message attributes: go/tombstone-message-attributes-overview
Instance Attribute Summary collapse
-
#is_tombstone ⇒ Boolean
(also: #is_tombstone?)
If true: message is a tombstone in the client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MessageAttributes
constructor
A new instance of MessageAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MessageAttributes
Returns a new instance of MessageAttributes.
14264 14265 14266 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_tombstone ⇒ Boolean Also known as: is_tombstone?
If true: message is a tombstone in the client. Default false.
Corresponds to the JSON property isTombstone
14261 14262 14263 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14261 def is_tombstone @is_tombstone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14269 14270 14271 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14269 def update!(**args) @is_tombstone = args[:is_tombstone] if args.key?(:is_tombstone) end |