Class: Google::Apis::CloudsearchV1::MessageAttributes

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_tombstoneBoolean Also known as: is_tombstone?

If true: message is a tombstone in the client. Default false. Corresponds to the JSON property isTombstone

Returns:

  • (Boolean)


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