google-apis-gmail_v1 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0f425de0b273e36c19da0edb538f9bb0f112bfe3c27878a58d4c6333daf9d47
4
- data.tar.gz: 7cea496de0354bc231073dedf83e1633d1a4b4e48823c51010bef145377bf797
3
+ metadata.gz: 67ad2f52dcabcfec8813c6a51386129488980cd879c35a10725058996b34c2c3
4
+ data.tar.gz: d0c1b920bac90bf273565f636808de25cb6782d03d29a670eacd8e2758461e01
5
5
  SHA512:
6
- metadata.gz: 56503b372e3c748855e6d844edfe6ed2545c1ad9f3f6b2b79d59735a7140fa12fdd19984e19b603799d3f6be27144957d5863ff5670a23aba321ae3697daaf36
7
- data.tar.gz: d96f9ddf6528df67b5ff86929186861c5786d37c19de1de4566d0d0fe638e091b87336aa75f6aea809aff2458492643e1a0d31a70781ab6c4ba3356400c05110
6
+ metadata.gz: 36a8ae0559f8ddc280a0a2888172122e77330a3028f9adcf4fa1c80b5fed20099ca6e6434416766f2e085ec3c474dc262342edcdc7557a05917a0d9e96264984
7
+ data.tar.gz: 63ad60d7e0e5f0f0e338b024077b2a16c4f8049723494d58f39e11a59525499321c47e5a29037db09638621c89998b538c1c638a9422c28ede421dfdc54ca107
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gmail_v1
2
2
 
3
+ ### v0.50.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260511
6
+
7
+ ### v0.49.0 (2026-05-03)
8
+
9
+ * Regenerated from discovery document revision 20260427
10
+
3
11
  ### v0.48.0 (2026-04-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260413
@@ -78,6 +78,17 @@ module Google
78
78
  class BatchModifyMessagesRequest
79
79
  include Google::Apis::Core::Hashable
80
80
 
81
+ # A list of Classification Label values to add. If a Classification Label with
82
+ # the same label ID is already applied to the message, fields with existing
83
+ # field IDs will be updated and fields with new field IDs will be added. There's
84
+ # a limit of 20 Classification Label values per request. If the message is
85
+ # already classified and the final total number of Classification Label values
86
+ # exceeds the maximum allowed number of Classification Label values per message,
87
+ # the modification fails.
88
+ # Corresponds to the JSON property `addClassificationLabels`
89
+ # @return [Array<Google::Apis::GmailV1::ClassificationLabelValue>]
90
+ attr_accessor :add_classification_labels
91
+
81
92
  # A list of label IDs to add to messages.
82
93
  # Corresponds to the JSON property `addLabelIds`
83
94
  # @return [Array<String>]
@@ -88,6 +99,11 @@ module Google
88
99
  # @return [Array<String>]
89
100
  attr_accessor :ids
90
101
 
102
+ # A list of Classification Label values to remove from messages.
103
+ # Corresponds to the JSON property `removeClassificationLabelIds`
104
+ # @return [Array<String>]
105
+ attr_accessor :remove_classification_label_ids
106
+
91
107
  # A list of label IDs to remove from messages.
92
108
  # Corresponds to the JSON property `removeLabelIds`
93
109
  # @return [Array<String>]
@@ -99,8 +115,10 @@ module Google
99
115
 
100
116
  # Update properties of this object
101
117
  def update!(**args)
118
+ @add_classification_labels = args[:add_classification_labels] if args.key?(:add_classification_labels)
102
119
  @add_label_ids = args[:add_label_ids] if args.key?(:add_label_ids)
103
120
  @ids = args[:ids] if args.key?(:ids)
121
+ @remove_classification_label_ids = args[:remove_classification_label_ids] if args.key?(:remove_classification_label_ids)
104
122
  @remove_label_ids = args[:remove_label_ids] if args.key?(:remove_label_ids)
105
123
  end
106
124
  end
@@ -437,7 +455,9 @@ module Google
437
455
  # @return [Array<String>]
438
456
  attr_accessor :add_label_ids
439
457
 
440
- # Email address that the message should be forwarded to.
458
+ # Email address that the message should be forwarded to. This effectively
459
+ # redirects the message to the address specified in this field, maintaining the
460
+ # original sender in the "From" field.
441
461
  # Corresponds to the JSON property `forward`
442
462
  # @return [String]
443
463
  attr_accessor :forward
@@ -1279,7 +1299,9 @@ module Google
1279
1299
  # schemas can be queried using the Google Drive Labels API. Each classification
1280
1300
  # label ID must be unique. If duplicate IDs are provided, only one will be
1281
1301
  # retained, and the selection is arbitrary. Only used for Google Workspace
1282
- # accounts.
1302
+ # accounts. There's a limit of 20 Classification Label values per request. If
1303
+ # the Classification Label values exceeds the maximum allowed number, the
1304
+ # request fails.
1283
1305
  # Corresponds to the JSON property `classificationLabelValues`
1284
1306
  # @return [Array<Google::Apis::GmailV1::ClassificationLabelValue>]
1285
1307
  attr_accessor :classification_label_values
@@ -1482,12 +1504,28 @@ module Google
1482
1504
  class ModifyMessageRequest
1483
1505
  include Google::Apis::Core::Hashable
1484
1506
 
1507
+ # A list of classification label values to add. If a Classification Label with
1508
+ # the same label ID is already applied to the message, fields with existing
1509
+ # field IDs will be updated and fields with new field IDs will be added. There's
1510
+ # a limit of 20 Classification Label values per request. If the message is
1511
+ # already classified and the final total number of Classification Label values
1512
+ # exceeds the maximum allowed number of Classification Label values per message,
1513
+ # the modification fails.
1514
+ # Corresponds to the JSON property `addClassificationLabels`
1515
+ # @return [Array<Google::Apis::GmailV1::ClassificationLabelValue>]
1516
+ attr_accessor :add_classification_labels
1517
+
1485
1518
  # A list of IDs of labels to add to this message. You can add up to 100 labels
