google-api-client 0.42.0 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +70 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +111 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +5 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +25 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +5 -5
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +5 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +279 -0
- data/generated/google/apis/compute_beta/representations.rb +90 -0
- data/generated/google/apis/compute_beta/service.rb +257 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +279 -0
- data/generated/google/apis/compute_v1/representations.rb +90 -0
- data/generated/google/apis/compute_v1/service.rb +257 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +9 -0
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +15 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +4 -4
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +3 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +9 -9
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +2 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +66 -2
- data/generated/google/apis/drive_v2/representations.rb +22 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +65 -2
- data/generated/google/apis/drive_v3/representations.rb +22 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +48 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +54 -30
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +6 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
|
51
51
|
# Gets the current user's Gmail profile.
|
52
52
|
# @param [String] user_id
|
53
|
-
# The user's email address. The special value
|
53
|
+
# The user's email address. The special value `me`
|
54
54
|
# can be used to indicate the authenticated user.
|
55
55
|
# @param [String] fields
|
56
56
|
# Selector specifying which fields to include in a partial response.
|
@@ -81,7 +81,7 @@ module Google
|
|
81
81
|
|
82
82
|
# Stop receiving push notifications for the given user mailbox.
|
83
83
|
# @param [String] user_id
|
84
|
-
# The user's email address. The special value
|
84
|
+
# The user's email address. The special value `me`
|
85
85
|
# can be used to indicate the authenticated user.
|
86
86
|
# @param [String] fields
|
87
87
|
# Selector specifying which fields to include in a partial response.
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
|
111
111
|
# Set up or update a push notification watch on the given user mailbox.
|
112
112
|
# @param [String] user_id
|
113
|
-
# The user's email address. The special value
|
113
|
+
# The user's email address. The special value `me`
|
114
114
|
# can be used to indicate the authenticated user.
|
115
115
|
# @param [Google::Apis::GmailV1::WatchRequest] watch_request_object
|
116
116
|
# @param [String] fields
|
@@ -142,9 +142,9 @@ module Google
|
|
142
142
|
execute_or_queue_command(command, &block)
|
143
143
|
end
|
144
144
|
|
145
|
-
# Creates a new draft with the
|
145
|
+
# Creates a new draft with the `DRAFT` label.
|
146
146
|
# @param [String] user_id
|
147
|
-
# The user's email address. The special value
|
147
|
+
# The user's email address. The special value `me`
|
148
148
|
# can be used to indicate the authenticated user.
|
149
149
|
# @param [Google::Apis::GmailV1::Draft] draft_object
|
150
150
|
# @param [String] fields
|
@@ -189,7 +189,7 @@ module Google
|
|
189
189
|
# Immediately and permanently deletes the specified draft.
|
190
190
|
# Does not simply trash it.
|
191
191
|
# @param [String] user_id
|
192
|
-
# The user's email address. The special value
|
192
|
+
# The user's email address. The special value `me`
|
193
193
|
# can be used to indicate the authenticated user.
|
194
194
|
# @param [String] id
|
195
195
|
# The ID of the draft to delete.
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
|
222
222
|
# Gets the specified draft.
|
223
223
|
# @param [String] user_id
|
224
|
-
# The user's email address. The special value
|
224
|
+
# The user's email address. The special value `me`
|
225
225
|
# can be used to indicate the authenticated user.
|
226
226
|
# @param [String] id
|
227
227
|
# The ID of the draft to retrieve.
|
@@ -258,10 +258,10 @@ module Google
|
|
258
258
|
|
259
259
|
# Lists the drafts in the user's mailbox.
|
260
260
|
# @param [String] user_id
|
261
|
-
# The user's email address. The special value
|
261
|
+
# The user's email address. The special value `me`
|
262
262
|
# can be used to indicate the authenticated user.
|
263
263
|
# @param [Boolean] include_spam_trash
|
264
|
-
# Include drafts from
|
264
|
+
# Include drafts from `SPAM` and `TRASH`
|
265
265
|
# in the results.
|
266
266
|
# @param [Fixnum] max_results
|
267
267
|
# Maximum number of drafts to return.
|
@@ -270,8 +270,8 @@ module Google
|
|
270
270
|
# @param [String] q
|
271
271
|
# Only return draft messages matching the specified query. Supports the same
|
272
272
|
# query format as the Gmail search box. For example,
|
273
|
-
#
|
274
|
-
# is:unread"
|
273
|
+
# `"from:someuser@example.com rfc822msgid:<somemsgid@example.com>
|
274
|
+
# is:unread"`.
|
275
275
|
# @param [String] fields
|
276
276
|
# Selector specifying which fields to include in a partial response.
|
277
277
|
# @param [String] quota_user
|
@@ -304,9 +304,9 @@ module Google
|
|
304
304
|
end
|
305
305
|
|
306
306
|
# Sends the specified, existing draft to the recipients in the
|
307
|
-
#
|
307
|
+
# `To`, `Cc`, and `Bcc` headers.
|
308
308
|
# @param [String] user_id
|
309
|
-
# The user's email address. The special value
|
309
|
+
# The user's email address. The special value `me`
|
310
310
|
# can be used to indicate the authenticated user.
|
311
311
|
# @param [Google::Apis::GmailV1::Draft] draft_object
|
312
312
|
# @param [String] fields
|
@@ -350,7 +350,7 @@ module Google
|
|
350
350
|
|
351
351
|
# Replaces a draft's content.
|
352
352
|
# @param [String] user_id
|
353
|
-
# The user's email address. The special value
|
353
|
+
# The user's email address. The special value `me`
|
354
354
|
# can be used to indicate the authenticated user.
|
355
355
|
# @param [String] id
|
356
356
|
# The ID of the draft to update.
|
@@ -396,9 +396,9 @@ module Google
|
|
396
396
|
end
|
397
397
|
|
398
398
|
# Lists the history of all changes to the given mailbox. History results are
|
399
|
-
# returned in chronological order (increasing
|
399
|
+
# returned in chronological order (increasing `historyId`).
|
400
400
|
# @param [String] user_id
|
401
|
-
# The user's email address. The special value
|
401
|
+
# The user's email address. The special value `me`
|
402
402
|
# can be used to indicate the authenticated user.
|
403
403
|
# @param [Array<String>, String] history_types
|
404
404
|
# History types to be returned by the function
|
@@ -410,18 +410,18 @@ module Google
|
|
410
410
|
# Page token to retrieve a specific page of results in the list.
|
411
411
|
# @param [Fixnum] start_history_id
|
412
412
|
# Required. Returns history records after the specified
|
413
|
-
#
|
414
|
-
# should be obtained from the
|
415
|
-
# previous
|
413
|
+
# `startHistoryId`. The supplied `startHistoryId`
|
414
|
+
# should be obtained from the `historyId` of a message, thread, or
|
415
|
+
# previous `list` response. History IDs increase
|
416
416
|
# chronologically but are not contiguous with random gaps in between valid
|
417
|
-
# IDs. Supplying an invalid or out of date
|
418
|
-
# typically returns an
|
419
|
-
#
|
417
|
+
# IDs. Supplying an invalid or out of date `startHistoryId`
|
418
|
+
# typically returns an `HTTP 404` error code. A
|
419
|
+
# `historyId` is typically valid for at least a week, but in some
|
420
420
|
# rare circumstances may be valid for only a few hours. If you receive an
|
421
|
-
#
|
422
|
-
# full sync. If you receive no
|
421
|
+
# `HTTP 404` error response, your application should perform a
|
422
|
+
# full sync. If you receive no `nextPageToken` in the response,
|
423
423
|
# there are no updates to retrieve and you can store the returned
|
424
|
-
#
|
424
|
+
# `historyId` for a future request.
|
425
425
|
# @param [String] fields
|
426
426
|
# Selector specifying which fields to include in a partial response.
|
427
427
|
# @param [String] quota_user
|
@@ -456,7 +456,7 @@ module Google
|
|
456
456
|
|
457
457
|
# Creates a new label.
|
458
458
|
# @param [String] user_id
|
459
|
-
# The user's email address. The special value
|
459
|
+
# The user's email address. The special value `me`
|
460
460
|
# can be used to indicate the authenticated user.
|
461
461
|
# @param [Google::Apis::GmailV1::Label] label_object
|
462
462
|
# @param [String] fields
|
@@ -491,7 +491,7 @@ module Google
|
|
491
491
|
# Immediately and permanently deletes the specified label and removes it from
|
492
492
|
# any messages and threads that it is applied to.
|
493
493
|
# @param [String] user_id
|
494
|
-
# The user's email address. The special value
|
494
|
+
# The user's email address. The special value `me`
|
495
495
|
# can be used to indicate the authenticated user.
|
496
496
|
# @param [String] id
|
497
497
|
# The ID of the label to delete.
|
@@ -523,7 +523,7 @@ module Google
|
|
523
523
|
|
524
524
|
# Gets the specified label.
|
525
525
|
# @param [String] user_id
|
526
|
-
# The user's email address. The special value
|
526
|
+
# The user's email address. The special value `me`
|
527
527
|
# can be used to indicate the authenticated user.
|
528
528
|
# @param [String] id
|
529
529
|
# The ID of the label to retrieve.
|
@@ -557,7 +557,7 @@ module Google
|
|
557
557
|
|
558
558
|
# Lists all labels in the user's mailbox.
|
559
559
|
# @param [String] user_id
|
560
|
-
# The user's email address. The special value
|
560
|
+
# The user's email address. The special value `me`
|
561
561
|
# can be used to indicate the authenticated user.
|
562
562
|
# @param [String] fields
|
563
563
|
# Selector specifying which fields to include in a partial response.
|
@@ -588,7 +588,7 @@ module Google
|
|
588
588
|
|
589
589
|
# Patch the specified label.
|
590
590
|
# @param [String] user_id
|
591
|
-
# The user's email address. The special value
|
591
|
+
# The user's email address. The special value `me`
|
592
592
|
# can be used to indicate the authenticated user.
|
593
593
|
# @param [String] id
|
594
594
|
# The ID of the label to update.
|
@@ -625,7 +625,7 @@ module Google
|
|
625
625
|
|
626
626
|
# Updates the specified label.
|
627
627
|
# @param [String] user_id
|
628
|
-
# The user's email address. The special value
|
628
|
+
# The user's email address. The special value `me`
|
629
629
|
# can be used to indicate the authenticated user.
|
630
630
|
# @param [String] id
|
631
631
|
# The ID of the label to update.
|
@@ -663,7 +663,7 @@ module Google
|
|
663
663
|
# Deletes many messages by message ID. Provides no guarantees that messages
|
664
664
|
# were not already deleted or even existed at all.
|
665
665
|
# @param [String] user_id
|
666
|
-
# The user's email address. The special value
|
666
|
+
# The user's email address. The special value `me`
|
667
667
|
# can be used to indicate the authenticated user.
|
668
668
|
# @param [Google::Apis::GmailV1::BatchDeleteMessagesRequest] batch_delete_messages_request_object
|
669
669
|
# @param [String] fields
|
@@ -695,7 +695,7 @@ module Google
|
|
695
695
|
|
696
696
|
# Modifies the labels on the specified messages.
|
697
697
|
# @param [String] user_id
|
698
|
-
# The user's email address. The special value
|
698
|
+
# The user's email address. The special value `me`
|
699
699
|
# can be used to indicate the authenticated user.
|
700
700
|
# @param [Google::Apis::GmailV1::BatchModifyMessagesRequest] batch_modify_messages_request_object
|
701
701
|
# @param [String] fields
|
@@ -726,9 +726,9 @@ module Google
|
|
726
726
|
end
|
727
727
|
|
728
728
|
# Immediately and permanently deletes the specified message. This operation
|
729
|
-
# cannot be undone. Prefer
|
729
|
+
# cannot be undone. Prefer `messages.trash` instead.
|
730
730
|
# @param [String] user_id
|
731
|
-
# The user's email address. The special value
|
731
|
+
# The user's email address. The special value `me`
|
732
732
|
# can be used to indicate the authenticated user.
|
733
733
|
# @param [String] id
|
734
734
|
# The ID of the message to delete.
|
@@ -760,7 +760,7 @@ module Google
|
|
760
760
|
|
761
761
|
# Gets the specified message.
|
762
762
|
# @param [String] user_id
|
763
|
-
# The user's email address. The special value
|
763
|
+
# The user's email address. The special value `me`
|
764
764
|
# can be used to indicate the authenticated user.
|
765
765
|
# @param [String] id
|
766
766
|
# The ID of the message to retrieve.
|
@@ -802,7 +802,7 @@ module Google
|
|
802
802
|
# email delivery scanning and classification similar to receiving via SMTP.
|
803
803
|
# Does not send a message.
|
804
804
|
# @param [String] user_id
|
805
|
-
# The user's email address. The special value
|
805
|
+
# The user's email address. The special value `me`
|
806
806
|
# can be used to indicate the authenticated user.
|
807
807
|
# @param [Google::Apis::GmailV1::Message] message_object
|
808
808
|
# @param [Boolean] deleted
|
@@ -862,10 +862,10 @@ module Google
|
|
862
862
|
end
|
863
863
|
|
864
864
|
# Directly inserts a message into only this user's mailbox similar to
|
865
|
-
#
|
865
|
+
# `IMAP APPEND`, bypassing most scanning and classification.
|
866
866
|
# Does not send a message.
|
867
867
|
# @param [String] user_id
|
868
|
-
# The user's email address. The special value
|
868
|
+
# The user's email address. The special value `me`
|
869
869
|
# can be used to indicate the authenticated user.
|
870
870
|
# @param [Google::Apis::GmailV1::Message] message_object
|
871
871
|
# @param [Boolean] deleted
|
@@ -918,10 +918,10 @@ module Google
|
|
918
918
|
|
919
919
|
# Lists the messages in the user's mailbox.
|
920
920
|
# @param [String] user_id
|
921
|
-
# The user's email address. The special value
|
921
|
+
# The user's email address. The special value `me`
|
922
922
|
# can be used to indicate the authenticated user.
|
923
923
|
# @param [Boolean] include_spam_trash
|
924
|
-
# Include messages from
|
924
|
+
# Include messages from `SPAM` and `TRASH`
|
925
925
|
# in the results.
|
926
926
|
# @param [Array<String>, String] label_ids
|
927
927
|
# Only return messages with labels that match all of the specified label IDs.
|
@@ -932,8 +932,8 @@ module Google
|
|
932
932
|
# @param [String] q
|
933
933
|
# Only return messages matching the specified query. Supports the same
|
934
934
|
# query format as the Gmail search box. For example,
|
935
|
-
#
|
936
|
-
# is:unread"
|
935
|
+
# `"from:someuser@example.com rfc822msgid:<somemsgid@example.com>
|
936
|
+
# is:unread"`. Parameter cannot be used when accessing the api
|
937
937
|
# using the gmail.metadata scope.
|
938
938
|
# @param [String] fields
|
939
939
|
# Selector specifying which fields to include in a partial response.
|
@@ -969,7 +969,7 @@ module Google
|
|
969
969
|
|
970
970
|
# Modifies the labels on the specified message.
|
971
971
|
# @param [String] user_id
|
972
|
-
# The user's email address. The special value
|
972
|
+
# The user's email address. The special value `me`
|
973
973
|
# can be used to indicate the authenticated user.
|
974
974
|
# @param [String] id
|
975
975
|
# The ID of the message to modify.
|
@@ -1005,9 +1005,9 @@ module Google
|
|
1005
1005
|
end
|
1006
1006
|
|
1007
1007
|
# Sends the specified message to the recipients in the
|
1008
|
-
#
|
1008
|
+
# `To`, `Cc`, and `Bcc` headers.
|
1009
1009
|
# @param [String] user_id
|
1010
|
-
# The user's email address. The special value
|
1010
|
+
# The user's email address. The special value `me`
|
1011
1011
|
# can be used to indicate the authenticated user.
|
1012
1012
|
# @param [Google::Apis::GmailV1::Message] message_object
|
1013
1013
|
# @param [String] fields
|
@@ -1051,7 +1051,7 @@ module Google
|
|
1051
1051
|
|
1052
1052
|
# Moves the specified message to the trash.
|
1053
1053
|
# @param [String] user_id
|
1054
|
-
# The user's email address. The special value
|
1054
|
+
# The user's email address. The special value `me`
|
1055
1055
|
# can be used to indicate the authenticated user.
|
1056
1056
|
# @param [String] id
|
1057
1057
|
# The ID of the message to Trash.
|
@@ -1085,7 +1085,7 @@ module Google
|
|
1085
1085
|
|
1086
1086
|
# Removes the specified message from the trash.
|
1087
1087
|
# @param [String] user_id
|
1088
|
-
# The user's email address. The special value
|
1088
|
+
# The user's email address. The special value `me`
|
1089
1089
|
# can be used to indicate the authenticated user.
|
1090
1090
|
# @param [String] id
|
1091
1091
|
# The ID of the message to remove from Trash.
|
@@ -1119,7 +1119,7 @@ module Google
|
|
1119
1119
|
|
1120
1120
|
# Gets the specified message attachment.
|
1121
1121
|
# @param [String] user_id
|
1122
|
-
# The user's email address. The special value
|
1122
|
+
# The user's email address. The special value `me`
|
1123
1123
|
# can be used to indicate the authenticated user.
|
1124
1124
|
# @param [String] message_id
|
1125
1125
|
# The ID of the message containing the attachment.
|
@@ -1381,9 +1381,9 @@ module Google
|
|
1381
1381
|
end
|
1382
1382
|
|
1383
1383
|
# Updates language settings.
|
1384
|
-
# If successful, the return object contains the
|
1384
|
+
# If successful, the return object contains the `displayLanguage`
|
1385
1385
|
# that was saved for the user, which may differ from the value passed into
|
1386
|
-
# the request. This is because the requested
|
1386
|
+
# the request. This is because the requested `displayLanguage` may
|
1387
1387
|
# not be directly supported by Gmail but have a close variant that is, and so
|
1388
1388
|
# the variant may be chosen and saved instead.
|
1389
1389
|
# @param [String] user_id
|
@@ -1488,7 +1488,7 @@ module Google
|
|
1488
1488
|
end
|
1489
1489
|
|
1490
1490
|
# Adds a delegate with its verification status set directly to
|
1491
|
-
#
|
1491
|
+
# `accepted`, without sending any verification email. The
|
1492
1492
|
# delegate user must be a member of the same G Suite organization as the
|
1493
1493
|
# delegator user.
|
1494
1494
|
# Gmail imposes limitations on the number of delegates and delegators each
|
@@ -1776,8 +1776,8 @@ module Google
|
|
1776
1776
|
|
1777
1777
|
# Creates a forwarding address. If ownership verification is required, a
|
1778
1778
|
# message will be sent to the recipient and the resource's verification
|
1779
|
-
# status will be set to
|
1780
|
-
# created with verification status set to
|
1779
|
+
# status will be set to `pending`; otherwise, the resource will be
|
1780
|
+
# created with verification status set to `accepted`.
|
1781
1781
|
# This method is only available to service account clients that have been
|
1782
1782
|
# delegated domain-wide authority.
|
1783
1783
|
# @param [String] user_id
|
@@ -1917,9 +1917,9 @@ module Google
|
|
1917
1917
|
# will attempt to connect to the SMTP service to validate the configuration
|
1918
1918
|
# before creating the alias. If ownership verification is required for the
|
1919
1919
|
# alias, a message will be sent to the email address and the resource's
|
1920
|
-
# verification status will be set to
|
1920
|
+
# verification status will be set to `pending`; otherwise, the
|
1921
1921
|
# resource will be created with verification status set to
|
1922
|
-
#
|
1922
|
+
# `accepted`. If a signature is provided, Gmail will sanitize the
|
1923
1923
|
# HTML before saving it with the alias.
|
1924
1924
|
# This method is only available to service account clients that have been
|
1925
1925
|
# delegated domain-wide authority.
|
@@ -2138,7 +2138,7 @@ module Google
|
|
2138
2138
|
end
|
2139
2139
|
|
2140
2140
|
# Sends a verification email to the specified send-as alias address.
|
2141
|
-
# The verification status must be
|
2141
|
+
# The verification status must be `pending`.
|
2142
2142
|
# This method is only available to service account clients that have been
|
2143
2143
|
# delegated domain-wide authority.
|
2144
2144
|
# @param [String] user_id
|
@@ -2174,7 +2174,7 @@ module Google
|
|
2174
2174
|
|
2175
2175
|
# Deletes the specified S/MIME config for the specified send-as alias.
|
2176
2176
|
# @param [String] user_id
|
2177
|
-
# The user's email address. The special value
|
2177
|
+
# The user's email address. The special value `me`
|
2178
2178
|
# can be used to indicate the authenticated user.
|
2179
2179
|
# @param [String] send_as_email
|
2180
2180
|
# The email address that appears in the "From:" header for mail sent using
|
@@ -2210,7 +2210,7 @@ module Google
|
|
2210
2210
|
|
2211
2211
|
# Gets the specified S/MIME config for the specified send-as alias.
|
2212
2212
|
# @param [String] user_id
|
2213
|
-
# The user's email address. The special value
|
2213
|
+
# The user's email address. The special value `me`
|
2214
2214
|
# can be used to indicate the authenticated user.
|
2215
2215
|
# @param [String] send_as_email
|
2216
2216
|
# The email address that appears in the "From:" header for mail sent using
|
@@ -2249,7 +2249,7 @@ module Google
|
|
2249
2249
|
# Insert (upload) the given S/MIME config for the specified send-as alias.
|
2250
2250
|
# Note that pkcs12 format is required for the key.
|
2251
2251
|
# @param [String] user_id
|
2252
|
-
# The user's email address. The special value
|
2252
|
+
# The user's email address. The special value `me`
|
2253
2253
|
# can be used to indicate the authenticated user.
|
2254
2254
|
# @param [String] send_as_email
|
2255
2255
|
# The email address that appears in the "From:" header for mail sent using
|
@@ -2287,7 +2287,7 @@ module Google
|
|
2287
2287
|
|
2288
2288
|
# Lists S/MIME configs for the specified send-as alias.
|
2289
2289
|
# @param [String] user_id
|
2290
|
-
# The user's email address. The special value
|
2290
|
+
# The user's email address. The special value `me`
|
2291
2291
|
# can be used to indicate the authenticated user.
|
2292
2292
|
# @param [String] send_as_email
|
2293
2293
|
# The email address that appears in the "From:" header for mail sent using
|
@@ -2322,7 +2322,7 @@ module Google
|
|
2322
2322
|
|
2323
2323
|
# Sets the default S/MIME config for the specified send-as alias.
|
2324
2324
|
# @param [String] user_id
|
2325
|
-
# The user's email address. The special value
|
2325
|
+
# The user's email address. The special value `me`
|
2326
2326
|
# can be used to indicate the authenticated user.
|
2327
2327
|
# @param [String] send_as_email
|
2328
2328
|
# The email address that appears in the "From:" header for mail sent using
|
@@ -2357,9 +2357,9 @@ module Google
|
|
2357
2357
|
end
|
2358
2358
|
|
2359
2359
|
# Immediately and permanently deletes the specified thread. This operation
|
2360
|
-
# cannot be undone. Prefer
|
2360
|
+
# cannot be undone. Prefer `threads.trash` instead.
|
2361
2361
|
# @param [String] user_id
|
2362
|
-
# The user's email address. The special value
|
2362
|
+
# The user's email address. The special value `me`
|
2363
2363
|
# can be used to indicate the authenticated user.
|
2364
2364
|
# @param [String] id
|
2365
2365
|
# ID of the Thread to delete.
|
@@ -2391,7 +2391,7 @@ module Google
|
|
2391
2391
|
|
2392
2392
|
# Gets the specified thread.
|
2393
2393
|
# @param [String] user_id
|
2394
|
-
# The user's email address. The special value
|
2394
|
+
# The user's email address. The special value `me`
|
2395
2395
|
# can be used to indicate the authenticated user.
|
2396
2396
|
# @param [String] id
|
2397
2397
|
# The ID of the thread to retrieve.
|
@@ -2431,10 +2431,10 @@ module Google
|
|
2431
2431
|
|
2432
2432
|
# Lists the threads in the user's mailbox.
|
2433
2433
|
# @param [String] user_id
|
2434
|
-
# The user's email address. The special value
|
2434
|
+
# The user's email address. The special value `me`
|
2435
2435
|
# can be used to indicate the authenticated user.
|
2436
2436
|
# @param [Boolean] include_spam_trash
|
2437
|
-
# Include threads from
|
2437
|
+
# Include threads from `SPAM` and `TRASH`
|
2438
2438
|
# in the results.
|
2439
2439
|
# @param [Array<String>, String] label_ids
|
2440
2440
|
# Only return threads with labels that match all of the specified label IDs.
|
@@ -2445,8 +2445,8 @@ module Google
|
|
2445
2445
|
# @param [String] q
|
2446
2446
|
# Only return threads matching the specified query. Supports the same
|
2447
2447
|
# query format as the Gmail search box. For example,
|
2448
|
-
#
|
2449
|
-
# is:unread"
|
2448
|
+
# `"from:someuser@example.com rfc822msgid:<somemsgid@example.com>
|
2449
|
+
# is:unread"`. Parameter cannot be used when accessing the api
|
2450
2450
|
# using the gmail.metadata scope.
|
2451
2451
|
# @param [String] fields
|
2452
2452
|
# Selector specifying which fields to include in a partial response.
|
@@ -2483,7 +2483,7 @@ module Google
|
|
2483
2483
|
# Modifies the labels applied to the thread. This applies to all messages
|
2484
2484
|
# in the thread.
|
2485
2485
|
# @param [String] user_id
|
2486
|
-
# The user's email address. The special value
|
2486
|
+
# The user's email address. The special value `me`
|
2487
2487
|
# can be used to indicate the authenticated user.
|
2488
2488
|
# @param [String] id
|
2489
2489
|
# The ID of the thread to modify.
|
@@ -2520,7 +2520,7 @@ module Google
|
|
2520
2520
|
|
2521
2521
|
# Moves the specified thread to the trash.
|
2522
2522
|
# @param [String] user_id
|
2523
|
-
# The user's email address. The special value
|
2523
|
+
# The user's email address. The special value `me`
|
2524
2524
|
# can be used to indicate the authenticated user.
|
2525
2525
|
# @param [String] id
|
2526
2526
|
# The ID of the thread to Trash.
|
@@ -2554,7 +2554,7 @@ module Google
|
|
2554
2554
|
|
2555
2555
|
# Removes the specified thread from the trash.
|
2556
2556
|
# @param [String] user_id
|
2557
|
-
# The user's email address. The special value
|
2557
|
+
# The user's email address. The special value `me`
|
2558
2558
|
# can be used to indicate the authenticated user.
|
2559
2559
|
# @param [String] id
|
2560
2560
|
# The ID of the thread to remove from Trash.
|