Namespace Google.Apis.Gmail.v1.Data
Classes
AutoForwarding
Auto-forwarding settings for an account.
BatchDeleteMessagesRequest
BatchModifyMessagesRequest
ClassificationLabelFieldValue
Field values for a classification label.
ClassificationLabelValue
Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. Only used for Google Workspace accounts. Learn more about classification labels.
CseIdentity
The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE
configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email
messages. For administrators managing identities and keypairs for users in their organization, requests require
authorization with a service account
that has domain-wide delegation
authority to
impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing
their own identities and keypairs, requests require hardware key
encryption turned on and configured.
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. Gmail uses the key pair to complete the following tasks: - Sign outgoing
client-side encrypted messages. - Save and reopen drafts of client-side encrypted messages. - Save and reopen
sent messages. - Decrypt incoming or archived S/MIME messages. For administrators managing identities and
keypairs for users in their organization, requests require authorization with a service
account that has domain-wide delegation
authority to
impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing
their own identities and keypairs, requests require hardware key
encryption turned on and configured.
CsePrivateKeyMetadata
Metadata for a private key instance.
Delegate
Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates.
DisableCseKeyPairRequest
Requests to turn off a client-side encryption key pair.
Draft
A draft email in the user's mailbox.
EnableCseKeyPairRequest
Requests to turn on a client-side encryption key pair.
Filter
Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.
FilterAction
A set of actions to perform on a message.
FilterCriteria
Message matching criteria.
ForwardingAddress
Settings for a forwarding address.
HardwareKeyMetadata
Metadata for hardware keys. If hardware key encryption is set up for the Google Workspace organization, users can optionally store their private key on their smart card and use it to sign and decrypt email messages in Gmail by inserting their smart card into a reader attached to their Windows device.
History
A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.
HistoryLabelAdded
HistoryLabelRemoved
HistoryMessageAdded
HistoryMessageDeleted
ImapSettings
IMAP settings for an account.
KaclsKeyMetadata
Metadata for private keys managed by an external key access control list service. For details about managing key access, see Google Workspace CSE API Reference.
Label
Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.
LabelColor
LanguageSettings
Language settings for an account. These settings correspond to the "Language settings" feature in the web interface.
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
Message
An email message.
MessagePart
A single MIME message part.
MessagePartBody
The body of a single MIME message part.
MessagePartHeader
ModifyMessageRequest
ModifyThreadRequest
ObliterateCseKeyPairRequest
Request to obliterate a CSE key pair.
PopSettings
POP settings for an account.
Profile
Profile for a Gmail user.
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. Send-as aliases correspond to the "Send Mail As" feature in the web interface.
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.
VacationSettings
Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface.
WatchRequest
Set up or update a new push notification watch on this user's mailbox.
WatchResponse
Push notification watch response.