Skip to content

Commit f3c35dc

Browse files
feat: Automated regeneration of gmail v1 client (googleapis#22349)
Auto-created at 2025-04-06 09:20:09 +0000 using the toys pull request generator.
1 parent 01abb1c commit f3c35dc

File tree

6 files changed

+28
-19
lines changed

6 files changed

+28
-19
lines changed

generated/google-apis-gmail_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-gmail_v1
22

3+
### v0.42.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250331
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.41.0 (2024-05-26)
49

510
* Regenerated from discovery document revision 20240520

generated/google-apis-gmail_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
7979

8080
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
8181

82-
The [product documentation](https://developers.google.com/gmail/api/) may provide guidance regarding the preferred client library to use.
82+
The [product documentation](https://developers.google.com/workspace/gmail/api/) may provide guidance regarding the preferred client library to use.
8383

8484
## Supported Ruby versions
8585

generated/google-apis-gmail_v1/lib/google/apis/gmail_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Apis
2424
# The Gmail API lets you view and manage Gmail mailbox data like threads,
2525
# messages, and labels.
2626
#
27-
# @see https://developers.google.com/gmail/api/
27+
# @see https://developers.google.com/workspace/gmail/api/
2828
module GmailV1
2929
# Version of the Gmail API this client connects to.
3030
# This is NOT the gem version.

generated/google-apis-gmail_v1/lib/google/apis/gmail_v1/classes.rb

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -862,11 +862,12 @@ class LanguageSettings
862862
# example `en-GB`, `fr` or `ja` for British English, French, or Japanese
863863
# respectively). The set of languages supported by Gmail evolves over time, so
864864
# please refer to the "Language" dropdown in the Gmail settings for all
865-
# available options, as described in the language settings help article. A table
866-
# of sample values is also provided in the Managing Language Settings guide Not
867-
# all Gmail clients can display the same set of languages. In the case that a
868-
# user's display language is not available for use on a particular client, said
869-
# client automatically chooses to display in the closest supported variant (or a
865+
# available options, as described in the language settings help article. For a
866+
# table of sample values, see [Manage language settings](https://developers.
867+
# google.com/workspace/gmail/api/guides/language-settings). Not all Gmail
868+
# clients can display the same set of languages. In the case that a user's
869+
# display language is not available for use on a particular client, said client
870+
# automatically chooses to display in the closest supported variant (or a
870871
# reasonable default).
871872
# Corresponds to the JSON property `displayLanguage`
872873
# @return [String]
@@ -961,8 +962,9 @@ class ListDraftsResponse
961962
include Google::Apis::Core::Hashable
962963

963964
# List of drafts. Note that the `Message` property in each `Draft` resource only
964-
# contains an `id` and a `threadId`. The messages.get method can fetch
965-
# additional message details.
965+
# contains an `id` and a `threadId`. The [`messages.get`](https://developers.
966+
# google.com/workspace/gmail/api/v1/reference/users/messages/get) method can
967+
# fetch additional message details.
966968
# Corresponds to the JSON property `drafts`
967969
# @return [Array<Google::Apis::GmailV1::Draft>]
968970
attr_accessor :drafts
@@ -1064,8 +1066,9 @@ class ListLabelsResponse
10641066
include Google::Apis::Core::Hashable
10651067

10661068
# List of labels. Note that each label resource only contains an `id`, `name`, `
1067-
# messageListVisibility`, `labelListVisibility`, and `type`. The labels.get
1068-
# method can fetch additional label details.
1069+
# messageListVisibility`, `labelListVisibility`, and `type`. The [`labels.get`](
1070+
# https://developers.google.com/workspace/gmail/api/v1/reference/users/labels/
1071+
# get) method can fetch additional label details.
10691072
# Corresponds to the JSON property `labels`
10701073
# @return [Array<Google::Apis::GmailV1::Label>]
10711074
attr_accessor :labels
@@ -1166,8 +1169,9 @@ class ListThreadsResponse
11661169
attr_accessor :result_size_estimate
11671170

11681171
# List of threads. Note that each thread resource does not contain a list of `
1169-
# messages`. The list of `messages` for a given thread can be fetched using the
1170-
# threads.get method.
1172+
# messages`. The list of `messages` for a given thread can be fetched using the [
1173+
# `threads.get`](https://developers.google.com/workspace/gmail/api/v1/reference/
1174+
# users/threads/get) method.
11711175
# Corresponds to the JSON property `threads`
11721176
# @return [Array<Google::Apis::GmailV1::Thread>]
11731177
attr_accessor :threads

generated/google-apis-gmail_v1/lib/google/apis/gmail_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GmailV1
1818
# Version of the google-apis-gmail_v1 gem
19-
GEM_VERSION = "0.41.0"
19+
GEM_VERSION = "0.42.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240520"
25+
REVISION = "20250331"
2626
end
2727
end
2828
end

generated/google-apis-gmail_v1/lib/google/apis/gmail_v1/service.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module GmailV1
3131
# Gmail = Google::Apis::GmailV1 # Alias the module
3232
# service = Gmail::GmailService.new
3333
#
34-
# @see https://developers.google.com/gmail/api/
34+
# @see https://developers.google.com/workspace/gmail/api/
3535
class GmailService < Google::Apis::Core::BaseService
3636
DEFAULT_ENDPOINT_TEMPLATE = "https://gmail.$UNIVERSE_DOMAIN$/"
3737

@@ -925,7 +925,7 @@ def insert_user_message(user_id, message_object = nil, deleted: nil, internal_da
925925
# Only return messages with labels that match all of the specified label IDs.
926926
# Messages in a thread might have labels that other messages in the same thread
927927
# don't have. To learn more, see [Manage labels on messages and threads](https://
928-
# developers.google.com/gmail/api/guides/labels#
928+
# developers.google.com/workspace/gmail/api/guides/labels#
929929
# manage_labels_on_messages_threads).
930930
# @param [Fixnum] max_results
931931
# Maximum number of messages to return. This field defaults to 100. The maximum
@@ -1008,7 +1008,7 @@ def modify_message(user_id, id, modify_message_request_object = nil, fields: nil
10081008

10091009
# Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc`
10101010
# headers. For example usage, see [Sending email](https://developers.google.com/
1011-
# gmail/api/guides/sending).
1011+
# workspace/gmail/api/guides/sending).
10121012
# @param [String] user_id
10131013
# The user's email address. The special value `me` can be used to indicate the
10141014
# authenticated user.

0 commit comments

Comments
 (0)