google-apis-gmail_v1 0.39.0 → 0.40.0

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