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.



22066
22067
22068
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22066

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



22059
22060
22061
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22059

def message_mappings
  @message_mappings
end

#msg_idFixnum

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

Returns:

  • (Fixnum)


22064
22065
22066
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22064

def msg_id
  @msg_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22071
22072
22073
22074
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22071

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