Class: Google::Apis::GmailV1::Profile
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GmailV1::Profile
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmail_v1/classes.rb,
 generated/google/apis/gmail_v1/representations.rb,
 generated/google/apis/gmail_v1/representations.rb
Overview
Profile for a Gmail user.
Instance Attribute Summary collapse
- 
  
    
      #email_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user's email address. 
- 
  
    
      #history_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the mailbox's current history record. 
- 
  
    
      #messages_total  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of messages in the mailbox. 
- 
  
    
      #threads_total  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of threads in the mailbox. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Profile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Profile. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Profile
Returns a new instance of Profile
| 1128 1129 1130 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1128 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#email_address ⇒ String
The user's email address.
Corresponds to the JSON property emailAddress
| 1111 1112 1113 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1111 def email_address @email_address end | 
#history_id ⇒ Fixnum
The ID of the mailbox's current history record.
Corresponds to the JSON property historyId
| 1116 1117 1118 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1116 def history_id @history_id end | 
#messages_total ⇒ Fixnum
The total number of messages in the mailbox.
Corresponds to the JSON property messagesTotal
| 1121 1122 1123 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1121 def @messages_total end | 
#threads_total ⇒ Fixnum
The total number of threads in the mailbox.
Corresponds to the JSON property threadsTotal
| 1126 1127 1128 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1126 def threads_total @threads_total end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1133 1134 1135 1136 1137 1138 | # File 'generated/google/apis/gmail_v1/classes.rb', line 1133 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 |