1486
1519
  # with each update.
1487
1520
  # Corresponds to the JSON property `addLabelIds`
1488
1521
  # @return [Array<String>]
1489
1522
  attr_accessor :add_label_ids
1490
1523
 
1524
+ # A list of Classification Label values to remove from this message.
1525
+ # Corresponds to the JSON property `removeClassificationLabelIds`
1526
+ # @return [Array<String>]
1527
+ attr_accessor :remove_classification_label_ids
1528
+
1491
1529
  # A list IDs of labels to remove from this message. You can remove up to 100
1492
1530
  # labels with each update.
1493
1531
  # Corresponds to the JSON property `removeLabelIds`
@@ -1500,7 +1538,9 @@ module Google
1500
1538
 
1501
1539
  # Update properties of this object
1502
1540
  def update!(**args)
1541
+ @add_classification_labels = args[:add_classification_labels] if args.key?(:add_classification_labels)
1503
1542
  @add_label_ids = args[:add_label_ids] if args.key?(:add_label_ids)
1543
+ @remove_classification_label_ids = args[:remove_classification_label_ids] if args.key?(:remove_classification_label_ids)
1504
1544
  @remove_label_ids = args[:remove_label_ids] if args.key?(:remove_label_ids)
1505
1545
  end
1506
1546
  end
@@ -1610,7 +1650,8 @@ module Google
1610
1650
 
1611
1651
  # Settings associated with a send-as alias, which can be either the primary
1612
1652
  # login address associated with the account or a custom "from" address. Send-as
1613
- # aliases correspond to the "Send Mail As" feature in the web interface.
1653
+ # aliases correspond to the "Send Mail As" feature in the web interface. The
1654
+ # send-as alias must be a valid email address.
1614
1655
  class SendAs
1615
1656
  include Google::Apis::Core::Hashable
1616
1657
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GmailV1
18
18
  # Version of the google-apis-gmail_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260413"
25
+ REVISION = "20260511"
26
26
  end
27
27
  end
28
28
  end
@@ -377,8 +377,11 @@ module Google
377
377
  class BatchModifyMessagesRequest
378
378
  # @private
379
379
  class Representation < Google::Apis::Core::JsonRepresentation
380
+ collection :add_classification_labels, as: 'addClassificationLabels', class: Google::Apis::GmailV1::ClassificationLabelValue, decorator: Google::Apis::GmailV1::ClassificationLabelValue::Representation
381
+
380
382
  collection :add_label_ids, as: 'addLabelIds'
381
383
  collection :ids, as: 'ids'
384
+ collection :remove_classification_label_ids, as: 'removeClassificationLabelIds'
382
385
  collection :remove_label_ids, as: 'removeLabelIds'
383
386
  end
384
387
  end
@@ -774,7 +777,10 @@ module Google
774
777
  class ModifyMessageRequest
775
778
  # @private
776
779
  class Representation < Google::Apis::Core::JsonRepresentation
780
+ collection :add_classification_labels, as: 'addClassificationLabels', class: Google::Apis::GmailV1::ClassificationLabelValue, decorator: Google::Apis::GmailV1::ClassificationLabelValue::Representation
781
+
777
782
  collection :add_label_ids, as: 'addLabelIds'
783
+ collection :remove_classification_label_ids, as: 'removeClassificationLabelIds'
778
784
  collection :remove_label_ids, as: 'removeLabelIds'
779
785
  end
780
786
  end
@@ -83,7 +83,9 @@ module Google
83
83
  execute_or_queue_command(command, &block)
84
84
  end
85
85
 
86
- # Stop receiving push notifications for the given user mailbox.
86
+ # Turn off push notification delivery for the given user mailbox. For more
87
+ # information, see [Configure push notifications in Gmail API](https://
88
+ # developers.google.com/workspace/gmail/api/guides/push).
87
89
  # @param [String] user_id
88
90
  # The user's email address. The special value `me` can be used to indicate the
89
91
  # authenticated user.
@@ -112,7 +114,9 @@ module Google
112
114
  execute_or_queue_command(command, &block)
113
115
  end
114
116
 
115
- # Set up or update a push notification watch on the given user mailbox.
117
+ # Set up or update a push notification watch on the given user mailbox. For more
118
+ # information, see [Configure push notifications in Gmail API](https://
119
+ # developers.google.com/workspace/gmail/api/guides/push).
116
120
  # @param [String] user_id
117
121
  # The user's email address. The special value `me` can be used to indicate the
118
122
  # authenticated user.
@@ -146,7 +150,9 @@ module Google
146
150
  execute_or_queue_command(command, &block)
147
151
  end
148
152
 
149
- # Creates a new draft with the `DRAFT` label.
153
+ # Creates a draft with the `DRAFT` label. For more information, see [Create and
154
+ # send draft emails](https://developers.google.com/workspace/gmail/api/guides/
155
+ # drafts).
150
156
  # @param [String] user_id
151
157
  # The user's email address. The special value `me` can be used to indicate the
152
158
  # authenticated user.
@@ -191,7 +197,8 @@ module Google
191
197
  end
192
198
 
193
199
  # Immediately and permanently deletes the specified draft. Does not simply trash
194
- # it.
200
+ # it. For more information, see [Create and send draft emails](https://
201
+ # developers.google.com/workspace/gmail/api/guides/drafts).
195
202
  # @param [String] user_id
196
203
  # The user's email address. The special value `me` can be used to indicate the
197
204
  # authenticated user.
@@ -223,7 +230,8 @@ module Google
223
230
  execute_or_queue_command(command, &block)
