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.



11661
11662
11663
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11661

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

Instance Attribute Details

#label_idString

Label Corresponds to the JSON property labelId

Returns:

  • (String)


11654
11655
11656
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11654

def label_id
  @label_id
end

#message_idArray<Fixnum>

The message Ids Corresponds to the JSON property messageId

Returns:

  • (Array<Fixnum>)


11659
11660
11661
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11659

def message_id
  @message_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11666
11667
11668
11669
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11666

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