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.



16736
16737
16738
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16736

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

Instance Attribute Details

#tombstone_typeString

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

Returns:

  • (String)


16734
16735
16736
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16734

def tombstone_type
  @tombstone_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16741
16742
16743
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16741

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