224
231
  end
225
232
 
226
- # Gets the specified draft.
233
+ # Gets the specified draft. For more information, see [Create and send draft
234
+ # emails](https://developers.google.com/workspace/gmail/api/guides/drafts).
227
235
  # @param [String] user_id
228
236
  # The user's email address. The special value `me` can be used to indicate the
229
237
  # authenticated user.
@@ -260,7 +268,9 @@ module Google
260
268
  execute_or_queue_command(command, &block)
261
269
  end
262
270
 
263
- # Lists the drafts in the user's mailbox.
271
+ # Lists the drafts in the user's mailbox. For more information, see [Create and
272
+ # send draft emails](https://developers.google.com/workspace/gmail/api/guides/
273
+ # drafts).
264
274
  # @param [String] user_id
265
275
  # The user's email address. The special value `me` can be used to indicate the
266
276
  # authenticated user.
@@ -307,7 +317,8 @@ module Google
307
317
  end
308
318
 
309
319
  # Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `
310
- # Bcc` headers.
320
+ # Bcc` headers. For more information, see [Create and send draft emails](https://
321
+ # developers.google.com/workspace/gmail/api/guides/drafts).
311
322
  # @param [String] user_id
312
323
  # The user's email address. The special value `me` can be used to indicate the
313
324
  # authenticated user.
@@ -351,7 +362,8 @@ module Google
351
362
  execute_or_queue_command(command, &block)
352
363
  end
353
364
 
354
- # Replaces a draft's content.
365
+ # Replaces a draft's content. For more information, see [Create and send draft
366
+ # emails](https://developers.google.com/workspace/gmail/api/guides/drafts).
355
367
  # @param [String] user_id
356
368
  # The user's email address. The special value `me` can be used to indicate the
357
369
  # authenticated user.
@@ -399,7 +411,9 @@ module Google
399
411
  end
400
412
 
401
413
  # Lists the history of all changes to the given mailbox. History results are
402
- # returned in chronological order (increasing `historyId`).
414
+ # returned in chronological order (increasing `historyId`). For more information,
415
+ # see [Synchronize clients with Gmail](https://developers.google.com/workspace/
416
+ # gmail/api/guides/sync).
403
417
  # @param [String] user_id
404
418
  # The user's email address. The special value `me` can be used to indicate the
405
419
  # authenticated user.
@@ -455,7 +469,8 @@ module Google
455
469
  execute_or_queue_command(command, &block)
456
470
  end
457
471
 
458
- # Creates a new label.
472
+ # Creates a label. For more information, see [Manage labels](https://developers.
473
+ # google.com/workspace/gmail/api/guides/labels).
459
474
  # @param [String] user_id
460
475
  # The user's email address. The special value `me` can be used to indicate the
461
476
  # authenticated user.
@@ -490,7 +505,9 @@ module Google
490
505
  end
491
506
 
492
507
  # Immediately and permanently deletes the specified label and removes it from
493
- # any messages and threads that it is applied to.
508
+ # any messages and threads that it's applied to. For more information, see [
509
+ # Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels)
510
+ # .
494
511
  # @param [String] user_id
495
512
  # The user's email address. The special value `me` can be used to indicate the
496
513
  # authenticated user.
@@ -522,7 +539,8 @@ module Google
522
539
  execute_or_queue_command(command, &block)
523
540
  end
524
541
 
525
- # Gets the specified label.
542
+ # Gets the specified label. For more information, see [Manage labels](https://
543
+ # developers.google.com/workspace/gmail/api/guides/labels).
526
544
  # @param [String] user_id
527
545
  # The user's email address. The special value `me` can be used to indicate the
528
546
  # authenticated user.
@@ -556,7 +574,8 @@ module Google
556
574
  execute_or_queue_command(command, &block)
557
575
  end
558
576
 
559
- # Lists all labels in the user's mailbox.
577
+ # Lists all labels in the user's mailbox. For more information, see [Manage
578
+ # labels](https://developers.google.com/workspace/gmail/api/guides/labels).
560
579
  # @param [String] user_id
561
580
  # The user's email address. The special value `me` can be used to indicate the
562
581
  # authenticated user.
@@ -587,7 +606,8 @@ module Google
587
606
  execute_or_queue_command(command, &block)
588
607
  end
589
608
 
590
- # Patch the specified label.
609
+ # Patch the specified label. For more information, see [Manage labels](https://
610
+ # developers.google.com/workspace/gmail/api/guides/labels).
591
611
  # @param [String] user_id
592
612
  # The user's email address. The special value `me` can be used to indicate the
593
613
  # authenticated user.
@@ -624,7 +644,8 @@ module Google
624
644
  execute_or_queue_command(command, &block)
625
645
  end
626
646
 
627
- # Updates the specified label.
647
+ # Updates the specified label. For more information, see [Manage labels](https://
648
+ # developers.google.com/workspace/gmail/api/guides/labels).
628
649
  # @param [String] user_id
629
650
  # The user's email address. The special value `me` can be used to indicate the
630
651
  # authenticated user.
@@ -694,7 +715,13 @@ module Google
694
715
  execute_or_queue_command(command, &block)
695
716
  end
696
717
 
697
- # Modifies the labels on the specified messages.
718
+ # Modifies the labels and the Classification Label values on the specified
719
+ # messages. For administrators modifying messages for users in their
720
+ # organization, requests require authorization with a [service account](https://
721
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
722
+ # domain-wide delegation authority](https://developers.google.com/identity/
723
+ # protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
724
+ # the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.
698
725
  # @param [String] user_id
699
726
  # The user's email address. The special value `me` can be used to indicate the
700
727
  # authenticated user.
@@ -805,7 +832,7 @@ module Google
805
832
  # scanning and classification similar to receiving via SMTP. This method doesn't
