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.
14187 14188 14189 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14187 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
14184 14185 14186 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14184 def is_tombstone @is_tombstone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14192 14193 14194 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14192 def update!(**args) @is_tombstone = args[:is_tombstone] if args.key?(:is_tombstone) end |