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.



22272
22273
22274
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22272

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



22265
22266
22267
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22265

def message_mappings
  @message_mappings
end

#msg_idFixnum

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

Returns:

  • (Fixnum)


22270
22271
22272
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22270

def msg_id
  @msg_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22277
22278
22279
22280
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22277

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