google-apis-gmail_v1 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff2ffa9c99ba76b8ce2d36f92503e3332a017de1e375beccf69874613da39300
4
- data.tar.gz: 2f89232d8313c8dc57987a3bce4ef520470625fb3f420c33f9098b018b750357
3
+ metadata.gz: 5f69e2385d8634b27ec8f2a91f2c73104de9a3c5aefab96354b245a7d7c1df64
4
+ data.tar.gz: e53d6061600dcada1e2798338cae42198e5a341f944c8fe38f1b77ebb2333866
5
5
  SHA512:
6
- metadata.gz: fbcac14924b7976f8d26abdc27508af1aedd4d002d86bdbf5d28b9fde82cb2e4a087c93c50cad2fe73d57d034295eebe2ce145e24bb32077bec47264bad518ce
7
- data.tar.gz: fec694b959c797169d0973e095dc087e948ef1c875608edad2085b348ed0ddd1c29330177c18413ab75cdf0dca1c70693d475a86504cb5766c470031630951b9
6
+ metadata.gz: e39980880e01128feac83c434df29317903b6560736eb9ff63e4d37a10b732e9168273003840312982c4ad6b7683fc2dae04b1b88f5789b09a3ec0ca852ad6d5
7
+ data.tar.gz: 456965f1985ab5a84d7f6c6ead8fb2691ee4c2c6e99feff2958fa917dc1a5c5d2933e1e80f4c7e829dd4c12be86bfb9c4b1b4f50c408f450b5f57fcf355b666f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.39.0 (2024-02-23)
9
+
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.38.0 (2024-01-22)
4
13
 
5
14
  * Regenerated using generator version 0.13.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/gmail/api/) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.38.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.0"
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.38.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-01-23 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.38.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Gmail API V1