806
833
  # perform SPF checks, so it might not work for some spam messages, such as those
807
834
  # attempting to perform domain spoofing. This method does not send a message.
808
- # Note that the maximum size of the message is 150MB.
835
+ # Note that the maximum size of the message is 150 MB.
809
836
  # @param [String] user_id
810
837
  # The user's email address. The special value `me` can be used to indicate the
811
838
  # authenticated user.
@@ -866,6 +893,8 @@ module Google
866
893
 
867
894
  # Directly inserts a message into only this user's mailbox similar to `IMAP
868
895
  # APPEND`, bypassing most scanning and classification. Does not send a message.
896
+ # For more information, see [Create and send email messages](https://developers.
897
+ # google.com/workspace/gmail/api/guides/sending).
869
898
  # @param [String] user_id
870
899
  # The user's email address. The special value `me` can be used to indicate the
871
900
  # authenticated user.
@@ -916,8 +945,8 @@ module Google
916
945
  execute_or_queue_command(command, &block)
917
946
  end
918
947
 
919
- # Lists the messages in the user's mailbox. For example usage, see [List Gmail
920
- # messages](https://developers.google.com/workspace/gmail/api/guides/list-
948
+ # Lists the messages in the user's mailbox. For more information, see [List
949
+ # Gmail messages](https://developers.google.com/workspace/gmail/api/guides/list-
921
950
  # messages).
922
951
  # @param [String] user_id
923
952
  # The user's email address. The special value `me` can be used to indicate the
@@ -972,7 +1001,13 @@ module Google
972
1001
  execute_or_queue_command(command, &block)
973
1002
  end
974
1003
 
975
- # Modifies the labels on the specified message.
1004
+ # Modifies the labels and the Classification Label values on the specified
1005
+ # message. For administrators modifying message for users in their organization,
1006
+ # requests require authorization with a [service account](https://developers.
1007
+ # google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide
1008
+ # delegation authority](https://developers.google.com/identity/protocols/
1009
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1010
+ # //www.googleapis.com/auth/gmail.modify.restricted` scope.
976
1011
  # @param [String] user_id
977
1012
  # The user's email address. The special value `me` can be used to indicate the
978
1013
  # authenticated user.
@@ -1010,8 +1045,8 @@ module Google
1010
1045
  end
1011
1046
 
1012
1047
  # Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc`
1013
- # headers. For example usage, see [Sending email](https://developers.google.com/
1014
- # workspace/gmail/api/guides/sending).
1048
+ # headers. For more information, see [Create and send email messages](https://
1049
+ # developers.google.com/workspace/gmail/api/guides/sending).
1015
1050
  # @param [String] user_id
1016
1051
  # The user's email address. The special value `me` can be used to indicate the
1017
1052
  # authenticated user.
@@ -1160,7 +1195,9 @@ module Google
1160
1195
  execute_or_queue_command(command, &block)
1161
1196
  end
1162
1197
 
1163
- # Gets the auto-forwarding setting for the specified account.
1198
+ # Gets the auto-forwarding setting for the specified account. For more
1199
+ # information, see [Manage email forwarding](https://developers.google.com/
1200
+ # workspace/gmail/api/guides/forwarding_settings).
1164
1201
  # @param [String] user_id
1165
1202
  # User's email address. The special value "me" can be used to indicate the
1166
1203
  # authenticated user.
@@ -1191,7 +1228,9 @@ module Google
1191
1228
  execute_or_queue_command(command, &block)
1192
1229
  end
1193
1230
 
1194
- # Gets IMAP settings.
1231
+ # Gets IMAP settings. For more information, see [Configure POP and IMAP settings
1232
+ # with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
1233
+ # pop_imap_settings).
1195
1234
  # @param [String] user_id
1196
1235
  # User's email address. The special value "me" can be used to indicate the
1197
1236
  # authenticated user.
@@ -1222,7 +1261,8 @@ module Google
1222
1261
  execute_or_queue_command(command, &block)
1223
1262
  end
1224
1263
 
1225
- # Gets language settings.
1264
+ # Gets language settings. For more information, see [Manage language settings](
1265
+ # https://developers.google.com/workspace/gmail/api/guides/language-settings).
1226
1266
  # @param [String] user_id
1227
1267
  # User's email address. The special value "me" can be used to indicate the
1228
1268
  # authenticated user.
@@ -1253,7 +1293,9 @@ module Google
1253
1293
  execute_or_queue_command(command, &block)
1254
1294
  end
1255
1295
 
1256
- # Gets POP settings.
1296
+ # Gets POP settings. For more information, see [Configure POP and IMAP settings
1297
+ # with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
1298
+ # pop_imap_settings).
1257
1299
  # @param [String] user_id
1258
1300
  # User's email address. The special value "me" can be used to indicate the
1259
1301
  # authenticated user.
@@ -1284,7 +1326,9 @@ module Google
1284
1326
  execute_or_queue_command(command, &block)
1285
1327
  end
1286
1328
 
1287
- # Gets vacation responder settings.
1329
+ # Gets vacation responder settings. For more information, see [Manage vacation
1330
+ # settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
1331
+ # guides/vacation_settings).
1288
1332
  # @param [String] user_id
1289
1333
  # User's email address. The special value "me" can be used to indicate the
1290
1334
  # authenticated user.
@@ -1316,9 +1360,10 @@ module Google
1316
1360
  end
1317
1361
 
1318
1362
  # Updates the auto-forwarding setting for the specified account. A verified
