Skip to content

Commit

Permalink
fix(gmail): update the API
Browse files Browse the repository at this point in the history
#### gmail:v1

The following keys were changed:
- resources.users.resources.messages.methods.import.parameters.deleted.description
- resources.users.resources.messages.methods.insert.parameters.deleted.description
- resources.users.resources.settings.resources.delegates.methods.create.description
- schemas.VacationSettings.properties.restrictToDomain.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 10, 2023
1 parent f746fe6 commit c6fa1dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions discovery/gmail-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@
"parameters": {
"deleted": {
"default": "false",
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1050,7 +1050,7 @@
"parameters": {
"deleted": {
"default": "false",
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2031,7 +2031,7 @@
"delegates": {
"methods": {
"create": {
"description": "Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. The delegate user must be a member of the same G Suite organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a G Suite organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.",
"description": "Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. The delegate user must be a member of the same Google Workspace organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a Google Workspace organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.",
"flatPath": "gmail/v1/users/{userId}/settings/delegates",
"httpMethod": "POST",
"id": "gmail.users.settings.delegates.create",
Expand Down Expand Up @@ -3077,7 +3077,7 @@
}
}
},
"revision": "20230123",
"revision": "20230206",
"rootUrl": "https://gmail.googleapis.com/",
"schemas": {
"AutoForwarding": {
Expand Down Expand Up @@ -4332,7 +4332,7 @@
"type": "boolean"
},
"restrictToDomain": {
"description": "Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.",
"description": "Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Workspace users.",
"type": "boolean"
},
"startTime": {
Expand Down
12 changes: 6 additions & 6 deletions src/apis/gmail/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ export namespace gmail_v1 {
*/
restrictToContacts?: boolean | null;
/**
* Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.
* Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Workspace users.
*/
restrictToDomain?: boolean | null;
/**
Expand Down Expand Up @@ -4157,7 +4157,7 @@ export namespace gmail_v1 {
*
* // Do the magic
* const res = await gmail.users.messages.import({
* // Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.
* // Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.
* deleted: 'placeholder-value',
* // Source for Gmail's internal date of the message.
* internalDateSource: 'placeholder-value',
Expand Down Expand Up @@ -4329,7 +4329,7 @@ export namespace gmail_v1 {
*
* // Do the magic
* const res = await gmail.users.messages.insert({
* // Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.
* // Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.
* deleted: 'placeholder-value',
* // Source for Gmail's internal date of the message.
* internalDateSource: 'placeholder-value',
Expand Down Expand Up @@ -5273,7 +5273,7 @@ export namespace gmail_v1 {
export interface Params$Resource$Users$Messages$Import
extends StandardParameters {
/**
* Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.
* Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.
*/
deleted?: boolean;
/**
Expand Down Expand Up @@ -5316,7 +5316,7 @@ export namespace gmail_v1 {
export interface Params$Resource$Users$Messages$Insert
extends StandardParameters {
/**
* Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.
* Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.
*/
deleted?: boolean;
/**
Expand Down Expand Up @@ -8861,7 +8861,7 @@ export namespace gmail_v1 {
}

/**
* Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. The delegate user must be a member of the same G Suite organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a G Suite organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.
* Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. The delegate user must be a member of the same Google Workspace organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a Google Workspace organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.
* @example
* ```js
* // Before running the sample:
Expand Down

0 comments on commit c6fa1dc

Please sign in to comment.