google-apis-gmail_v1 0.44.0 → 0.46.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21f474372e39827cc468cffeced87cd08ac3be96f7c051c275e745420e225818
|
|
4
|
+
data.tar.gz: 61cf4f187a095fc1838d98564b7fdd12fad2b558459aba6b71e3577f91fdfd17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c088d7b7607b14f5c1ff1b5f0411b695823851d1a535c6fb91569382388a1638db6166e477d4bf6e28c31f82b216fae0172123229c8debfc23d83aea5b34e05e
|
|
7
|
+
data.tar.gz: cdf44576d199d832b15d61714c105e927c4dcf831780d5c636e552543c1e677d3771eb0c1a9f6ddffd7eeaa50e9f755cb0f5a3410687fd677e6a96d254132a09
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-gmail_v1
|
|
2
2
|
|
|
3
|
+
### v0.46.0 (2025-11-16)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251110
|
|
6
|
+
|
|
7
|
+
### v0.45.0 (2025-07-06)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250630
|
|
10
|
+
|
|
3
11
|
### v0.44.0 (2025-06-22)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250616
|
|
@@ -105,6 +105,63 @@ module Google
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
# Field values for a classification label.
|
|
109
|
+
class ClassificationLabelFieldValue
|
|
110
|
+
include Google::Apis::Core::Hashable
|
|
111
|
+
|
|
112
|
+
# Required. The field ID for the Classification Label Value. Maps to the ID
|
|
113
|
+
# field of the Google Drive `Label.Field` object.
|
|
114
|
+
# Corresponds to the JSON property `fieldId`
|
|
115
|
+
# @return [String]
|
|
116
|
+
attr_accessor :field_id
|
|
117
|
+
|
|
118
|
+
# Selection choice ID for the selection option. Should only be set if the field
|
|
119
|
+
# type is `SELECTION` in the Google Drive `Label.Field` object. Maps to the id
|
|
120
|
+
# field of the Google Drive `Label.Field.SelectionOptions` resource.
|
|
121
|
+
# Corresponds to the JSON property `selection`
|
|
122
|
+
# @return [String]
|
|
123
|
+
attr_accessor :selection
|
|
124
|
+
|
|
125
|
+
def initialize(**args)
|
|
126
|
+
update!(**args)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Update properties of this object
|
|
130
|
+
def update!(**args)
|
|
131
|
+
@field_id = args[:field_id] if args.key?(:field_id)
|
|
132
|
+
@selection = args[:selection] if args.key?(:selection)
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Classification Labels applied to the email message. Classification Labels are
|
|
137
|
+
# different from Gmail inbox labels. Only used for Google Workspace accounts. [
|
|
138
|
+
# Learn more about classification labels](https://support.google.com/a/answer/
|
|
139
|
+
# 9292382).
|
|
140
|
+
class ClassificationLabelValue
|
|
141
|
+
include Google::Apis::Core::Hashable
|
|
142
|
+
|
|
143
|
+
# Field values for the given classification label ID.
|
|
144
|
+
# Corresponds to the JSON property `fields`
|
|
145
|
+
# @return [Array<Google::Apis::GmailV1::ClassificationLabelFieldValue>]
|
|
146
|
+
attr_accessor :fields
|
|
147
|
+
|
|
148
|
+
# Required. The canonical or raw alphanumeric classification label ID. Maps to
|
|
149
|
+
# the ID field of the Google Drive Label resource.
|
|
150
|
+
# Corresponds to the JSON property `labelId`
|
|
151
|
+
# @return [String]
|
|
152
|
+
attr_accessor :label_id
|
|
153
|
+
|
|
154
|
+
def initialize(**args)
|
|
155
|
+
update!(**args)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Update properties of this object
|
|
159
|
+
def update!(**args)
|
|
160
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
161
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
108
165
|
# The client-side encryption (CSE) configuration for the email address of an
|
|
109
166
|
# authenticated user. Gmail uses CSE configurations to save drafts of client-
|
|
110
167
|
# side encrypted email messages, and to sign and send encrypted email messages.
|
|
@@ -1217,6 +1274,15 @@ module Google
|
|
|
1217
1274
|
class Message
|
|
1218
1275
|
include Google::Apis::Core::Hashable
|
|
1219
1276
|
|
|
1277
|
+
# Classification Label values on the message. Available Classification Label
|
|
1278
|
+
# schemas can be queried using the Google Drive Labels API. Each classification
|
|
1279
|
+
# label ID must be unique. If duplicate IDs are provided, only one will be
|
|
1280
|
+
# retained, and the selection is arbitrary. Only used for Google Workspace
|
|
1281
|
+
# accounts.
|
|
1282
|
+
# Corresponds to the JSON property `classificationLabelValues`
|
|
1283
|
+
# @return [Array<Google::Apis::GmailV1::ClassificationLabelValue>]
|
|
1284
|
+
attr_accessor :classification_label_values
|
|
1285
|
+
|
|
1220
1286
|
# The ID of the last history record that modified this message.
|
|
1221
1287
|
# Corresponds to the JSON property `historyId`
|
|
1222
1288
|
# @return [Fixnum]
|
|
@@ -1280,6 +1346,7 @@ module Google
|
|
|
1280
1346
|
|
|
1281
1347
|
# Update properties of this object
|
|
1282
1348
|
def update!(**args)
|
|
1349
|
+
@classification_label_values = args[:classification_label_values] if args.key?(:classification_label_values)
|
|
1283
1350
|
@history_id = args[:history_id] if args.key?(:history_id)
|
|
1284
1351
|
@id = args[:id] if args.key?(:id)
|
|
1285
1352
|
@internal_date = args[:internal_date] if args.key?(:internal_date)
|
|
@@ -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.46.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 = "20251110"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,6 +40,18 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class ClassificationLabelFieldValue
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class ClassificationLabelValue
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
43
55
|
class CseIdentity
|
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
57
|
|
|
@@ -371,6 +383,23 @@ module Google
|
|
|
371
383
|
end
|
|
372
384
|
end
|
|
373
385
|
|
|
386
|
+
class ClassificationLabelFieldValue
|
|
387
|
+
# @private
|
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
389
|
+
property :field_id, as: 'fieldId'
|
|
390
|
+
property :selection, as: 'selection'
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
class ClassificationLabelValue
|
|
395
|
+
# @private
|
|
396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
397
|
+
collection :fields, as: 'fields', class: Google::Apis::GmailV1::ClassificationLabelFieldValue, decorator: Google::Apis::GmailV1::ClassificationLabelFieldValue::Representation
|
|
398
|
+
|
|
399
|
+
property :label_id, as: 'labelId'
|
|
400
|
+
end
|
|
401
|
+
end
|
|
402
|
+
|
|
374
403
|
class CseIdentity
|
|
375
404
|
# @private
|
|
376
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -695,6 +724,8 @@ module Google
|
|
|
695
724
|
class Message
|
|
696
725
|
# @private
|
|
697
726
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
727
|
+
collection :classification_label_values, as: 'classificationLabelValues', class: Google::Apis::GmailV1::ClassificationLabelValue, decorator: Google::Apis::GmailV1::ClassificationLabelValue::Representation
|
|
728
|
+
|
|
698
729
|
property :history_id, :numeric_string => true, as: 'historyId'
|
|
699
730
|
property :id, as: 'id'
|
|
700
731
|
property :internal_date, :numeric_string => true, as: 'internalDate'
|
|
@@ -915,7 +915,9 @@ module Google
|
|
|
915
915
|
execute_or_queue_command(command, &block)
|
|
916
916
|
end
|
|
917
917
|
|
|
918
|
-
# Lists the messages in the user's mailbox.
|
|
918
|
+
# Lists the messages in the user's mailbox. For example usage, see [List Gmail
|
|
919
|
+
# messages](https://developers.google.com/workspace/gmail/api/guides/list-
|
|
920
|
+
# messages).
|
|
919
921
|
# @param [String] user_id
|
|
920
922
|
# The user's email address. The special value `me` can be used to indicate the
|
|
921
923
|
# 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.46.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.46.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:
|