1319
- # forwarding address must be specified when auto-forwarding is enabled. This
1320
- # method is only available to service account clients that have been delegated
1321
- # domain-wide authority.
1363
+ # forwarding address must be specified when auto-forwarding is enabled. For more
1364
+ # information, see [Manage email forwarding](https://developers.google.com/
1365
+ # workspace/gmail/api/guides/forwarding_settings). This method is only available
1366
+ # to service account clients that have been delegated domain-wide authority.
1322
1367
  # @param [String] user_id
1323
1368
  # User's email address. The special value "me" can be used to indicate the
1324
1369
  # authenticated user.
@@ -1352,7 +1397,9 @@ module Google
1352
1397
  execute_or_queue_command(command, &block)
1353
1398
  end
1354
1399
 
1355
- # Updates IMAP settings.
1400
+ # Updates IMAP settings. For more information, see [Configure POP and IMAP
1401
+ # settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
1402
+ # guides/pop_imap_settings).
1356
1403
  # @param [String] user_id
1357
1404
  # User's email address. The special value "me" can be used to indicate the
1358
1405
  # authenticated user.
@@ -1386,11 +1433,13 @@ module Google
1386
1433
  execute_or_queue_command(command, &block)
1387
1434
  end
1388
1435
 
1389
- # Updates language settings. If successful, the return object contains the `
1390
- # displayLanguage` that was saved for the user, which may differ from the value
1391
- # passed into the request. This is because the requested `displayLanguage` may
1392
- # not be directly supported by Gmail but have a close variant that is, and so
1393
- # the variant may be chosen and saved instead.
1436
+ # Updates language settings. For more information, see [Manage language settings]
1437
+ # (https://developers.google.com/workspace/gmail/api/guides/language-settings).
1438
+ # If successful, the return object contains the `displayLanguage` that was saved
1439
+ # for the user, which may differ from the value passed into the request. This is
1440
+ # because the requested `displayLanguage` may not be directly supported by Gmail
1441
+ # but have a close variant that is, and so the variant may be chosen and saved
1442
+ # instead.
1394
1443
  # @param [String] user_id
1395
1444
  # User's email address. The special value "me" can be used to indicate the
1396
1445
  # authenticated user.
@@ -1424,7 +1473,9 @@ module Google
1424
1473
  execute_or_queue_command(command, &block)
1425
1474
  end
1426
1475
 
1427
- # Updates POP settings.
1476
+ # Updates POP settings. For more information, see [Configure POP and IMAP
1477
+ # settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
1478
+ # guides/pop_imap_settings).
1428
1479
  # @param [String] user_id
1429
1480
  # User's email address. The special value "me" can be used to indicate the
1430
1481
  # authenticated user.
@@ -1458,7 +1509,9 @@ module Google
1458
1509
  execute_or_queue_command(command, &block)
1459
1510
  end
1460
1511
 
1461
- # Updates vacation responder settings.
1512
+ # Updates vacation responder settings. For more information, see [Manage
1513
+ # vacation settings with the Gmail API](https://developers.google.com/workspace/
1514
+ # gmail/api/guides/vacation_settings).
1462
1515
  # @param [String] user_id
1463
1516
  # User's email address. The special value "me" can be used to indicate the
1464
1517
  # authenticated user.
@@ -1999,15 +2052,16 @@ module Google
1999
2052
 
2000
2053
  # Adds a delegate with its verification status set directly to `accepted`,
2001
2054
  # without sending any verification email. The delegate user must be a member of
2002
- # the same Google Workspace organization as the delegator user. Gmail imposes
2003
- # limitations on the number of delegates and delegators each user in a Google
2004
- # Workspace organization can have. These limits depend on your organization, but
2005
- # in general each user can have up to 25 delegates and up to 10 delegators. Note
2006
- # that a delegate user must be referred to by their primary email address, and
2007
- # not an email alias. Also note that when a new delegate is created, there may
2008
- # be up to a one minute delay before the new delegate is available for use. This
2009
- # method is only available to service account clients that have been delegated
2010
- # domain-wide authority.
2055
+ # the same Google Workspace organization as the delegator user. For more
2056
+ # information, see [Manage delegates](https://developers.google.com/workspace/
2057
+ # gmail/api/guides/delegate_settings). Gmail imposes limitations on the number
2058
+ # of delegates and delegators each user in a Google Workspace organization can
2059
+ # have. These limits depend on your organization, but in general each user can
2060
+ # have up to 25 delegates and up to 10 delegators. A delegate user must be
2061
+ # referred to by their primary email address, and not an email alias. When a new
2062
+ # delegate is created, there may be up to a one minute delay before the new
2063
+ # delegate is available for use. This method is only available to service
2064
+ # account clients that have been delegated domain-wide authority.
2011
2065
  # @param [String] user_id
2012
2066
  # User's email address. The special value "me" can be used to indicate the
2013
2067
  # authenticated user.
@@ -2042,10 +2096,12 @@ module Google
2042
2096
  end
2043
2097
 
2044
2098
  # Removes the specified delegate (which can be of any verification status), and
2045
- # revokes any verification that may have been required for using it. Note that a
2046
- # delegate user must be referred to by their primary email address, and not an
2047
- # email alias. This method is only available to service account clients that
2048
- # have been delegated domain-wide authority.
2099
+ # revokes any verification that may have been required for using it. For more
2100
+ # information, see [Manage delegates](https://developers.google.com/workspace/
2101
+ # gmail/api/guides/delegate_settings). A delegate user must be referred to by
2102
+ # their primary email address, and not an email alias. This method is only
2103
+ # available to service account clients that have been delegated domain-wide
2104
+ # authority.
2049
2105
  # @param [String] user_id
2050
2106
  # User's email address. The special value "me" can be used to indicate the
2051
2107
  # authenticated user.
@@ -2077,10 +2133,11 @@ module Google
2077
2133
  execute_or_queue_command(command, &block)
2078
2134
  end
2079
2135
 
