gmail/v1 library
Gmail API - v1
The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.
For more information, see developers.google.com/gmail/api/
Create an instance of GmailApi to access these resources:
Classes
- AutoForwarding
- Auto-forwarding settings for an account.
- BatchDeleteMessagesRequest
- BatchModifyMessagesRequest
- ByteRange
- Specifies a range of media.
- CseIdentity
- The client-side encryption (CSE) configuration for the email address of an authenticated user.
- CseKeyPair
- A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key.
- CsePrivateKeyMetadata
- Metadata for a private key instance.
- Delegate
- Settings for a delegate.
- DownloadOptions
- Represents options for downloading media.
- Draft
- A draft email in the user's mailbox.
- Filter
- Resource definition for Gmail filters.
- FilterAction
- A set of actions to perform on a message.
- FilterCriteria
- Message matching criteria.
- ForwardingAddress
- Settings for a forwarding address.
- GmailApi
- The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.
- HardwareKeyMetadata
- Metadata for hardware keys.
- History
- A record of a change to the user's mailbox.
- HistoryLabelAdded
- HistoryLabelRemoved
- HistoryMessageAdded
- HistoryMessageDeleted
- ImapSettings
- IMAP settings for an account.
- KaclsKeyMetadata
- Metadata for private keys managed by an external key access control list service.
- Label
- Labels are used to categorize messages and threads within the user's mailbox.
- LabelColor
- LanguageSettings
- Language settings for an account.
- ListCseIdentitiesResponse
- ListCseKeyPairsResponse
- ListDelegatesResponse
- Response for the ListDelegates method.
- ListDraftsResponse
- ListFiltersResponse
- Response for the ListFilters method.
- ListForwardingAddressesResponse
- Response for the ListForwardingAddresses method.
- ListHistoryResponse
- ListLabelsResponse
- ListMessagesResponse
- ListSendAsResponse
- Response for the ListSendAs method.
- ListSmimeInfoResponse
- ListThreadsResponse
- Media
- Represents a media consisting of a stream of bytes, a content type and a length.
- Message
- An email message.
- MessagePart
- A single MIME message part.
- MessagePartBody
- The body of a single MIME message part.
- MessagePartHeader
- ModifyMessageRequest
- ModifyThreadRequest
- PartialDownloadOptions
- Options for downloading a Media.
- PopSettings
- POP settings for an account.
- Profile
- Profile for a Gmail user.
- ResumableUploadOptions
- Specifies options for resumable uploads.
- SendAs
- Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address.
- SignAndEncryptKeyPairs
- The configuration of a CSE identity that uses different key pairs for signing and encryption.
- SmimeInfo
- An S/MIME email config.
- SmtpMsa
- Configuration for communication with an SMTP service.
- Thread
- A collection of messages representing a conversation.
- UploadOptions
- Represents options for uploading a Media.
- UsersDraftsResource
- UsersHistoryResource
- UsersLabelsResource
- UsersMessagesAttachmentsResource
- UsersMessagesResource
- UsersResource
- UsersSettingsCseIdentitiesResource
- UsersSettingsCseKeypairsResource
- UsersSettingsCseResource
- UsersSettingsDelegatesResource
- UsersSettingsFiltersResource
- UsersSettingsForwardingAddressesResource
- UsersSettingsResource
- UsersSettingsSendAsResource
- UsersSettingsSendAsSmimeInfoResource
- UsersThreadsResource
- VacationSettings
- Vacation auto-reply settings for an account.
- WatchRequest
- Set up or update a new push notification watch on this user's mailbox.
- WatchResponse
- Push notification watch response.
Typedefs
- DisableCseKeyPairRequest = $Empty
- Requests to turn off a client-side encryption key pair.
- EnableCseKeyPairRequest = $Empty
- Requests to turn on a client-side encryption key pair.
- ObliterateCseKeyPairRequest = $Empty
- Request to obliterate a CSE key pair.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.