Class: Google::Apis::CloudsearchV1::WonderCardDelete

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

Message delete history record extension that exports /wonder/message_mapping/ vertical attribute of deleted messages which have any smartmail label (eg. ^ cob_sm_invoice). go/how-dd-card-deletion

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WonderCardDelete

Returns a new instance of WonderCardDelete.



21499
21500
21501
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21499

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

Instance Attribute Details

#message_mappingsHash<String,Google::Apis::CloudsearchV1::WonderMessageMapping>

Contains <@code WonderCardType enum value, value of /wonder/message_mapping/ vertical attribute of deleted message> pairs. Corresponds to the JSON property messageMappings



21492
21493
21494
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21492

def message_mappings
  @message_mappings
end

#msg_idFixnum

Message ID of the original deleted message Corresponds to the JSON property msgId

Returns:

  • (Fixnum)


21497
21498
21499
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21497

def msg_id
  @msg_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21504
21505
21506
21507
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21504

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