Skip to content

Commit cde7bf2

Browse files
feat: Automated regeneration of Gmail client (#13288)
Auto-created at 2025-04-03 13:13:51 +0000 using the toys pull request generator.
1 parent cfa309a commit cde7bf2

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

clients/gmail/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_gmail, "~> 0.16"}]
14+
[{:google_api_gmail, "~> 0.17"}]
1515
end
1616
```
1717

1818
## For more information
1919

20-
Product documentation is available at [https://developers.google.com/gmail/api/](https://developers.google.com/gmail/api/).
20+
Product documentation is available at [https://developers.google.com/workspace/gmail/api/](https://developers.google.com/workspace/gmail/api/).
2121

2222
Library reference documentation is published on Hexdocs at
2323
[https://hexdocs.pm/google_api_gmail](https://hexdocs.pm/google_api_gmail).

clients/gmail/lib/google_api/gmail/v1/api/users.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
26782678
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
26792679
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
26802680
* `:includeSpamTrash` (*type:* `boolean()`) - Include messages from `SPAM` and `TRASH` in the results.
2681-
* `:labelIds` (*type:* `list(String.t)`) - Only return messages with labels that match all of the specified label IDs. Messages in a thread might have labels that other messages in the same thread don't have. To learn more, see [Manage labels on messages and threads](https://developers.google.com/gmail/api/guides/labels#manage_labels_on_messages_threads).
2681+
* `:labelIds` (*type:* `list(String.t)`) - Only return messages with labels that match all of the specified label IDs. Messages in a thread might have labels that other messages in the same thread don't have. To learn more, see [Manage labels on messages and threads](https://developers.google.com/workspace/gmail/api/guides/labels#manage_labels_on_messages_threads).
26822682
* `:maxResults` (*type:* `integer()`) - Maximum number of messages to return. This field defaults to 100. The maximum allowed value for this field is 500.
26832683
* `:pageToken` (*type:* `String.t`) - Page token to retrieve a specific page of results in the list.
26842684
* `:q` (*type:* `String.t`) - Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, `"from:[email protected] rfc822msgid: is:unread"`. Parameter cannot be used when accessing the api using the gmail.metadata scope.
@@ -2799,7 +2799,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
27992799
end
28002800

28012801
@doc """
2802-
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending).
2802+
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/workspace/gmail/api/guides/sending).
28032803
28042804
## Parameters
28052805
@@ -2861,7 +2861,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
28612861
end
28622862

28632863
@doc """
2864-
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending).
2864+
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/workspace/gmail/api/guides/sending).
28652865
28662866
## Parameters
28672867
@@ -2943,7 +2943,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
29432943
end
29442944

29452945
@doc """
2946-
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending).
2946+
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/workspace/gmail/api/guides/sending).
29472947
29482948
## Parameters
29492949
@@ -3015,7 +3015,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
30153015
end
30163016

30173017
@doc """
3018-
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending).
3018+
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/workspace/gmail/api/guides/sending).
30193019
30203020
## Parameters
30213021

clients/gmail/lib/google_api/gmail/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Gmail.V1 do
2020
API client metadata for GoogleApi.Gmail.V1.
2121
"""
2222

23-
@discovery_revision "20240520"
23+
@discovery_revision "20250331"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/gmail/lib/google_api/gmail/v1/model/language_settings.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Gmail.V1.Model.LanguageSettings do
2121
2222
## Attributes
2323
24-
* `displayLanguage` (*type:* `String.t`, *default:* `nil`) - The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the "Language" dropdown in the Gmail settings for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).
24+
* `displayLanguage` (*type:* `String.t`, *default:* `nil`) - The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the "Language" dropdown in the Gmail settings for all available options, as described in the language settings help article. For a table of sample values, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings). Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/gmail/lib/google_api/gmail/v1/model/list_drafts_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Gmail.V1.Model.ListDraftsResponse do
2121
2222
## Attributes
2323
24-
* `drafts` (*type:* `list(GoogleApi.Gmail.V1.Model.Draft.t)`, *default:* `nil`) - List of drafts. Note that the `Message` property in each `Draft` resource only contains an `id` and a `threadId`. The messages.get method can fetch additional message details.
24+
* `drafts` (*type:* `list(GoogleApi.Gmail.V1.Model.Draft.t)`, *default:* `nil`) - List of drafts. Note that the `Message` property in each `Draft` resource only contains an `id` and a `threadId`. The [`messages.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/messages/get) method can fetch additional message details.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Token to retrieve the next page of results in the list.
2626
* `resultSizeEstimate` (*type:* `integer()`, *default:* `nil`) - Estimated total number of results.
2727
"""

clients/gmail/lib/google_api/gmail/v1/model/list_labels_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Gmail.V1.Model.ListLabelsResponse do
2121
2222
## Attributes
2323
24-
* `labels` (*type:* `list(GoogleApi.Gmail.V1.Model.Label.t)`, *default:* `nil`) - List of labels. Note that each label resource only contains an `id`, `name`, `messageListVisibility`, `labelListVisibility`, and `type`. The labels.get method can fetch additional label details.
24+
* `labels` (*type:* `list(GoogleApi.Gmail.V1.Model.Label.t)`, *default:* `nil`) - List of labels. Note that each label resource only contains an `id`, `name`, `messageListVisibility`, `labelListVisibility`, and `type`. The [`labels.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/labels/get) method can fetch additional label details.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/gmail/lib/google_api/gmail/v1/model/list_threads_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Gmail.V1.Model.ListThreadsResponse do
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Page token to retrieve the next page of results in the list.
2525
* `resultSizeEstimate` (*type:* `integer()`, *default:* `nil`) - Estimated total number of results.
26-
* `threads` (*type:* `list(GoogleApi.Gmail.V1.Model.Thread.t)`, *default:* `nil`) - List of threads. Note that each thread resource does not contain a list of `messages`. The list of `messages` for a given thread can be fetched using the threads.get method.
26+
* `threads` (*type:* `list(GoogleApi.Gmail.V1.Model.Thread.t)`, *default:* `nil`) - List of threads. Note that each thread resource does not contain a list of `messages`. The list of `messages` for a given thread can be fetched using the [`threads.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/threads/get) method.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/gmail/mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Gmail.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.16.0"
21+
@version "0.17.0"
2222

2323
def project() do
2424
[
@@ -59,7 +59,7 @@ defmodule GoogleApi.Gmail.Mixfile do
5959
licenses: ["Apache-2.0"],
6060
links: %{
6161
"GitHub" => "https://github.com/googleapis/elixir-google-api/tree/master/clients/gmail",
62-
"Homepage" => "https://developers.google.com/gmail/api/"
62+
"Homepage" => "https://developers.google.com/workspace/gmail/api/"
6363
}
6464
]
6565
end

0 commit comments

Comments
 (0)