2080
- # Gets the specified delegate. Note that a delegate user must be referred to by
2081
- # their primary email address, and not an email alias. This method is only
2082
- # available to service account clients that have been delegated domain-wide
2083
- # authority.
2136
+ # Gets the specified delegate. For more information, see [Manage delegates](
2137
+ # https://developers.google.com/workspace/gmail/api/guides/delegate_settings). A
2138
+ # delegate user must be referred to by their primary email address, and not an
2139
+ # email alias. This method is only available to service account clients that
2140
+ # have been delegated domain-wide authority.
2084
2141
  # @param [String] user_id
2085
2142
  # User's email address. The special value "me" can be used to indicate the
2086
2143
  # authenticated user.
@@ -2114,8 +2171,10 @@ module Google
2114
2171
  execute_or_queue_command(command, &block)
2115
2172
  end
2116
2173
 
2117
- # Lists the delegates for the specified account. This method is only available
2118
- # to service account clients that have been delegated domain-wide authority.
2174
+ # Lists the delegates for the specified account. For more information, see [
2175
+ # Manage delegates](https://developers.google.com/workspace/gmail/api/guides/
2176
+ # delegate_settings). This method is only available to service account clients
2177
+ # that have been delegated domain-wide authority.
2119
2178
  # @param [String] user_id
2120
2179
  # User's email address. The special value "me" can be used to indicate the
2121
2180
  # authenticated user.
@@ -2146,7 +2205,9 @@ module Google
2146
2205
  execute_or_queue_command(command, &block)
2147
2206
  end
2148
2207
 
2149
- # Creates a filter. Note: you can only create a maximum of 1,000 filters.
2208
+ # Creates a filter. Note: you can only create a maximum of 1,000 filters. For
2209
+ # more information, see [Manage Gmail filters](https://developers.google.com/
2210
+ # workspace/gmail/api/guides/filter_settings).
2150
2211
  # @param [String] user_id
2151
2212
  # User's email address. The special value "me" can be used to indicate the
2152
2213
  # authenticated user.
@@ -2180,7 +2241,9 @@ module Google
2180
2241
  execute_or_queue_command(command, &block)
2181
2242
  end
2182
2243
 
2183
- # Immediately and permanently deletes the specified filter.
2244
+ # Immediately and permanently deletes the specified filter. For more information,
2245
+ # see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/
2246
+ # guides/filter_settings).
2184
2247
  # @param [String] user_id
2185
2248
  # User's email address. The special value "me" can be used to indicate the
2186
2249
  # authenticated user.
@@ -2212,7 +2275,8 @@ module Google
2212
2275
  execute_or_queue_command(command, &block)
2213
2276
  end
2214
2277
 
2215
- # Gets a filter.
2278
+ # Gets a filter. For more information, see [Manage Gmail filters](https://
2279
+ # developers.google.com/workspace/gmail/api/guides/filter_settings).
2216
2280
  # @param [String] user_id
2217
2281
  # User's email address. The special value "me" can be used to indicate the
2218
2282
  # authenticated user.
@@ -2246,7 +2310,9 @@ module Google
2246
2310
  execute_or_queue_command(command, &block)
2247
2311
  end
2248
2312
 
2249
- # Lists the message filters of a Gmail user.
2313
+ # Lists the message filters of a Gmail user. For more information, see [Manage
2314
+ # Gmail filters](https://developers.google.com/workspace/gmail/api/guides/
2315
+ # filter_settings).
2250
2316
  # @param [String] user_id
2251
2317
  # User's email address. The special value "me" can be used to indicate the
2252
2318
  # authenticated user.
@@ -2280,8 +2346,10 @@ module Google
2280
2346
  # Creates a forwarding address. If ownership verification is required, a message
2281
2347
  # will be sent to the recipient and the resource's verification status will be
2282
2348
  # set to `pending`; otherwise, the resource will be created with verification
2283
- # status set to `accepted`. This method is only available to service account
2284
- # clients that have been delegated domain-wide authority.
2349
+ # status set to `accepted`. For more information, see [Manage email forwarding](
2350
+ # https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).
2351
+ # This method is only available to service account clients that have been
2352
+ # delegated domain-wide authority.
2285
2353
  # @param [String] user_id
2286
2354
  # User's email address. The special value "me" can be used to indicate the
2287
2355
  # authenticated user.
@@ -2316,8 +2384,10 @@ module Google
2316
2384
  end
2317
2385
 
2318
2386
  # Deletes the specified forwarding address and revokes any verification that may
2319
- # have been required. This method is only available to service account clients
2320
- # that have been delegated domain-wide authority.
2387
+ # have been required. For more information, see [Manage email forwarding](https:/
2388
+ # /developers.google.com/workspace/gmail/api/guides/forwarding_settings). This
2389
+ # method is only available to service account clients that have been delegated
2390
+ # domain-wide authority.
2321
2391
  # @param [String] user_id
2322
2392
  # User's email address. The special value "me" can be used to indicate the
2323
2393
  # authenticated user.
@@ -2349,7 +2419,9 @@ module Google
2349
2419
  execute_or_queue_command(command, &block)
2350
2420
  end
2351
2421
 
2352
- # Gets the specified forwarding address.
2422
+ # Gets the specified forwarding address. For more information, see [Manage email
2423
+ # forwarding](https://developers.google.com/workspace/gmail/api/guides/
2424
+ # forwarding_settings).
2353
2425
  # @param [String] user_id
2354
2426
  # User's email address. The special value "me" can be used to indicate the
2355
2427
  # authenticated user.
@@ -2383,7 +2455,9 @@ module Google
2383
2455
  execute_or_queue_command(command, &block)
2384
2456
  end
2385
2457
 
