google-apis-gmail_v1 0.48.0 → 0.49.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/gmail_v1/classes.rb +5 -2
- data/lib/google/apis/gmail_v1/gem_version.rb +2 -2
- data/lib/google/apis/gmail_v1/service.rb +181 -88
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a72fab0ec7b552b5c619e7fab68689e25fdee096fa7245ae81c89c54d7ac6edd
|
|
4
|
+
data.tar.gz: 82865444e57ae03358556bbab1fff9c9becee828b7a500fe620c951d07479ab4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a3b0c6cecfe7fa8ae343e616c4973c40660349f56d710b34e8dad22041767987bc193424e6690407dd0364a7baa0e28676d3457092b24c5ed848946162ef50e
|
|
7
|
+
data.tar.gz: 4d287fe279eb484858c74905c4a1a1a255e20e21a4339a7f2ead3261ac6d76fcea52e7bcf89adfa724236c5a6619d00aa555706d5dc8b819a4a12c50f054710c
|
data/CHANGELOG.md
CHANGED
|
@@ -437,7 +437,9 @@ module Google
|
|
|
437
437
|
# @return [Array<String>]
|
|
438
438
|
attr_accessor :add_label_ids
|
|
439
439
|
|
|
440
|
-
# Email address that the message should be forwarded to.
|
|
440
|
+
# Email address that the message should be forwarded to. This effectively
|
|
441
|
+
# redirects the message to the address specified in this field, maintaining the
|
|
442
|
+
# original sender in the "From" field.
|
|
441
443
|
# Corresponds to the JSON property `forward`
|
|
442
444
|
# @return [String]
|
|
443
445
|
attr_accessor :forward
|
|
@@ -1610,7 +1612,8 @@ module Google
|
|
|
1610
1612
|
|
|
1611
1613
|
# Settings associated with a send-as alias, which can be either the primary
|
|
1612
1614
|
# 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.
|
|
1615
|
+
# aliases correspond to the "Send Mail As" feature in the web interface. The
|
|
1616
|
+
# send-as alias must be a valid email address.
|
|
1614
1617
|
class SendAs
|
|
1615
1618
|
include Google::Apis::Core::Hashable
|
|
1616
1619
|
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.49.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 = "
|
|
25
|
+
REVISION = "20260427"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -83,7 +83,9 @@ module Google
|
|
|
83
83
|
execute_or_queue_command(command, &block)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
#
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
@@ -805,7 +826,7 @@ module Google
|
|
|
805
826
|
# scanning and classification similar to receiving via SMTP. This method doesn't
|
|
806
827
|
# perform SPF checks, so it might not work for some spam messages, such as those
|
|
807
828
|
# attempting to perform domain spoofing. This method does not send a message.
|
|
808
|
-
# Note that the maximum size of the message is
|
|
829
|
+
# Note that the maximum size of the message is 150 MB.
|
|
809
830
|
# @param [String] user_id
|
|
810
831
|
# The user's email address. The special value `me` can be used to indicate the
|
|
811
832
|
# authenticated user.
|
|
@@ -866,6 +887,8 @@ module Google
|
|
|
866
887
|
|
|
867
888
|
# Directly inserts a message into only this user's mailbox similar to `IMAP
|
|
868
889
|
# APPEND`, bypassing most scanning and classification. Does not send a message.
|
|
890
|
+
# For more information, see [Create and send email messages](https://developers.
|
|
891
|
+
# google.com/workspace/gmail/api/guides/sending).
|
|
869
892
|
# @param [String] user_id
|
|
870
893
|
# The user's email address. The special value `me` can be used to indicate the
|
|
871
894
|
# authenticated user.
|
|
@@ -916,8 +939,8 @@ module Google
|
|
|
916
939
|
execute_or_queue_command(command, &block)
|
|
917
940
|
end
|
|
918
941
|
|
|
919
|
-
# Lists the messages in the user's mailbox. For
|
|
920
|
-
# messages](https://developers.google.com/workspace/gmail/api/guides/list-
|
|
942
|
+
# Lists the messages in the user's mailbox. For more information, see [List
|
|
943
|
+
# Gmail messages](https://developers.google.com/workspace/gmail/api/guides/list-
|
|
921
944
|
# messages).
|
|
922
945
|
# @param [String] user_id
|
|
923
946
|
# The user's email address. The special value `me` can be used to indicate the
|
|
@@ -1010,8 +1033,8 @@ module Google
|
|
|
1010
1033
|
end
|
|
1011
1034
|
|
|
1012
1035
|
# Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc`
|
|
1013
|
-
# headers. For
|
|
1014
|
-
# workspace/gmail/api/guides/sending).
|
|
1036
|
+
# headers. For more information, see [Create and send email messages](https://
|
|
1037
|
+
# developers.google.com/workspace/gmail/api/guides/sending).
|
|
1015
1038
|
# @param [String] user_id
|
|
1016
1039
|
# The user's email address. The special value `me` can be used to indicate the
|
|
1017
1040
|
# authenticated user.
|
|
@@ -1160,7 +1183,9 @@ module Google
|
|
|
1160
1183
|
execute_or_queue_command(command, &block)
|
|
1161
1184
|
end
|
|
1162
1185
|
|
|
1163
|
-
# Gets the auto-forwarding setting for the specified account.
|
|
1186
|
+
# Gets the auto-forwarding setting for the specified account. For more
|
|
1187
|
+
# information, see [Manage email forwarding](https://developers.google.com/
|
|
1188
|
+
# workspace/gmail/api/guides/forwarding_settings).
|
|
1164
1189
|
# @param [String] user_id
|
|
1165
1190
|
# User's email address. The special value "me" can be used to indicate the
|
|
1166
1191
|
# authenticated user.
|
|
@@ -1191,7 +1216,9 @@ module Google
|
|
|
1191
1216
|
execute_or_queue_command(command, &block)
|
|
1192
1217
|
end
|
|
1193
1218
|
|
|
1194
|
-
# Gets IMAP settings.
|
|
1219
|
+
# Gets IMAP settings. For more information, see [Configure POP and IMAP settings
|
|
1220
|
+
# with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
|
|
1221
|
+
# pop_imap_settings).
|
|
1195
1222
|
# @param [String] user_id
|
|
1196
1223
|
# User's email address. The special value "me" can be used to indicate the
|
|
1197
1224
|
# authenticated user.
|
|
@@ -1222,7 +1249,8 @@ module Google
|
|
|
1222
1249
|
execute_or_queue_command(command, &block)
|
|
1223
1250
|
end
|
|
1224
1251
|
|
|
1225
|
-
# Gets language settings.
|
|
1252
|
+
# Gets language settings. For more information, see [Manage language settings](
|
|
1253
|
+
# https://developers.google.com/workspace/gmail/api/guides/language-settings).
|
|
1226
1254
|
# @param [String] user_id
|
|
1227
1255
|
# User's email address. The special value "me" can be used to indicate the
|
|
1228
1256
|
# authenticated user.
|
|
@@ -1253,7 +1281,9 @@ module Google
|
|
|
1253
1281
|
execute_or_queue_command(command, &block)
|
|
1254
1282
|
end
|
|
1255
1283
|
|
|
1256
|
-
# Gets POP settings.
|
|
1284
|
+
# Gets POP settings. For more information, see [Configure POP and IMAP settings
|
|
1285
|
+
# with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
|
|
1286
|
+
# pop_imap_settings).
|
|
1257
1287
|
# @param [String] user_id
|
|
1258
1288
|
# User's email address. The special value "me" can be used to indicate the
|
|
1259
1289
|
# authenticated user.
|
|
@@ -1284,7 +1314,9 @@ module Google
|
|
|
1284
1314
|
execute_or_queue_command(command, &block)
|
|
1285
1315
|
end
|
|
1286
1316
|
|
|
1287
|
-
# Gets vacation responder settings.
|
|
1317
|
+
# Gets vacation responder settings. For more information, see [Manage vacation
|
|
1318
|
+
# settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
|
|
1319
|
+
# guides/vacation_settings).
|
|
1288
1320
|
# @param [String] user_id
|
|
1289
1321
|
# User's email address. The special value "me" can be used to indicate the
|
|
1290
1322
|
# authenticated user.
|
|
@@ -1316,9 +1348,10 @@ module Google
|
|
|
1316
1348
|
end
|
|
1317
1349
|
|
|
1318
1350
|
# Updates the auto-forwarding setting for the specified account. A verified
|
|
1319
|
-
# forwarding address must be specified when auto-forwarding is enabled.
|
|
1320
|
-
#
|
|
1321
|
-
#
|
|
1351
|
+
# forwarding address must be specified when auto-forwarding is enabled. For more
|
|
1352
|
+
# information, see [Manage email forwarding](https://developers.google.com/
|
|
1353
|
+
# workspace/gmail/api/guides/forwarding_settings). This method is only available
|
|
1354
|
+
# to service account clients that have been delegated domain-wide authority.
|
|
1322
1355
|
# @param [String] user_id
|
|
1323
1356
|
# User's email address. The special value "me" can be used to indicate the
|
|
1324
1357
|
# authenticated user.
|
|
@@ -1352,7 +1385,9 @@ module Google
|
|
|
1352
1385
|
execute_or_queue_command(command, &block)
|
|
1353
1386
|
end
|
|
1354
1387
|
|
|
1355
|
-
# Updates IMAP settings.
|
|
1388
|
+
# Updates IMAP settings. For more information, see [Configure POP and IMAP
|
|
1389
|
+
# settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
|
|
1390
|
+
# guides/pop_imap_settings).
|
|
1356
1391
|
# @param [String] user_id
|
|
1357
1392
|
# User's email address. The special value "me" can be used to indicate the
|
|
1358
1393
|
# authenticated user.
|
|
@@ -1386,11 +1421,13 @@ module Google
|
|
|
1386
1421
|
execute_or_queue_command(command, &block)
|
|
1387
1422
|
end
|
|
1388
1423
|
|
|
1389
|
-
# Updates language settings.
|
|
1390
|
-
#
|
|
1391
|
-
#
|
|
1392
|
-
#
|
|
1393
|
-
# the
|
|
1424
|
+
# Updates language settings. For more information, see [Manage language settings]
|
|
1425
|
+
# (https://developers.google.com/workspace/gmail/api/guides/language-settings).
|
|
1426
|
+
# If successful, the return object contains the `displayLanguage` that was saved
|
|
1427
|
+
# for the user, which may differ from the value passed into the request. This is
|
|
1428
|
+
# because the requested `displayLanguage` may not be directly supported by Gmail
|
|
1429
|
+
# but have a close variant that is, and so the variant may be chosen and saved
|
|
1430
|
+
# instead.
|
|
1394
1431
|
# @param [String] user_id
|
|
1395
1432
|
# User's email address. The special value "me" can be used to indicate the
|
|
1396
1433
|
# authenticated user.
|
|
@@ -1424,7 +1461,9 @@ module Google
|
|
|
1424
1461
|
execute_or_queue_command(command, &block)
|
|
1425
1462
|
end
|
|
1426
1463
|
|
|
1427
|
-
# Updates POP settings.
|
|
1464
|
+
# Updates POP settings. For more information, see [Configure POP and IMAP
|
|
1465
|
+
# settings with the Gmail API](https://developers.google.com/workspace/gmail/api/
|
|
1466
|
+
# guides/pop_imap_settings).
|
|
1428
1467
|
# @param [String] user_id
|
|
1429
1468
|
# User's email address. The special value "me" can be used to indicate the
|
|
1430
1469
|
# authenticated user.
|
|
@@ -1458,7 +1497,9 @@ module Google
|
|
|
1458
1497
|
execute_or_queue_command(command, &block)
|
|
1459
1498
|
end
|
|
1460
1499
|
|
|
1461
|
-
# Updates vacation responder settings.
|
|
1500
|
+
# Updates vacation responder settings. For more information, see [Manage
|
|
1501
|
+
# vacation settings with the Gmail API](https://developers.google.com/workspace/
|
|
1502
|
+
# gmail/api/guides/vacation_settings).
|
|
1462
1503
|
# @param [String] user_id
|
|
1463
1504
|
# User's email address. The special value "me" can be used to indicate the
|
|
1464
1505
|
# authenticated user.
|
|
@@ -1999,15 +2040,16 @@ module Google
|
|
|
1999
2040
|
|
|
2000
2041
|
# Adds a delegate with its verification status set directly to `accepted`,
|
|
2001
2042
|
# without sending any verification email. The delegate user must be a member of
|
|
2002
|
-
# the same Google Workspace organization as the delegator user.
|
|
2003
|
-
#
|
|
2004
|
-
#
|
|
2005
|
-
#
|
|
2006
|
-
#
|
|
2007
|
-
#
|
|
2008
|
-
#
|
|
2009
|
-
#
|
|
2010
|
-
#
|
|
2043
|
+
# the same Google Workspace organization as the delegator user. For more
|
|
2044
|
+
# information, see [Manage delegates](https://developers.google.com/workspace/
|
|
2045
|
+
# gmail/api/guides/delegate_settings). Gmail imposes limitations on the number
|
|
2046
|
+
# of delegates and delegators each user in a Google Workspace organization can
|
|
2047
|
+
# have. These limits depend on your organization, but in general each user can
|
|
2048
|
+
# have up to 25 delegates and up to 10 delegators. A delegate user must be
|
|
2049
|
+
# referred to by their primary email address, and not an email alias. When a new
|
|
2050
|
+
# delegate is created, there may be up to a one minute delay before the new
|
|
2051
|
+
# delegate is available for use. This method is only available to service
|
|
2052
|
+
# account clients that have been delegated domain-wide authority.
|
|
2011
2053
|
# @param [String] user_id
|
|
2012
2054
|
# User's email address. The special value "me" can be used to indicate the
|
|
2013
2055
|
# authenticated user.
|
|
@@ -2042,10 +2084,12 @@ module Google
|
|
|
2042
2084
|
end
|
|
2043
2085
|
|
|
2044
2086
|
# Removes the specified delegate (which can be of any verification status), and
|
|
2045
|
-
# revokes any verification that may have been required for using it.
|
|
2046
|
-
#
|
|
2047
|
-
#
|
|
2048
|
-
#
|
|
2087
|
+
# revokes any verification that may have been required for using it. For more
|
|
2088
|
+
# information, see [Manage delegates](https://developers.google.com/workspace/
|
|
2089
|
+
# gmail/api/guides/delegate_settings). A delegate user must be referred to by
|
|
2090
|
+
# their primary email address, and not an email alias. This method is only
|
|
2091
|
+
# available to service account clients that have been delegated domain-wide
|
|
2092
|
+
# authority.
|
|
2049
2093
|
# @param [String] user_id
|
|
2050
2094
|
# User's email address. The special value "me" can be used to indicate the
|
|
2051
2095
|
# authenticated user.
|
|
@@ -2077,10 +2121,11 @@ module Google
|
|
|
2077
2121
|
execute_or_queue_command(command, &block)
|
|
2078
2122
|
end
|
|
2079
2123
|
|
|
2080
|
-
# Gets the specified delegate.
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2124
|
+
# Gets the specified delegate. For more information, see [Manage delegates](
|
|
2125
|
+
# https://developers.google.com/workspace/gmail/api/guides/delegate_settings). A
|
|
2126
|
+
# delegate user must be referred to by their primary email address, and not an
|
|
2127
|
+
# email alias. This method is only available to service account clients that
|
|
2128
|
+
# have been delegated domain-wide authority.
|
|
2084
2129
|
# @param [String] user_id
|
|
2085
2130
|
# User's email address. The special value "me" can be used to indicate the
|
|
2086
2131
|
# authenticated user.
|
|
@@ -2114,8 +2159,10 @@ module Google
|
|
|
2114
2159
|
execute_or_queue_command(command, &block)
|
|
2115
2160
|
end
|
|
2116
2161
|
|
|
2117
|
-
# Lists the delegates for the specified account.
|
|
2118
|
-
#
|
|
2162
|
+
# Lists the delegates for the specified account. For more information, see [
|
|
2163
|
+
# Manage delegates](https://developers.google.com/workspace/gmail/api/guides/
|
|
2164
|
+
# delegate_settings). This method is only available to service account clients
|
|
2165
|
+
# that have been delegated domain-wide authority.
|
|
2119
2166
|
# @param [String] user_id
|
|
2120
2167
|
# User's email address. The special value "me" can be used to indicate the
|
|
2121
2168
|
# authenticated user.
|
|
@@ -2146,7 +2193,9 @@ module Google
|
|
|
2146
2193
|
execute_or_queue_command(command, &block)
|
|
2147
2194
|
end
|
|
2148
2195
|
|
|
2149
|
-
# Creates a filter. Note: you can only create a maximum of 1,000 filters.
|
|
2196
|
+
# Creates a filter. Note: you can only create a maximum of 1,000 filters. For
|
|
2197
|
+
# more information, see [Manage Gmail filters](https://developers.google.com/
|
|
2198
|
+
# workspace/gmail/api/guides/filter_settings).
|
|
2150
2199
|
# @param [String] user_id
|
|
2151
2200
|
# User's email address. The special value "me" can be used to indicate the
|
|
2152
2201
|
# authenticated user.
|
|
@@ -2180,7 +2229,9 @@ module Google
|
|
|
2180
2229
|
execute_or_queue_command(command, &block)
|
|
2181
2230
|
end
|
|
2182
2231
|
|
|
2183
|
-
# Immediately and permanently deletes the specified filter.
|
|
2232
|
+
# Immediately and permanently deletes the specified filter. For more information,
|
|
2233
|
+
# see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/
|
|
2234
|
+
# guides/filter_settings).
|
|
2184
2235
|
# @param [String] user_id
|
|
2185
2236
|
# User's email address. The special value "me" can be used to indicate the
|
|
2186
2237
|
# authenticated user.
|
|
@@ -2212,7 +2263,8 @@ module Google
|
|
|
2212
2263
|
execute_or_queue_command(command, &block)
|
|
2213
2264
|
end
|
|
2214
2265
|
|
|
2215
|
-
# Gets a filter.
|
|
2266
|
+
# Gets a filter. For more information, see [Manage Gmail filters](https://
|
|
2267
|
+
# developers.google.com/workspace/gmail/api/guides/filter_settings).
|
|
2216
2268
|
# @param [String] user_id
|
|
2217
2269
|
# User's email address. The special value "me" can be used to indicate the
|
|
2218
2270
|
# authenticated user.
|
|
@@ -2246,7 +2298,9 @@ module Google
|
|
|
2246
2298
|
execute_or_queue_command(command, &block)
|
|
2247
2299
|
end
|
|
2248
2300
|
|
|
2249
|
-
# Lists the message filters of a Gmail user.
|
|
2301
|
+
# Lists the message filters of a Gmail user. For more information, see [Manage
|
|
2302
|
+
# Gmail filters](https://developers.google.com/workspace/gmail/api/guides/
|
|
2303
|
+
# filter_settings).
|
|
2250
2304
|
# @param [String] user_id
|
|
2251
2305
|
# User's email address. The special value "me" can be used to indicate the
|
|
2252
2306
|
# authenticated user.
|
|
@@ -2280,8 +2334,10 @@ module Google
|
|
|
2280
2334
|
# Creates a forwarding address. If ownership verification is required, a message
|
|
2281
2335
|
# will be sent to the recipient and the resource's verification status will be
|
|
2282
2336
|
# set to `pending`; otherwise, the resource will be created with verification
|
|
2283
|
-
# status set to `accepted`.
|
|
2284
|
-
#
|
|
2337
|
+
# status set to `accepted`. For more information, see [Manage email forwarding](
|
|
2338
|
+
# https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).
|
|
2339
|
+
# This method is only available to service account clients that have been
|
|
2340
|
+
# delegated domain-wide authority.
|
|
2285
2341
|
# @param [String] user_id
|
|
2286
2342
|
# User's email address. The special value "me" can be used to indicate the
|
|
2287
2343
|
# authenticated user.
|
|
@@ -2316,8 +2372,10 @@ module Google
|
|
|
2316
2372
|
end
|
|
2317
2373
|
|
|
2318
2374
|
# Deletes the specified forwarding address and revokes any verification that may
|
|
2319
|
-
# have been required.
|
|
2320
|
-
#
|
|
2375
|
+
# have been required. For more information, see [Manage email forwarding](https:/
|
|
2376
|
+
# /developers.google.com/workspace/gmail/api/guides/forwarding_settings). This
|
|
2377
|
+
# method is only available to service account clients that have been delegated
|
|
2378
|
+
# domain-wide authority.
|
|
2321
2379
|
# @param [String] user_id
|
|
2322
2380
|
# User's email address. The special value "me" can be used to indicate the
|
|
2323
2381
|
# authenticated user.
|
|
@@ -2349,7 +2407,9 @@ module Google
|
|
|
2349
2407
|
execute_or_queue_command(command, &block)
|
|
2350
2408
|
end
|
|
2351
2409
|
|
|
2352
|
-
# Gets the specified forwarding address.
|
|
2410
|
+
# Gets the specified forwarding address. For more information, see [Manage email
|
|
2411
|
+
# forwarding](https://developers.google.com/workspace/gmail/api/guides/
|
|
2412
|
+
# forwarding_settings).
|
|
2353
2413
|
# @param [String] user_id
|
|
2354
2414
|
# User's email address. The special value "me" can be used to indicate the
|
|
2355
2415
|
# authenticated user.
|
|
@@ -2383,7 +2443,9 @@ module Google
|
|
|
2383
2443
|
execute_or_queue_command(command, &block)
|
|
2384
2444
|
end
|
|
2385
2445
|
|
|
2386
|
-
# Lists the forwarding addresses for the specified account.
|
|
2446
|
+
# Lists the forwarding addresses for the specified account. For more information,
|
|
2447
|
+
# see [Manage email forwarding](https://developers.google.com/workspace/gmail/
|
|
2448
|
+
# api/guides/forwarding_settings).
|
|
2387
2449
|
# @param [String] user_id
|
|
2388
2450
|
# User's email address. The special value "me" can be used to indicate the
|
|
2389
2451
|
# authenticated user.
|
|
@@ -2420,8 +2482,10 @@ module Google
|
|
|
2420
2482
|
# message will be sent to the email address and the resource's verification
|
|
2421
2483
|
# status will be set to `pending`; otherwise, the resource will be created with
|
|
2422
2484
|
# verification status set to `accepted`. If a signature is provided, Gmail will
|
|
2423
|
-
# sanitize the HTML before saving it with the alias.
|
|
2424
|
-
#
|
|
2485
|
+
# sanitize the HTML before saving it with the alias. For more information, see [
|
|
2486
|
+
# Manage aliases and signatures with the Gmail API](https://developers.google.
|
|
2487
|
+
# com/workspace/gmail/api/guides/alias_and_signature_settings). This method is
|
|
2488
|
+
# only available to service account clients that have been delegated domain-wide
|
|
2425
2489
|
# authority.
|
|
2426
2490
|
# @param [String] user_id
|
|
2427
2491
|
# User's email address. The special value "me" can be used to indicate the
|
|
@@ -2457,8 +2521,10 @@ module Google
|
|
|
2457
2521
|
end
|
|
2458
2522
|
|
|
2459
2523
|
# Deletes the specified send-as alias. Revokes any verification that may have
|
|
2460
|
-
# been required for using it.
|
|
2461
|
-
#
|
|
2524
|
+
# been required for using it. For more information, see [Manage aliases and
|
|
2525
|
+
# signatures with the Gmail API](https://developers.google.com/workspace/gmail/
|
|
2526
|
+
# api/guides/alias_and_signature_settings). This method is only available to
|
|
2527
|
+
# service account clients that have been delegated domain-wide authority.
|
|
2462
2528
|
# @param [String] user_id
|
|
2463
2529
|
# User's email address. The special value "me" can be used to indicate the
|
|
2464
2530
|
# authenticated user.
|
|
@@ -2491,7 +2557,9 @@ module Google
|
|
|
2491
2557
|
end
|
|
2492
2558
|
|
|
2493
2559
|
# Gets the specified send-as alias. Fails with an HTTP 404 error if the
|
|
2494
|
-
# specified address is not a member of the collection.
|
|
2560
|
+
# specified address is not a member of the collection. For more information, see
|
|
2561
|
+
# [Manage aliases and signatures with the Gmail API](https://developers.google.
|
|
2562
|
+
# com/workspace/gmail/api/guides/alias_and_signature_settings).
|
|
2495
2563
|
# @param [String] user_id
|
|
2496
2564
|
# User's email address. The special value "me" can be used to indicate the
|
|
2497
2565
|
# authenticated user.
|
|
@@ -2527,7 +2595,9 @@ module Google
|
|
|
2527
2595
|
|
|
2528
2596
|
# Lists the send-as aliases for the specified account. The result includes the
|
|
2529
2597
|
# primary send-as address associated with the account as well as any custom "
|
|
2530
|
-
# from" aliases.
|
|
2598
|
+
# from" aliases. For more information, see [Manage aliases and signatures with
|
|
2599
|
+
# the Gmail API](https://developers.google.com/workspace/gmail/api/guides/
|
|
2600
|
+
# alias_and_signature_settings).
|
|
2531
2601
|
# @param [String] user_id
|
|
2532
2602
|
# User's email address. The special value "me" can be used to indicate the
|
|
2533
2603
|
# authenticated user.
|
|
@@ -2558,7 +2628,9 @@ module Google
|
|
|
2558
2628
|
execute_or_queue_command(command, &block)
|
|
2559
2629
|
end
|
|
2560
2630
|
|
|
2561
|
-
# Patch the specified send-as alias.
|
|
2631
|
+
# Patch the specified send-as alias. For more information, see [Manage aliases
|
|
2632
|
+
# and signatures with the Gmail API](https://developers.google.com/workspace/
|
|
2633
|
+
# gmail/api/guides/alias_and_signature_settings).
|
|
2562
2634
|
# @param [String] user_id
|
|
2563
2635
|
# User's email address. The special value "me" can be used to indicate the
|
|
2564
2636
|
# authenticated user.
|
|
@@ -2596,9 +2668,11 @@ module Google
|
|
|
2596
2668
|
end
|
|
2597
2669
|
|
|
2598
2670
|
# Updates a send-as alias. If a signature is provided, Gmail will sanitize the
|
|
2599
|
-
# HTML before saving it with the alias.
|
|
2600
|
-
#
|
|
2601
|
-
#
|
|
2671
|
+
# HTML before saving it with the alias. For more information, see [Manage
|
|
2672
|
+
# aliases and signatures with the Gmail API](https://developers.google.com/
|
|
2673
|
+
# workspace/gmail/api/guides/alias_and_signature_settings). Addresses other than
|
|
2674
|
+
# the primary address for the account can only be updated by service account
|
|
2675
|
+
# clients that have been delegated domain-wide authority.
|
|
2602
2676
|
# @param [String] user_id
|
|
2603
2677
|
# User's email address. The special value "me" can be used to indicate the
|
|
2604
2678
|
# authenticated user.
|
|
@@ -2636,8 +2710,11 @@ module Google
|
|
|
2636
2710
|
end
|
|
2637
2711
|
|
|
2638
2712
|
# Sends a verification email to the specified send-as alias address. The
|
|
2639
|
-
# verification status must be `pending`.
|
|
2640
|
-
#
|
|
2713
|
+
# verification status must be `pending`. For more information, see [Manage
|
|
2714
|
+
# aliases and signatures with the Gmail API](https://developers.google.com/
|
|
2715
|
+
# workspace/gmail/api/guides/alias_and_signature_settings). This method is only
|
|
2716
|
+
# available to service account clients that have been delegated domain-wide
|
|
2717
|
+
# authority.
|
|
2641
2718
|
# @param [String] user_id
|
|
2642
2719
|
# User's email address. The special value "me" can be used to indicate the
|
|
2643
2720
|
# authenticated user.
|
|
@@ -2669,7 +2746,9 @@ module Google
|
|
|
2669
2746
|
execute_or_queue_command(command, &block)
|
|
2670
2747
|
end
|
|
2671
2748
|
|
|
2672
|
-
# Deletes the specified S/MIME config for the specified send-as alias.
|
|
2749
|
+
# Deletes the specified S/MIME config for the specified send-as alias. For more
|
|
2750
|
+
# information, see [Manage S/MIME certificates with the Gmail API](https://
|
|
2751
|
+
# developers.google.com/workspace/gmail/api/guides/smime_certs).
|
|
2673
2752
|
# @param [String] user_id
|
|
2674
2753
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2675
2754
|
# authenticated user.
|
|
@@ -2705,7 +2784,9 @@ module Google
|
|
|
2705
2784
|
execute_or_queue_command(command, &block)
|
|
2706
2785
|
end
|
|
2707
2786
|
|
|
2708
|
-
# Gets the specified S/MIME config for the specified send-as alias.
|
|
2787
|
+
# Gets the specified S/MIME config for the specified send-as alias. For more
|
|
2788
|
+
# information, see [Manage S/MIME certificates with the Gmail API](https://
|
|
2789
|
+
# developers.google.com/workspace/gmail/api/guides/smime_certs).
|
|
2709
2790
|
# @param [String] user_id
|
|
2710
2791
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2711
2792
|
# authenticated user.
|
|
@@ -2744,7 +2825,9 @@ module Google
|
|
|
2744
2825
|
end
|
|
2745
2826
|
|
|
2746
2827
|
# Insert (upload) the given S/MIME config for the specified send-as alias. Note
|
|
2747
|
-
# that pkcs12 format is required for the key.
|
|
2828
|
+
# that `pkcs12` format is required for the key. For more information, see [
|
|
2829
|
+
# Manage S/MIME certificates with the Gmail API](https://developers.google.com/
|
|
2830
|
+
# workspace/gmail/api/guides/smime_certs).
|
|
2748
2831
|
# @param [String] user_id
|
|
2749
2832
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2750
2833
|
# authenticated user.
|
|
@@ -2782,7 +2865,9 @@ module Google
|
|
|
2782
2865
|
execute_or_queue_command(command, &block)
|
|
2783
2866
|
end
|
|
2784
2867
|
|
|
2785
|
-
# Lists S/MIME configs for the specified send-as alias.
|
|
2868
|
+
# Lists S/MIME configs for the specified send-as alias. For more information,
|
|
2869
|
+
# see [Manage S/MIME certificates with the Gmail API](https://developers.google.
|
|
2870
|
+
# com/workspace/gmail/api/guides/smime_certs).
|
|
2786
2871
|
# @param [String] user_id
|
|
2787
2872
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2788
2873
|
# authenticated user.
|
|
@@ -2817,7 +2902,9 @@ module Google
|
|
|
2817
2902
|
execute_or_queue_command(command, &block)
|
|
2818
2903
|
end
|
|
2819
2904
|
|
|
2820
|
-
# Sets the default S/MIME config for the specified send-as alias.
|
|
2905
|
+
# Sets the default S/MIME config for the specified send-as alias. For more
|
|
2906
|
+
# information, see [Manage S/MIME certificates with the Gmail API](https://
|
|
2907
|
+
# developers.google.com/workspace/gmail/api/guides/smime_certs).
|
|
2821
2908
|
# @param [String] user_id
|
|
2822
2909
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2823
2910
|
# authenticated user.
|
|
@@ -2855,7 +2942,8 @@ module Google
|
|
|
2855
2942
|
|
|
2856
2943
|
# Immediately and permanently deletes the specified thread. Any messages that
|
|
2857
2944
|
# belong to the thread are also deleted. This operation cannot be undone. Prefer
|
|
2858
|
-
# `threads.trash` instead.
|
|
2945
|
+
# `threads.trash` instead. For more information, see [Manage threads](https://
|
|
2946
|
+
# developers.google.com/workspace/gmail/api/guides/threads).
|
|
2859
2947
|
# @param [String] user_id
|
|
2860
2948
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2861
2949
|
# authenticated user.
|
|
@@ -2887,7 +2975,8 @@ module Google
|
|
|
2887
2975
|
execute_or_queue_command(command, &block)
|
|
2888
2976
|
end
|
|
2889
2977
|
|
|
2890
|
-
# Gets the specified thread.
|
|
2978
|
+
# Gets the specified thread. For more information, see [Manage threads](https://
|
|
2979
|
+
# developers.google.com/workspace/gmail/api/guides/threads).
|
|
2891
2980
|
# @param [String] user_id
|
|
2892
2981
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2893
2982
|
# authenticated user.
|
|
@@ -2927,7 +3016,8 @@ module Google
|
|
|
2927
3016
|
execute_or_queue_command(command, &block)
|
|
2928
3017
|
end
|
|
2929
3018
|
|
|
2930
|
-
# Lists the threads in the user's mailbox.
|
|
3019
|
+
# Lists the threads in the user's mailbox. For more information, see [Manage
|
|
3020
|
+
# threads](https://developers.google.com/workspace/gmail/api/guides/threads).
|
|
2931
3021
|
# @param [String] user_id
|
|
2932
3022
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2933
3023
|
# authenticated user.
|
|
@@ -2978,7 +3068,8 @@ module Google
|
|
|
2978
3068
|
end
|
|
2979
3069
|
|
|
2980
3070
|
# Modifies the labels applied to the thread. This applies to all messages in the
|
|
2981
|
-
# thread.
|
|
3071
|
+
# thread. For more information, see [Manage threads](https://developers.google.
|
|
3072
|
+
# com/workspace/gmail/api/guides/threads).
|
|
2982
3073
|
# @param [String] user_id
|
|
2983
3074
|
# The user's email address. The special value `me` can be used to indicate the
|
|
2984
3075
|
# authenticated user.
|
|
@@ -3016,7 +3107,8 @@ module Google
|
|
|
3016
3107
|
end
|
|
3017
3108
|
|
|
3018
3109
|
# Moves the specified thread to the trash. Any messages that belong to the
|
|
3019
|
-
# thread are also moved to the trash.
|
|
3110
|
+
# thread are also moved to the trash. For more information, see [Manage threads](
|
|
3111
|
+
# https://developers.google.com/workspace/gmail/api/guides/threads).
|
|
3020
3112
|
# @param [String] user_id
|
|
3021
3113
|
# The user's email address. The special value `me` can be used to indicate the
|
|
3022
3114
|
# authenticated user.
|
|
@@ -3051,7 +3143,8 @@ module Google
|
|
|
3051
3143
|
end
|
|
3052
3144
|
|
|
3053
3145
|
# Removes the specified thread from the trash. Any messages that belong to the
|
|
3054
|
-
# thread are also removed from the trash.
|
|
3146
|
+
# thread are also removed from the trash. For more information, see [Manage
|
|
3147
|
+
# threads](https://developers.google.com/workspace/gmail/api/guides/threads).
|
|
3055
3148
|
# @param [String] user_id
|
|
3056
3149
|
# The user's email address. The special value `me` can be used to indicate the
|
|
3057
3150
|
# 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.
|
|
4
|
+
version: 0.49.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.49.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:
|