Class: Google::Apis::CloudsearchV1::TombstoneMetadata

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

Tombstoning is the act of leaving a contextual trace when deleting a message. See more: go/tombstone-prd, go/hub-dynamite-tombstones-server-design-v2.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TombstoneMetadata

Returns a new instance of TombstoneMetadata.



20329
20330
20331
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20329

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tombstone_typeString

Indicates the type of Tombstone. Corresponds to the JSON property tombstoneType

Returns:

  • (String)


20327
20328
20329
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20327

def tombstone_type
  @tombstone_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20334
20335
20336
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20334

def update!(**args)
  @tombstone_type = args[:tombstone_type] if args.key?(:tombstone_type)
end