2386
- # Lists the forwarding addresses for the specified account.
2458
+ # Lists the forwarding addresses for the specified account. For more information,
2459
+ # see [Manage email forwarding](https://developers.google.com/workspace/gmail/
2460
+ # api/guides/forwarding_settings).
2387
2461
  # @param [String] user_id
2388
2462
  # User's email address. The special value "me" can be used to indicate the
2389
2463
  # authenticated user.
@@ -2420,8 +2494,10 @@ module Google
2420
2494
  # message will be sent to the email address and the resource's verification
2421
2495
  # status will be set to `pending`; otherwise, the resource will be created with
2422
2496
  # verification status set to `accepted`. If a signature is provided, Gmail will
2423
- # sanitize the HTML before saving it with the alias. This method is only
2424
- # available to service account clients that have been delegated domain-wide
2497
+ # sanitize the HTML before saving it with the alias. For more information, see [
2498
+ # Manage aliases and signatures with the Gmail API](https://developers.google.
2499
+ # com/workspace/gmail/api/guides/alias_and_signature_settings). This method is
2500
+ # only available to service account clients that have been delegated domain-wide
2425
2501
  # authority.
2426
2502
  # @param [String] user_id
2427
2503
  # User's email address. The special value "me" can be used to indicate the
@@ -2457,8 +2533,10 @@ module Google
2457
2533
  end
2458
2534
 
2459
2535
  # Deletes the specified send-as alias. Revokes any verification that may have
2460
- # been required for using it. This method is only available to service account
2461
- # clients that have been delegated domain-wide authority.
2536
+ # been required for using it. For more information, see [Manage aliases and
2537
+ # signatures with the Gmail API](https://developers.google.com/workspace/gmail/
2538
+ # api/guides/alias_and_signature_settings). This method is only available to
2539
+ # service account clients that have been delegated domain-wide authority.
2462
2540
  # @param [String] user_id
2463
2541
  # User's email address. The special value "me" can be used to indicate the
2464
2542
  # authenticated user.
@@ -2491,7 +2569,9 @@ module Google
2491
2569
  end
2492
2570
 
2493
2571
  # Gets the specified send-as alias. Fails with an HTTP 404 error if the
2494
- # specified address is not a member of the collection.
2572
+ # specified address is not a member of the collection. For more information, see
2573
+ # [Manage aliases and signatures with the Gmail API](https://developers.google.
2574
+ # com/workspace/gmail/api/guides/alias_and_signature_settings).
2495
2575
  # @param [String] user_id
2496
2576
  # User's email address. The special value "me" can be used to indicate the
2497
2577
  # authenticated user.
@@ -2527,7 +2607,9 @@ module Google
2527
2607
 
2528
2608
  # Lists the send-as aliases for the specified account. The result includes the
2529
2609
  # primary send-as address associated with the account as well as any custom "
2530
- # from" aliases.
2610
+ # from" aliases. For more information, see [Manage aliases and signatures with
2611
+ # the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
2612
+ # alias_and_signature_settings).
2531
2613
  # @param [String] user_id
2532
2614
  # User's email address. The special value "me" can be used to indicate the
2533
2615
  # authenticated user.
@@ -2558,7 +2640,9 @@ module Google
2558
2640
  execute_or_queue_command(command, &block)
2559
2641
  end
2560
2642
 
2561
- # Patch the specified send-as alias.
2643
+ # Patch the specified send-as alias. For more information, see [Manage aliases
2644
+ # and signatures with the Gmail API](https://developers.google.com/workspace/
2645
+ # gmail/api/guides/alias_and_signature_settings).
2562
2646
  # @param [String] user_id
2563
2647
  # User's email address. The special value "me" can be used to indicate the
2564
2648
  # authenticated user.
@@ -2596,9 +2680,11 @@ module Google
2596
2680
  end
2597
2681
 
2598
2682
  # Updates a send-as alias. If a signature is provided, Gmail will sanitize the
2599
- # HTML before saving it with the alias. Addresses other than the primary address
2600
- # for the account can only be updated by service account clients that have been
2601
- # delegated domain-wide authority.
2683
+ # HTML before saving it with the alias. For more information, see [Manage
2684
+ # aliases and signatures with the Gmail API](https://developers.google.com/
2685
+ # workspace/gmail/api/guides/alias_and_signature_settings). Addresses other than
2686
+ # the primary address for the account can only be updated by service account
2687
+ # clients that have been delegated domain-wide authority.
2602
2688
  # @param [String] user_id
2603
2689
  # User's email address. The special value "me" can be used to indicate the
2604
2690
  # authenticated user.
@@ -2636,8 +2722,11 @@ module Google
2636
2722
  end
2637
2723
 
2638
2724
  # Sends a verification email to the specified send-as alias address. The
2639
- # verification status must be `pending`. This method is only available to
2640
- # service account clients that have been delegated domain-wide authority.
2725
+ # verification status must be `pending`. For more information, see [Manage
2726
+ # aliases and signatures with the Gmail API](https://developers.google.com/
2727
+ # workspace/gmail/api/guides/alias_and_signature_settings). This method is only
2728
+ # available to service account clients that have been delegated domain-wide
2729
+ # authority.
2641
2730
  # @param [String] user_id
2642
2731
  # User's email address. The special value "me" can be used to indicate the
2643
2732
  # authenticated user.
@@ -2669,7 +2758,9 @@ module Google
2669
2758
  execute_or_queue_command(command, &block)
2670
2759
  end
2671
2760
 
2672
- # Deletes the specified S/MIME config for the specified send-as alias.
2761
+ # Deletes the specified S/MIME config for the specified send-as alias. For more
2762
+ # information, see [Manage S/MIME certificates with the Gmail API](https://
2763
+ # developers.google.com/workspace/gmail/api/guides/smime_certs).
2673
2764
  # @param [String] user_id
2674
2765
  # The user's email address. The special value `me` can be used to indicate the
