google-apis-gmail_v1 0.40.0 → 0.41.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 +5 -0
- data/lib/google/apis/gmail_v1/gem_version.rb +3 -3
- data/lib/google/apis/gmail_v1/service.rb +6 -18
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee93be3545668d52e8155f9789f438d2ae38186aa518fae1c8e4d3ebbd9b2eb7
|
4
|
+
data.tar.gz: 5380c51df03781a6d511cc7a5602643ae0a005719ca6e79a990de2835248da9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2bf8c0ba36b0d679a99dd45208c88f71771749f1be7c4053cac6bb5709a04222a8848015c7ccd7ce4c369c8d7293072c326578c2a07f6d5699b0e3a0d40f06c
|
7
|
+
data.tar.gz: 5b8348339410c8f9429417b7ab127a7c9fb9eac800835ce7bc507317801d46e2e033d67c6385244ea3fa42ed55fe4ed49df1c9bfcfc334bd0ec2110bb4718b7c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-gmail_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240520
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
3
8
|
### v0.40.0 (2024-04-28)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240422
|
@@ -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.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240520"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -56,7 +56,6 @@ module Google
|
|
56
56
|
# @param [String] user_id
|
57
57
|
# The user's email address. The special value `me` can be used to indicate the
|
58
58
|
# authenticated user.
|
59
|
-
# @param [Boolean] temporary_eecc_bypass
|
60
59
|
# @param [String] fields
|
61
60
|
# Selector specifying which fields to include in a partial response.
|
62
61
|
# @param [String] quota_user
|
@@ -74,12 +73,11 @@ module Google
|
|
74
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
-
def get_user_profile(user_id,
|
76
|
+
def get_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block)
|
78
77
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/profile', options)
|
79
78
|
command.response_representation = Google::Apis::GmailV1::Profile::Representation
|
80
79
|
command.response_class = Google::Apis::GmailV1::Profile
|
81
80
|
command.params['userId'] = user_id unless user_id.nil?
|
82
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
83
81
|
command.query['fields'] = fields unless fields.nil?
|
84
82
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
83
|
execute_or_queue_command(command, &block)
|
@@ -773,7 +771,6 @@ module Google
|
|
773
771
|
# The format to return the message in.
|
774
772
|
# @param [Array<String>, String] metadata_headers
|
775
773
|
# When given and format is `METADATA`, only include headers specified.
|
776
|
-
# @param [Boolean] temporary_eecc_bypass
|
777
774
|
# @param [String] fields
|
778
775
|
# Selector specifying which fields to include in a partial response.
|
779
776
|
# @param [String] quota_user
|
@@ -791,7 +788,7 @@ module Google
|
|
791
788
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
792
789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
|
-
def get_user_message(user_id, id, format: nil, metadata_headers: nil,
|
791
|
+
def get_user_message(user_id, id, format: nil, metadata_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
795
792
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/messages/{id}', options)
|
796
793
|
command.response_representation = Google::Apis::GmailV1::Message::Representation
|
797
794
|
command.response_class = Google::Apis::GmailV1::Message
|
@@ -799,7 +796,6 @@ module Google
|
|
799
796
|
command.params['id'] = id unless id.nil?
|
800
797
|
command.query['format'] = format unless format.nil?
|
801
798
|
command.query['metadataHeaders'] = metadata_headers unless metadata_headers.nil?
|
802
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
803
799
|
command.query['fields'] = fields unless fields.nil?
|
804
800
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
805
801
|
execute_or_queue_command(command, &block)
|
@@ -941,7 +937,6 @@ module Google
|
|
941
937
|
# format as the Gmail search box. For example, `"from:someuser@example.com
|
942
938
|
# rfc822msgid: is:unread"`. Parameter cannot be used when accessing the api
|
943
939
|
# using the gmail.metadata scope.
|
944
|
-
# @param [Boolean] temporary_eecc_bypass
|
945
940
|
# @param [String] fields
|
946
941
|
# Selector specifying which fields to include in a partial response.
|
947
942
|
# @param [String] quota_user
|
@@ -959,7 +954,7 @@ module Google
|
|
959
954
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
960
955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
961
956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
962
|
-
def list_user_messages(user_id, include_spam_trash: nil, label_ids: nil, max_results: nil, page_token: nil, q: nil,
|
957
|
+
def list_user_messages(user_id, include_spam_trash: nil, label_ids: nil, max_results: nil, page_token: nil, q: nil, fields: nil, quota_user: nil, options: nil, &block)
|
963
958
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/messages', options)
|
964
959
|
command.response_representation = Google::Apis::GmailV1::ListMessagesResponse::Representation
|
965
960
|
command.response_class = Google::Apis::GmailV1::ListMessagesResponse
|
@@ -969,7 +964,6 @@ module Google
|
|
969
964
|
command.query['maxResults'] = max_results unless max_results.nil?
|
970
965
|
command.query['pageToken'] = page_token unless page_token.nil?
|
971
966
|
command.query['q'] = q unless q.nil?
|
972
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
973
967
|
command.query['fields'] = fields unless fields.nil?
|
974
968
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
975
969
|
execute_or_queue_command(command, &block)
|
@@ -1134,7 +1128,6 @@ module Google
|
|
1134
1128
|
# The ID of the message containing the attachment.
|
1135
1129
|
# @param [String] id
|
1136
1130
|
# The ID of the attachment.
|
1137
|
-
# @param [Boolean] temporary_eecc_bypass
|
1138
1131
|
# @param [String] fields
|
1139
1132
|
# Selector specifying which fields to include in a partial response.
|
1140
1133
|
# @param [String] quota_user
|
@@ -1152,14 +1145,13 @@ module Google
|
|
1152
1145
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1153
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1154
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1155
|
-
def get_user_message_attachment(user_id, message_id, id,
|
1148
|
+
def get_user_message_attachment(user_id, message_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
1156
1149
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}', options)
|
1157
1150
|
command.response_representation = Google::Apis::GmailV1::MessagePartBody::Representation
|
1158
1151
|
command.response_class = Google::Apis::GmailV1::MessagePartBody
|
1159
1152
|
command.params['userId'] = user_id unless user_id.nil?
|
1160
1153
|
command.params['messageId'] = message_id unless message_id.nil?
|
1161
1154
|
command.params['id'] = id unless id.nil?
|
1162
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
1163
1155
|
command.query['fields'] = fields unless fields.nil?
|
1164
1156
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1165
1157
|
execute_or_queue_command(command, &block)
|
@@ -2810,7 +2802,6 @@ module Google
|
|
2810
2802
|
# The format to return the messages in.
|
2811
2803
|
# @param [Array<String>, String] metadata_headers
|
2812
2804
|
# When given and format is METADATA, only include headers specified.
|
2813
|
-
# @param [Boolean] temporary_eecc_bypass
|
2814
2805
|
# @param [String] fields
|
2815
2806
|
# Selector specifying which fields to include in a partial response.
|
2816
2807
|
# @param [String] quota_user
|
@@ -2828,7 +2819,7 @@ module Google
|
|
2828
2819
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2829
2820
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2830
2821
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2831
|
-
def get_user_thread(user_id, id, format: nil, metadata_headers: nil,
|
2822
|
+
def get_user_thread(user_id, id, format: nil, metadata_headers: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2832
2823
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/threads/{id}', options)
|
2833
2824
|
command.response_representation = Google::Apis::GmailV1::Thread::Representation
|
2834
2825
|
command.response_class = Google::Apis::GmailV1::Thread
|
@@ -2836,7 +2827,6 @@ module Google
|
|
2836
2827
|
command.params['id'] = id unless id.nil?
|
2837
2828
|
command.query['format'] = format unless format.nil?
|
2838
2829
|
command.query['metadataHeaders'] = metadata_headers unless metadata_headers.nil?
|
2839
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
2840
2830
|
command.query['fields'] = fields unless fields.nil?
|
2841
2831
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2842
2832
|
execute_or_queue_command(command, &block)
|
@@ -2860,7 +2850,6 @@ module Google
|
|
2860
2850
|
# format as the Gmail search box. For example, `"from:someuser@example.com
|
2861
2851
|
# rfc822msgid: is:unread"`. Parameter cannot be used when accessing the api
|
2862
2852
|
# using the gmail.metadata scope.
|
2863
|
-
# @param [Boolean] temporary_eecc_bypass
|
2864
2853
|
# @param [String] fields
|
2865
2854
|
# Selector specifying which fields to include in a partial response.
|
2866
2855
|
# @param [String] quota_user
|
@@ -2878,7 +2867,7 @@ module Google
|
|
2878
2867
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2879
2868
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2880
2869
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2881
|
-
def list_user_threads(user_id, include_spam_trash: nil, label_ids: nil, max_results: nil, page_token: nil, q: nil,
|
2870
|
+
def list_user_threads(user_id, include_spam_trash: nil, label_ids: nil, max_results: nil, page_token: nil, q: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2882
2871
|
command = make_simple_command(:get, 'gmail/v1/users/{userId}/threads', options)
|
2883
2872
|
command.response_representation = Google::Apis::GmailV1::ListThreadsResponse::Representation
|
2884
2873
|
command.response_class = Google::Apis::GmailV1::ListThreadsResponse
|
@@ -2888,7 +2877,6 @@ module Google
|
|
2888
2877
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2889
2878
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2890
2879
|
command.query['q'] = q unless q.nil?
|
2891
|
-
command.query['temporaryEeccBypass'] = temporary_eecc_bypass unless temporary_eecc_bypass.nil?
|
2892
2880
|
command.query['fields'] = fields unless fields.nil?
|
2893
2881
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2894
2882
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gmail_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.41.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gmail_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|