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.



20508
20509
20510
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20508

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

Instance Attribute Details

#tombstone_typeString

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

Returns:

  • (String)


20506
20507
20508
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20506

def tombstone_type
  @tombstone_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20513
20514
20515
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20513

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