2675
2766
  # authenticated user.
@@ -2705,7 +2796,9 @@ module Google
2705
2796
  execute_or_queue_command(command, &block)
2706
2797
  end
2707
2798
 
2708
- # Gets the specified S/MIME config for the specified send-as alias.
2799
+ # Gets the specified S/MIME config for the specified send-as alias. For more
2800
+ # information, see [Manage S/MIME certificates with the Gmail API](https://
2801
+ # developers.google.com/workspace/gmail/api/guides/smime_certs).
2709
2802
  # @param [String] user_id
2710
2803
  # The user's email address. The special value `me` can be used to indicate the
2711
2804
  # authenticated user.
@@ -2744,7 +2837,9 @@ module Google
2744
2837
  end
2745
2838
 
2746
2839
  # Insert (upload) the given S/MIME config for the specified send-as alias. Note
2747
- # that pkcs12 format is required for the key.
2840
+ # that `pkcs12` format is required for the key. For more information, see [
2841
+ # Manage S/MIME certificates with the Gmail API](https://developers.google.com/
2842
+ # workspace/gmail/api/guides/smime_certs).
2748
2843
  # @param [String] user_id
2749
2844
  # The user's email address. The special value `me` can be used to indicate the
2750
2845
  # authenticated user.
@@ -2782,7 +2877,9 @@ module Google
2782
2877
  execute_or_queue_command(command, &block)
2783
2878
  end
2784
2879
 
2785
- # Lists S/MIME configs for the specified send-as alias.
2880
+ # Lists S/MIME configs for the specified send-as alias. For more information,
2881
+ # see [Manage S/MIME certificates with the Gmail API](https://developers.google.
2882
+ # com/workspace/gmail/api/guides/smime_certs).
2786
2883
  # @param [String] user_id
2787
2884
  # The user's email address. The special value `me` can be used to indicate the
2788
2885
  # authenticated user.
@@ -2817,7 +2914,9 @@ module Google
2817
2914
  execute_or_queue_command(command, &block)
2818
2915
  end
2819
2916
 
2820
- # Sets the default S/MIME config for the specified send-as alias.
2917
+ # Sets the default S/MIME config for the specified send-as alias. For more
2918
+ # information, see [Manage S/MIME certificates with the Gmail API](https://
2919
+ # developers.google.com/workspace/gmail/api/guides/smime_certs).
2821
2920
  # @param [String] user_id
2822
2921
  # The user's email address. The special value `me` can be used to indicate the
2823
2922
  # authenticated user.
@@ -2855,7 +2954,8 @@ module Google
2855
2954
 
2856
2955
  # Immediately and permanently deletes the specified thread. Any messages that
2857
2956
  # belong to the thread are also deleted. This operation cannot be undone. Prefer
2858
- # `threads.trash` instead.
2957
+ # `threads.trash` instead. For more information, see [Manage threads](https://
2958
+ # developers.google.com/workspace/gmail/api/guides/threads).
2859
2959
  # @param [String] user_id
2860
2960
  # The user's email address. The special value `me` can be used to indicate the
2861
2961
  # authenticated user.
@@ -2887,7 +2987,8 @@ module Google
2887
2987
  execute_or_queue_command(command, &block)
2888
2988
  end
2889
2989
 
2890
- # Gets the specified thread.
2990
+ # Gets the specified thread. For more information, see [Manage threads](https://
2991
+ # developers.google.com/workspace/gmail/api/guides/threads).
2891
2992
  # @param [String] user_id
2892
2993
  # The user's email address. The special value `me` can be used to indicate the
2893
2994
  # authenticated user.
@@ -2927,7 +3028,8 @@ module Google
2927
3028
  execute_or_queue_command(command, &block)
2928
3029
  end
2929
3030
 
2930
- # Lists the threads in the user's mailbox.
3031
+ # Lists the threads in the user's mailbox. For more information, see [Manage
3032
+ # threads](https://developers.google.com/workspace/gmail/api/guides/threads).
2931
3033
  # @param [String] user_id
2932
3034
  # The user's email address. The special value `me` can be used to indicate the
2933
3035
  # authenticated user.
@@ -2978,7 +3080,8 @@ module Google
2978
3080
  end
2979
3081
 
2980
3082
  # Modifies the labels applied to the thread. This applies to all messages in the
2981
- # thread.
3083
+ # thread. For more information, see [Manage threads](https://developers.google.
3084
+ # com/workspace/gmail/api/guides/threads).
2982
3085
  # @param [String] user_id
2983
3086
  # The user's email address. The special value `me` can be used to indicate the
2984
3087
  # authenticated user.
@@ -3016,7 +3119,8 @@ module Google
3016
3119
  end
3017
3120
 
3018
3121
  # Moves the specified thread to the trash. Any messages that belong to the
3019
- # thread are also moved to the trash.
3122
+ # thread are also moved to the trash. For more information, see [Manage threads](
3123
+ # https://developers.google.com/workspace/gmail/api/guides/threads).
3020
3124
  # @param [String] user_id
3021
3125
  # The user's email address. The special value `me` can be used to indicate the
3022
3126
  # authenticated user.
@@ -3051,7 +3155,8 @@ module Google
3051
3155
  end
3052
3156
 
3053
3157
  # Removes the specified thread from the trash. Any messages that belong to the
3054
- # thread are also removed from the trash.
3158
+ # thread are also removed from the trash. For more information, see [Manage
3159
+ # threads](https://developers.google.com/workspace/gmail/api/guides/threads).
3055
3160
  # @param [String] user_id
3056
3161
  # The user's email address. The special value `me` can be used to indicate the
3057
3162
  # authenticated user.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gmail_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gmail_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gmail_v1
62
62
  rdoc_options: []
63
63
  require_paths: