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.
13725 13726 13727 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13725 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
13722 13723 13724 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13722 def is_tombstone @is_tombstone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13730 13731 13732 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13730 def update!(**args) @is_tombstone = args[:is_tombstone] if args.key?(:is_tombstone) end |