{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-gmail/gmail-users-get-profile":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_get_profile","summary":"Gets the current user's Gmail profile.","description":"GET /gmail/v1/users/{userId}/profile","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-stop":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_stop","summary":"Turn off push notification delivery for the given user mailbox. For more information, see [Configure push…","description":"POST /gmail/v1/users/{userId}/stop","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-watch":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_watch","summary":"Set up or update a push notification watch on the given user mailbox. For more information, see [Configure…","description":"POST /gmail/v1/users/{userId}/watch","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_list","summary":"Lists the drafts in the user's mailbox. For more information, see [Create and send draft…","description":"GET /gmail/v1/users/{userId}/drafts","tags":["analytics"],"parameters":[{"name":"includeSpamTrash","in":"query","required":false,"description":"Include drafts from `SPAM` and `TRASH` in the results.","schema":{"type":"boolean","default":"false","description":"Include drafts from `SPAM` and `TRASH` in the results."}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of drafts to return. This field defaults to 100. The maximum allowed value for this field is 500.","schema":{"type":"integer","default":"100","description":"Maximum number of drafts to return. This field defaults to 100. The maximum allowed value for this field is 500."}},{"name":"pageToken","in":"query","required":false,"description":"Page token to retrieve a specific page of results in the list.","schema":{"type":"string","description":"Page token to retrieve a specific page of results in the list."}},{"name":"q","in":"query","required":false,"description":"Only return draft messages matching the specified query. Supports the same query format as the Gmail search box. For example,…","schema":{"type":"string","description":"Only return draft messages matching the specified query. Supports the same query format as the Gmail search box. For example,…"}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_create","summary":"Creates a draft with the `DRAFT` label. For more information, see [Create and send draft…","description":"POST /gmail/v1/users/{userId}/drafts","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_get","summary":"Gets the specified draft. For more information, see [Create and send draft…","description":"GET /gmail/v1/users/{userId}/drafts/{id}","tags":["analytics"],"parameters":[{"name":"format","in":"query","required":false,"description":"The format to return the draft in.","schema":{"type":"string","enum":["minimal","full","raw","metadata"],"default":"full","description":"The format to return the draft in."}},{"name":"id","in":"query","required":true,"description":"The ID of the draft to retrieve.","schema":{"type":"string","description":"The ID of the draft to retrieve."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-update":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_update","summary":"Replaces a draft's content. For more information, see [Create and send draft…","description":"PUT /gmail/v1/users/{userId}/drafts/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId","body"],"properties":{"id":{"type":"string","description":"The ID of the draft to update."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_delete","summary":"Immediately and permanently deletes the specified draft. Does not simply trash it. For more information, see…","description":"DELETE /gmail/v1/users/{userId}/drafts/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the draft to delete."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-drafts-send":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_drafts_send","summary":"Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. For more…","description":"POST /gmail/v1/users/{userId}/drafts/send","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-history-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_history_list","summary":"Lists the history of all changes to the given mailbox. History results are returned in chronological order…","description":"GET /gmail/v1/users/{userId}/history","tags":["analytics"],"parameters":[{"name":"historyTypes","in":"query","required":false,"description":"History types to be returned by the function","schema":{"type":"string","enum":["messageAdded","messageDeleted","labelAdded","labelRemoved"],"description":"History types to be returned by the function"}},{"name":"labelId","in":"query","required":false,"description":"Only return messages with a label matching the ID.","schema":{"type":"string","description":"Only return messages with a label matching the ID."}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of history records to return. This field defaults to 100. The maximum allowed value for this field is 500.","schema":{"type":"integer","default":"100","description":"Maximum number of history records to return. This field defaults to 100. The maximum allowed value for this field is 500."}},{"name":"pageToken","in":"query","required":false,"description":"Page token to retrieve a specific page of results in the list.","schema":{"type":"string","description":"Page token to retrieve a specific page of results in the list."}},{"name":"startHistoryId","in":"query","required":false,"description":"Required. Returns history records after the specified `startHistoryId`. The supplied `startHistoryId` should be obtained from the…","schema":{"type":"string","description":"Required. Returns history records after the specified `startHistoryId`. The supplied `startHistoryId` should be obtained from the…"}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_list","summary":"Lists all labels in the user's mailbox. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/labels","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_create","summary":"Creates a label. For more information, see [Manage…","description":"POST /gmail/v1/users/{userId}/labels","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_get","summary":"Gets the specified label. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/labels/{id}","tags":["analytics"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the label to retrieve.","schema":{"type":"string","description":"The ID of the label to retrieve."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-update":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_update","summary":"Updates the specified label. For more information, see [Manage…","description":"PUT /gmail/v1/users/{userId}/labels/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId","body"],"properties":{"id":{"type":"string","description":"The ID of the label to update."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-patch":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_patch","summary":"Patch the specified label. For more information, see [Manage…","description":"PATCH /gmail/v1/users/{userId}/labels/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId","body"],"properties":{"id":{"type":"string","description":"The ID of the label to update."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-labels-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_labels_delete","summary":"Immediately and permanently deletes the specified label and removes it from any messages and threads that…","description":"DELETE /gmail/v1/users/{userId}/labels/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the label to delete."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-batch-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_batch_delete","summary":"Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even…","description":"POST /gmail/v1/users/{userId}/messages/batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-batch-modify":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_batch_modify","summary":"Modifies the labels and the Classification Label values on the specified messages. For administrators…","description":"POST /gmail/v1/users/{userId}/messages/batchModify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_get","summary":"Gets the specified message.","description":"GET /gmail/v1/users/{userId}/messages/{id}","tags":["analytics"],"parameters":[{"name":"format","in":"query","required":false,"description":"The format to return the message in.","schema":{"type":"string","enum":["minimal","full","raw","metadata"],"default":"full","description":"The format to return the message in."}},{"name":"id","in":"query","required":true,"description":"The ID of the message to retrieve. This ID is usually retrieved using `messages.list`. The ID is also contained in the result when a…","schema":{"type":"string","description":"The ID of the message to retrieve. This ID is usually retrieved using `messages.list`. The ID is also contained in the result when a…"}},{"name":"metadataHeaders","in":"query","required":false,"description":"When given and format is `METADATA`, only include headers specified.","schema":{"type":"string","description":"When given and format is `METADATA`, only include headers specified."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_delete","summary":"Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer…","description":"DELETE /gmail/v1/users/{userId}/messages/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the message to delete."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-import":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_import","summary":"Imports a message into only this user's mailbox, with standard email delivery scanning and classification…","description":"POST /gmail/v1/users/{userId}/messages/import","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"deleted":{"type":"boolean","default":"false","description":"Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google…"},"internalDateSource":{"type":"string","enum":["receivedTime","dateHeader"],"default":"dateHeader","description":"Source for Gmail's internal date of the message."},"neverMarkSpam":{"type":"boolean","default":"false","description":"Ignore the Gmail spam classifier decision and never mark this email as SPAM in the mailbox."},"processForCalendar":{"type":"boolean","default":"false","description":"Process calendar invites in the email and add any extracted meetings to the Google Calendar for this user."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_list","summary":"Lists the messages in the user's mailbox. For more information, see [List Gmail…","description":"GET /gmail/v1/users/{userId}/messages","tags":["analytics"],"parameters":[{"name":"includeSpamTrash","in":"query","required":false,"description":"Include messages from `SPAM` and `TRASH` in the results.","schema":{"type":"boolean","default":"false","description":"Include messages from `SPAM` and `TRASH` in the results."}},{"name":"labelIds","in":"query","required":false,"description":"Only return messages with labels that match all of the specified label IDs. Messages in a thread might have labels that other messages in…","schema":{"type":"string","description":"Only return messages with labels that match all of the specified label IDs. Messages in a thread might have labels that other messages in…"}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of messages to return. This field defaults to 100. The maximum allowed value for this field is 500.","schema":{"type":"integer","default":"100","description":"Maximum number of messages to return. This field defaults to 100. The maximum allowed value for this field is 500."}},{"name":"pageToken","in":"query","required":false,"description":"Page token to retrieve a specific page of results in the list.","schema":{"type":"string","description":"Page token to retrieve a specific page of results in the list."}},{"name":"q","in":"query","required":false,"description":"Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example,…","schema":{"type":"string","description":"Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example,…"}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-insert":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_insert","summary":"Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning…","description":"POST /gmail/v1/users/{userId}/messages","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"deleted":{"type":"boolean","default":"false","description":"Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google…"},"internalDateSource":{"type":"string","enum":["receivedTime","dateHeader"],"default":"receivedTime","description":"Source for Gmail's internal date of the message."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-modify":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_modify","summary":"Modifies the labels and the Classification Label values on the specified message. For administrators…","description":"POST /gmail/v1/users/{userId}/messages/{id}/modify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId","body"],"properties":{"id":{"type":"string","description":"The ID of the message to modify."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-send":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_send","summary":"Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information,…","description":"POST /gmail/v1/users/{userId}/messages/send","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-trash":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_trash","summary":"Moves the specified message to the trash.","description":"POST /gmail/v1/users/{userId}/messages/{id}/trash","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the message to Trash."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-untrash":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_untrash","summary":"Removes the specified message from the trash.","description":"POST /gmail/v1/users/{userId}/messages/{id}/untrash","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the message to remove from Trash."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-messages-attachments-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_messages_attachments_get","summary":"Gets the specified message attachment.","description":"GET /gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}","tags":["analytics"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the attachment.","schema":{"type":"string","description":"The ID of the attachment."}},{"name":"messageId","in":"query","required":true,"description":"The ID of the message containing the attachment.","schema":{"type":"string","description":"The ID of the message containing the attachment."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-get-auto-forwarding":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_get_auto_forwarding","summary":"Gets the auto-forwarding setting for the specified account. For more information, see [Manage email…","description":"GET /gmail/v1/users/{userId}/settings/autoForwarding","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-update-auto-forwarding":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_update_auto_forwarding","summary":"Updates the auto-forwarding setting for the specified account. A verified forwarding address must be…","description":"PUT /gmail/v1/users/{userId}/settings/autoForwarding","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-get-imap":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_get_imap","summary":"Gets IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail…","description":"GET /gmail/v1/users/{userId}/settings/imap","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-update-imap":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_update_imap","summary":"Updates IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail…","description":"PUT /gmail/v1/users/{userId}/settings/imap","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-get-language":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_get_language","summary":"Gets language settings. For more information, see [Manage language…","description":"GET /gmail/v1/users/{userId}/settings/language","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-update-language":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_update_language","summary":"Updates language settings. For more information, see [Manage language…","description":"PUT /gmail/v1/users/{userId}/settings/language","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-get-pop":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_get_pop","summary":"Gets POP settings. For more information, see [Configure POP and IMAP settings with the Gmail…","description":"GET /gmail/v1/users/{userId}/settings/pop","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-update-pop":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_update_pop","summary":"Updates POP settings. For more information, see [Configure POP and IMAP settings with the Gmail…","description":"PUT /gmail/v1/users/{userId}/settings/pop","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-get-vacation":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_get_vacation","summary":"Gets vacation responder settings. For more information, see [Manage vacation settings with the Gmail…","description":"GET /gmail/v1/users/{userId}/settings/vacation","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-update-vacation":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_update_vacation","summary":"Updates vacation responder settings. For more information, see [Manage vacation settings with the Gmail…","description":"PUT /gmail/v1/users/{userId}/settings/vacation","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-identities-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_identities_list","summary":"Lists the client-side encrypted identities for an authenticated user. For administrators managing identities…","description":"GET /gmail/v1/users/{userId}/settings/cse/identities","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The number of identities to return. If not provided, the page size will default to 20 entries.","schema":{"type":"integer","default":"20","description":"The number of identities to return. If not provided, the page size will default to 20 entries."}},{"name":"pageToken","in":"query","required":false,"description":"Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of…","schema":{"type":"string","description":"Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of…"}},{"name":"userId","in":"query","required":true,"description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.","schema":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-identities-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_identities_create","summary":"Creates and configures a client-side encryption identity that's authorized to send mail from the user…","description":"POST /gmail/v1/users/{userId}/settings/cse/identities","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-identities-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_identities_get","summary":"Retrieves a client-side encryption identity configuration. For administrators managing identities and…","description":"GET /gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}","tags":["analytics"],"parameters":[{"name":"cseEmailAddress","in":"query","required":true,"description":"The primary email address associated with the client-side encryption identity configuration that's retrieved.","schema":{"type":"string","description":"The primary email address associated with the client-side encryption identity configuration that's retrieved."}},{"name":"userId","in":"query","required":true,"description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.","schema":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-identities-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_identities_delete","summary":"Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send…","description":"DELETE /gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cseEmailAddress","userId"],"properties":{"cseEmailAddress":{"type":"string","description":"The primary email address associated with the client-side encryption identity configuration that's removed."},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-identities-patch":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_identities_patch","summary":"Associates a different key pair with an existing client-side encryption identity. The updated key pair must…","description":"PATCH /gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["emailAddress","userId","body"],"properties":{"emailAddress":{"type":"string","description":"The email address of the client-side encryption identity to update."},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_list","summary":"Lists client-side encryption key pairs for an authenticated user. For administrators managing identities and…","description":"GET /gmail/v1/users/{userId}/settings/cse/keypairs","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The number of key pairs to return. If not provided, the page size will default to 20 entries.","schema":{"type":"integer","default":"20","description":"The number of key pairs to return. If not provided, the page size will default to 20 entries."}},{"name":"pageToken","in":"query","required":false,"description":"Pagination token indicating which page of key pairs to return. If the token is not supplied, then the API will return the first page of…","schema":{"type":"string","description":"Pagination token indicating which page of key pairs to return. If the token is not supplied, then the API will return the first page of…"}},{"name":"userId","in":"query","required":true,"description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.","schema":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_create","summary":"Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata…","description":"POST /gmail/v1/users/{userId}/settings/cse/keypairs","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"chainValidation":{"type":"string","enum":["all","none"],"default":"all","description":"The type of certificate chain validation to perform at creation. The request will be rejected if the uploaded chain fails to satisfy the…"},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-disable":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_disable","summary":"Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to…","description":"POST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyPairId","userId","body"],"properties":{"keyPairId":{"type":"string","description":"The identifier of the key pair to turn off."},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-enable":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_enable","summary":"Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any…","description":"POST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyPairId","userId","body"],"properties":{"keyPairId":{"type":"string","description":"The identifier of the key pair to turn on."},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_get","summary":"Retrieves an existing client-side encryption key pair. For administrators managing identities and keypairs…","description":"GET /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}","tags":["analytics"],"parameters":[{"name":"keyPairId","in":"query","required":true,"description":"The identifier of the key pair to retrieve.","schema":{"type":"string","description":"The identifier of the key pair to retrieve."}},{"name":"userId","in":"query","required":true,"description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.","schema":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-cse-keypairs-obliterate":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_cse_keypairs_obliterate","summary":"Deletes a client-side encryption key pair permanently and immediately. You can only permanently delete key…","description":"POST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyPairId","userId","body"],"properties":{"keyPairId":{"type":"string","description":"The identifier of the key pair to obliterate."},"userId":{"type":"string","default":"me","description":"The requester's primary email address. To indicate the authenticated user, you can use the special value `me`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-delegates-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_delegates_list","summary":"Lists the delegates for the specified account. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/settings/delegates","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-delegates-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_delegates_create","summary":"Adds a delegate with its verification status set directly to `accepted`, without sending any verification…","description":"POST /gmail/v1/users/{userId}/settings/delegates","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-delegates-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_delegates_get","summary":"Gets the specified delegate. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}","tags":["analytics"],"parameters":[{"name":"delegateEmail","in":"query","required":true,"description":"The email address of the user whose delegate relationship is to be retrieved.","schema":{"type":"string","description":"The email address of the user whose delegate relationship is to be retrieved."}},{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-delegates-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_delegates_delete","summary":"Removes the specified delegate (which can be of any verification status), and revokes any verification that…","description":"DELETE /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["delegateEmail","userId"],"properties":{"delegateEmail":{"type":"string","description":"The email address of the user to be removed as a delegate."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-filters-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_filters_list","summary":"Lists the message filters of a Gmail user. For more information, see [Manage Gmail…","description":"GET /gmail/v1/users/{userId}/settings/filters","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-filters-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_filters_create","summary":"Creates a filter. Note: you can only create a maximum of 1,000 filters. For more information, see [Manage…","description":"POST /gmail/v1/users/{userId}/settings/filters","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-filters-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_filters_get","summary":"Gets a filter. For more information, see [Manage Gmail…","description":"GET /gmail/v1/users/{userId}/settings/filters/{id}","tags":["analytics"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the filter to be fetched.","schema":{"type":"string","description":"The ID of the filter to be fetched."}},{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-filters-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_filters_delete","summary":"Immediately and permanently deletes the specified filter. For more information, see [Manage Gmail…","description":"DELETE /gmail/v1/users/{userId}/settings/filters/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the filter to be deleted."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-forwarding-addresses-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_forwarding_addresses_list","summary":"Lists the forwarding addresses for the specified account. For more information, see [Manage email…","description":"GET /gmail/v1/users/{userId}/settings/forwardingAddresses","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-forwarding-addresses-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_forwarding_addresses_create","summary":"Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient…","description":"POST /gmail/v1/users/{userId}/settings/forwardingAddresses","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-forwarding-addresses-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_forwarding_addresses_get","summary":"Gets the specified forwarding address. For more information, see [Manage email…","description":"GET /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}","tags":["analytics"],"parameters":[{"name":"forwardingEmail","in":"query","required":true,"description":"The forwarding address to be retrieved.","schema":{"type":"string","description":"The forwarding address to be retrieved."}},{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-forwarding-addresses-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_forwarding_addresses_delete","summary":"Deletes the specified forwarding address and revokes any verification that may have been required. For more…","description":"DELETE /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["forwardingEmail","userId"],"properties":{"forwardingEmail":{"type":"string","description":"The forwarding address to be deleted."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_list","summary":"Lists the send-as aliases for the specified account. The result includes the primary send-as address…","description":"GET /gmail/v1/users/{userId}/settings/sendAs","tags":["analytics"],"parameters":[{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-create":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_create","summary":"Creates a custom \"from\" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the…","description":"POST /gmail/v1/users/{userId}/settings/sendAs","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","body"],"properties":{"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_get","summary":"Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of…","description":"GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}","tags":["analytics"],"parameters":[{"name":"sendAsEmail","in":"query","required":true,"description":"The send-as alias to be retrieved.","schema":{"type":"string","description":"The send-as alias to be retrieved."}},{"name":"userId","in":"query","required":true,"description":"User's email address. The special value \"me\" can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-update":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_update","summary":"Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the…","description":"PUT /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sendAsEmail","userId","body"],"properties":{"sendAsEmail":{"type":"string","description":"The send-as alias to be updated."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-patch":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_patch","summary":"Patch the specified send-as alias. For more information, see [Manage aliases and signatures with the Gmail…","description":"PATCH /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sendAsEmail","userId","body"],"properties":{"sendAsEmail":{"type":"string","description":"The send-as alias to be updated."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_delete","summary":"Deletes the specified send-as alias. Revokes any verification that may have been required for using it. For…","description":"DELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sendAsEmail","userId"],"properties":{"sendAsEmail":{"type":"string","description":"The send-as alias to be deleted."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-verify":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_verify","summary":"Sends a verification email to the specified send-as alias address. The verification status must be…","description":"POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sendAsEmail","userId"],"properties":{"sendAsEmail":{"type":"string","description":"The send-as alias to be verified."},"userId":{"type":"string","default":"me","description":"User's email address. The special value \"me\" can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-smime-info-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_smime_info_get","summary":"Gets the specified S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME…","description":"GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}","tags":["analytics"],"parameters":[{"name":"id","in":"query","required":true,"description":"The immutable ID for the SmimeInfo.","schema":{"type":"string","description":"The immutable ID for the SmimeInfo."}},{"name":"sendAsEmail","in":"query","required":true,"description":"The email address that appears in the \"From:\" header for mail sent using this alias.","schema":{"type":"string","description":"The email address that appears in the \"From:\" header for mail sent using this alias."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-smime-info-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_smime_info_delete","summary":"Deletes the specified S/MIME config for the specified send-as alias. For more information, see [Manage…","description":"DELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","sendAsEmail","userId"],"properties":{"id":{"type":"string","description":"The immutable ID for the SmimeInfo."},"sendAsEmail":{"type":"string","description":"The email address that appears in the \"From:\" header for mail sent using this alias."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-smime-info-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_smime_info_list","summary":"Lists S/MIME configs for the specified send-as alias. For more information, see [Manage S/MIME certificates…","description":"GET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo","tags":["analytics"],"parameters":[{"name":"sendAsEmail","in":"query","required":true,"description":"The email address that appears in the \"From:\" header for mail sent using this alias.","schema":{"type":"string","description":"The email address that appears in the \"From:\" header for mail sent using this alias."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-smime-info-insert":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_smime_info_insert","summary":"Insert (upload) the given S/MIME config for the specified send-as alias. Note that `pkcs12` format is…","description":"POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sendAsEmail","userId","body"],"properties":{"sendAsEmail":{"type":"string","description":"The email address that appears in the \"From:\" header for mail sent using this alias."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-settings-send-as-smime-info-set-default":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_settings_send_as_smime_info_set_default","summary":"Sets the default S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME…","description":"POST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","sendAsEmail","userId"],"properties":{"id":{"type":"string","description":"The immutable ID for the SmimeInfo."},"sendAsEmail":{"type":"string","description":"The email address that appears in the \"From:\" header for mail sent using this alias."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-get":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_get","summary":"Gets the specified thread. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/threads/{id}","tags":["analytics"],"parameters":[{"name":"format","in":"query","required":false,"description":"The format to return the messages in.","schema":{"type":"string","enum":["full","metadata","minimal"],"default":"full","description":"The format to return the messages in."}},{"name":"id","in":"query","required":true,"description":"The ID of the thread to retrieve.","schema":{"type":"string","description":"The ID of the thread to retrieve."}},{"name":"metadataHeaders","in":"query","required":false,"description":"When given and format is METADATA, only include headers specified.","schema":{"type":"string","description":"When given and format is METADATA, only include headers specified."}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-delete":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_delete","summary":"Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also…","description":"DELETE /gmail/v1/users/{userId}/threads/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"ID of the Thread to delete."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-list":{"get":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_list","summary":"Lists the threads in the user's mailbox. For more information, see [Manage…","description":"GET /gmail/v1/users/{userId}/threads","tags":["analytics"],"parameters":[{"name":"includeSpamTrash","in":"query","required":false,"description":"Include threads from `SPAM` and `TRASH` in the results.","schema":{"type":"boolean","default":"false","description":"Include threads from `SPAM` and `TRASH` in the results."}},{"name":"labelIds","in":"query","required":false,"description":"Only return threads with labels that match all of the specified label IDs.","schema":{"type":"string","description":"Only return threads with labels that match all of the specified label IDs."}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of threads to return. This field defaults to 100. The maximum allowed value for this field is 500.","schema":{"type":"integer","default":"100","description":"Maximum number of threads to return. This field defaults to 100. The maximum allowed value for this field is 500."}},{"name":"pageToken","in":"query","required":false,"description":"Page token to retrieve a specific page of results in the list.","schema":{"type":"string","description":"Page token to retrieve a specific page of results in the list."}},{"name":"q","in":"query","required":false,"description":"Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example,…","schema":{"type":"string","description":"Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example,…"}},{"name":"userId","in":"query","required":true,"description":"The user's email address. The special value `me` can be used to indicate the authenticated user.","schema":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-modify":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_modify","summary":"Modifies the labels applied to the thread. This applies to all messages in the thread. For more information,…","description":"POST /gmail/v1/users/{userId}/threads/{id}/modify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId","body"],"properties":{"id":{"type":"string","description":"The ID of the thread to modify."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-trash":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_trash","summary":"Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.…","description":"POST /gmail/v1/users/{userId}/threads/{id}/trash","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the thread to Trash."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-gmail/gmail-users-threads-untrash":{"post":{"operationId":"analytics_googleapis_gmail_gmail_users_threads_untrash","summary":"Removes the specified thread from the trash. Any messages that belong to the thread are also removed from…","description":"POST /gmail/v1/users/{userId}/threads/{id}/untrash","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","userId"],"properties":{"id":{"type":"string","description":"The ID of the thread to remove from Trash."},"userId":{"type":"string","default":"me","description":"The user's email address. The special value `me` can be used to indicate the authenticated user."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}