Class: Google::Apis::CloudsearchV1::ImapUidsReassign

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImapUidsReassign

Returns a new instance of ImapUidsReassign.



11104
11105
11106
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11104

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

Instance Attribute Details

#label_idString

Label Corresponds to the JSON property labelId

Returns:

  • (String)


11097
11098
11099
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11097

def label_id
  @label_id
end

#message_idArray<Fixnum>

The message Ids Corresponds to the JSON property messageId

Returns:

  • (Array<Fixnum>)


11102
11103
11104
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11102

def message_id
  @message_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11109
11110
11111
11112
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11109

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