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.



11584
11585
11586
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11584

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

Instance Attribute Details

#label_idString

Label Corresponds to the JSON property labelId

Returns:

  • (String)


11577
11578
11579
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11577

def label_id
  @label_id
end

#message_idArray<Fixnum>

The message Ids Corresponds to the JSON property messageId

Returns:

  • (Array<Fixnum>)


11582
11583
11584
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11582

def message_id
  @message_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11589
11590
11591
11592
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11589

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