class Google::Apis::GmailV1::Profile

Profile for a Gmail user.

Attributes

email_address[RW]

The user's email address. Corresponds to the JSON property `emailAddress` @return [String]

history_id[RW]

The ID of the mailbox's current history record. Corresponds to the JSON property `historyId` @return [String]

messages_total[RW]

The total number of messages in the mailbox. Corresponds to the JSON property `messagesTotal` @return [Fixnum]

threads_total[RW]

The total number of threads in the mailbox. Corresponds to the JSON property `threadsTotal` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/gmail_v1/classes.rb, line 697
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/gmail_v1/classes.rb, line 702
def update!(**args)
  @email_address = args[:email_address] if args.key?(:email_address)
  @history_id = args[:history_id] if args.key?(:history_id)
  @messages_total = args[:messages_total] if args.key?(:messages_total)
  @threads_total = args[:threads_total] if args.key?(:threads_total)
end