google-apis-gmail_v1 0.43.0 → 0.45.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 +9 -0
- data/lib/google/apis/gmail_v1/classes.rb +28 -3
- data/lib/google/apis/gmail_v1/gem_version.rb +3 -3
- data/lib/google/apis/gmail_v1/service.rb +106 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ef38e603649f989c49270e28749446dc49ece7d7935b4d5ef3fb7f997b08058
|
4
|
+
data.tar.gz: 99661ab03e9824af222588e71aa58e91466fcdee9470e69a8e1aa6883fa24ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47d29b9fe0df3cd9f29a9529a76887179fb4e4fa98c3f4894faa37320f185106e9cfe285e236cd6901288f489fdc1cb927a20393924118e99ac4b2ef105e074d
|
7
|
+
data.tar.gz: 12a3c69afbbbb971e73a06a8641f0c5630b06413fda0d527d96a94a9dc49a8253894a60e8a3a98145013454ed9681dda0d6b9b3b0de9d546d7e304918d576ccd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-gmail_v1
|
2
2
|
|
3
|
+
### v0.45.0 (2025-07-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250630
|
6
|
+
|
7
|
+
### v0.44.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250616
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.43.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -108,6 +108,15 @@ module Google
|
|
108
108
|
# The client-side encryption (CSE) configuration for the email address of an
|
109
109
|
# authenticated user. Gmail uses CSE configurations to save drafts of client-
|
110
110
|
# side encrypted email messages, and to sign and send encrypted email messages.
|
111
|
+
# For administrators managing identities and keypairs for users in their
|
112
|
+
# organization, requests require authorization with a [service account](https://
|
113
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
|
114
|
+
# domain-wide delegation authority](https://developers.google.com/identity/
|
115
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
116
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
117
|
+
# managing their own identities and keypairs, requests require [hardware key
|
118
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
119
|
+
# configured.
|
111
120
|
class CseIdentity
|
112
121
|
include Google::Apis::Core::Hashable
|
113
122
|
|
@@ -145,7 +154,15 @@ module Google
|
|
145
154
|
# key pair to complete the following tasks: - Sign outgoing client-side
|
146
155
|
# encrypted messages. - Save and reopen drafts of client-side encrypted messages.
|
147
156
|
# - Save and reopen sent messages. - Decrypt incoming or archived S/MIME
|
148
|
-
# messages.
|
157
|
+
# messages. For administrators managing identities and keypairs for users in
|
158
|
+
# their organization, requests require authorization with a [service account](
|
159
|
+
# https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that
|
160
|
+
# has [domain-wide delegation authority](https://developers.google.com/identity/
|
161
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
162
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
163
|
+
# managing their own identities and keypairs, requests require [hardware key
|
164
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
165
|
+
# configured.
|
149
166
|
class CseKeyPair
|
150
167
|
include Google::Apis::Core::Hashable
|
151
168
|
|
@@ -210,7 +227,11 @@ module Google
|
|
210
227
|
class CsePrivateKeyMetadata
|
211
228
|
include Google::Apis::Core::Hashable
|
212
229
|
|
213
|
-
# Metadata for hardware keys.
|
230
|
+
# Metadata for hardware keys. If [hardware key encryption](https://support.
|
231
|
+
# google.com/a/answer/14153163) is set up for the Google Workspace organization,
|
232
|
+
# users can optionally store their private key on their smart card and use it to
|
233
|
+
# sign and decrypt email messages in Gmail by inserting their smart card into a
|
234
|
+
# reader attached to their Windows device.
|
214
235
|
# Corresponds to the JSON property `hardwareKeyMetadata`
|
215
236
|
# @return [Google::Apis::GmailV1::HardwareKeyMetadata]
|
216
237
|
attr_accessor :hardware_key_metadata
|
@@ -485,7 +506,11 @@ module Google
|
|
485
506
|
end
|
486
507
|
end
|
487
508
|
|
488
|
-
# Metadata for hardware keys.
|
509
|
+
# Metadata for hardware keys. If [hardware key encryption](https://support.
|
510
|
+
# google.com/a/answer/14153163) is set up for the Google Workspace organization,
|
511
|
+
# users can optionally store their private key on their smart card and use it to
|
512
|
+
# sign and decrypt email messages in Gmail by inserting their smart card into a
|
513
|
+
# reader attached to their Windows device.
|
489
514
|
class HardwareKeyMetadata
|
490
515
|
include Google::Apis::Core::Hashable
|
491
516
|
|
@@ -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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250630"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.
|
@@ -1492,7 +1494,15 @@ module Google
|
|
1492
1494
|
# Creates and configures a client-side encryption identity that's authorized to
|
1493
1495
|
# send mail from the user account. Google publishes the S/MIME certificate to a
|
1494
1496
|
# shared domain-wide directory so that people within a Google Workspace
|
1495
|
-
# organization can encrypt and send mail to the identity.
|
1497
|
+
# organization can encrypt and send mail to the identity. For administrators
|
1498
|
+
# managing identities and keypairs for users in their organization, requests
|
1499
|
+
# require authorization with a [service account](https://developers.google.com/
|
1500
|
+
# identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
|
1501
|
+
# authority](https://developers.google.com/identity/protocols/
|
1502
|
+
# OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
|
1503
|
+
# //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
|
1504
|
+
# their own identities and keypairs, requests require [hardware key encryption](
|
1505
|
+
# https://support.google.com/a/answer/14153163) turned on and configured.
|
1496
1506
|
# @param [String] user_id
|
1497
1507
|
# The requester's primary email address. To indicate the authenticated user, you
|
1498
1508
|
# can use the special value `me`.
|
@@ -1529,7 +1539,15 @@ module Google
|
|
1529
1539
|
# Deletes a client-side encryption identity. The authenticated user can no
|
1530
1540
|
# longer use the identity to send encrypted messages. You cannot restore the
|
1531
1541
|
# identity after you delete it. Instead, use the CreateCseIdentity method to
|
1532
|
-
# create another identity with the same configuration.
|
1542
|
+
# create another identity with the same configuration. For administrators
|
1543
|
+
# managing identities and keypairs for users in their organization, requests
|
1544
|
+
# require authorization with a [service account](https://developers.google.com/
|
1545
|
+
# identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
|
1546
|
+
# authority](https://developers.google.com/identity/protocols/
|
1547
|
+
# OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
|
1548
|
+
# //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
|
1549
|
+
# their own identities and keypairs, requests require [hardware key encryption](
|
1550
|
+
# https://support.google.com/a/answer/14153163) turned on and configured.
|
1533
1551
|
# @param [String] user_id
|
1534
1552
|
# The requester's primary email address. To indicate the authenticated user, you
|
1535
1553
|
# can use the special value `me`.
|
@@ -1562,7 +1580,15 @@ module Google
|
|
1562
1580
|
execute_or_queue_command(command, &block)
|
1563
1581
|
end
|
1564
1582
|
|
1565
|
-
# Retrieves a client-side encryption identity configuration.
|
1583
|
+
# Retrieves a client-side encryption identity configuration. For administrators
|
1584
|
+
# managing identities and keypairs for users in their organization, requests
|
1585
|
+
# require authorization with a [service account](https://developers.google.com/
|
1586
|
+
# identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
|
1587
|
+
# authority](https://developers.google.com/identity/protocols/
|
1588
|
+
# OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
|
1589
|
+
# //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
|
1590
|
+
# their own identities and keypairs, requests require [hardware key encryption](
|
1591
|
+
# https://support.google.com/a/answer/14153163) turned on and configured.
|
1566
1592
|
# @param [String] user_id
|
1567
1593
|
# The requester's primary email address. To indicate the authenticated user, you
|
1568
1594
|
# can use the special value `me`.
|
@@ -1597,7 +1623,16 @@ module Google
|
|
1597
1623
|
execute_or_queue_command(command, &block)
|
1598
1624
|
end
|
1599
1625
|
|
1600
|
-
# Lists the client-side encrypted identities for an authenticated user.
|
1626
|
+
# Lists the client-side encrypted identities for an authenticated user. For
|
1627
|
+
# administrators managing identities and keypairs for users in their
|
1628
|
+
# organization, requests require authorization with a [service account](https://
|
1629
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
|
1630
|
+
# domain-wide delegation authority](https://developers.google.com/identity/
|
1631
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
1632
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
1633
|
+
# managing their own identities and keypairs, requests require [hardware key
|
1634
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
1635
|
+
# configured.
|
1601
1636
|
# @param [String] user_id
|
1602
1637
|
# The requester's primary email address. To indicate the authenticated user, you
|
1603
1638
|
# can use the special value `me`.
|
@@ -1638,7 +1673,16 @@ module Google
|
|
1638
1673
|
|
1639
1674
|
# Associates a different key pair with an existing client-side encryption
|
1640
1675
|
# identity. The updated key pair must validate against Google's [S/MIME
|
1641
|
-
# certificate profiles](https://support.google.com/a/answer/7300887).
|
1676
|
+
# certificate profiles](https://support.google.com/a/answer/7300887). For
|
1677
|
+
# administrators managing identities and keypairs for users in their
|
1678
|
+
# organization, requests require authorization with a [service account](https://
|
1679
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
|
1680
|
+
# domain-wide delegation authority](https://developers.google.com/identity/
|
1681
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
1682
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
1683
|
+
# managing their own identities and keypairs, requests require [hardware key
|
1684
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
1685
|
+
# configured.
|
1642
1686
|
# @param [String] user_id
|
1643
1687
|
# The requester's primary email address. To indicate the authenticated user, you
|
1644
1688
|
# can use the special value `me`.
|
@@ -1676,7 +1720,15 @@ module Google
|
|
1676
1720
|
end
|
1677
1721
|
|
1678
1722
|
# Creates and uploads a client-side encryption S/MIME public key certificate
|
1679
|
-
# chain and private key metadata for the authenticated user.
|
1723
|
+
# chain and private key metadata for the authenticated user. For administrators
|
1724
|
+
# managing identities and keypairs for users in their organization, requests
|
1725
|
+
# require authorization with a [service account](https://developers.google.com/
|
1726
|
+
# identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
|
1727
|
+
# authority](https://developers.google.com/identity/protocols/
|
1728
|
+
# OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
|
1729
|
+
# //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
|
1730
|
+
# their own identities and keypairs, requests require [hardware key encryption](
|
1731
|
+
# https://support.google.com/a/answer/14153163) turned on and configured.
|
1680
1732
|
# @param [String] user_id
|
1681
1733
|
# The requester's primary email address. To indicate the authenticated user, you
|
1682
1734
|
# can use the special value `me`.
|
@@ -1714,7 +1766,15 @@ module Google
|
|
1714
1766
|
# longer use the key pair to decrypt incoming CSE message texts or sign outgoing
|
1715
1767
|
# CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair.
|
1716
1768
|
# After 30 days, you can permanently delete the key pair by using the
|
1717
|
-
# ObliterateCseKeyPair method.
|
1769
|
+
# ObliterateCseKeyPair method. For administrators managing identities and
|
1770
|
+
# keypairs for users in their organization, requests require authorization with
|
1771
|
+
# a [service account](https://developers.google.com/identity/protocols/
|
1772
|
+
# OAuth2ServiceAccount) that has [domain-wide delegation authority](https://
|
1773
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount#
|
1774
|
+
# delegatingauthority) to impersonate users with the `https://www.googleapis.com/
|
1775
|
+
# auth/gmail.settings.basic` scope. For users managing their own identities and
|
1776
|
+
# keypairs, requests require [hardware key encryption](https://support.google.
|
1777
|
+
# com/a/answer/14153163) turned on and configured.
|
1718
1778
|
# @param [String] user_id
|
1719
1779
|
# The requester's primary email address. To indicate the authenticated user, you
|
1720
1780
|
# can use the special value `me`.
|
@@ -1752,7 +1812,16 @@ module Google
|
|
1752
1812
|
end
|
1753
1813
|
|
1754
1814
|
# Turns on a client-side encryption key pair that was turned off. The key pair
|
1755
|
-
# becomes active again for any associated client-side encryption identities.
|
1815
|
+
# becomes active again for any associated client-side encryption identities. For
|
1816
|
+
# administrators managing identities and keypairs for users in their
|
1817
|
+
# organization, requests require authorization with a [service account](https://
|
1818
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
|
1819
|
+
# domain-wide delegation authority](https://developers.google.com/identity/
|
1820
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
1821
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
1822
|
+
# managing their own identities and keypairs, requests require [hardware key
|
1823
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
1824
|
+
# configured.
|
1756
1825
|
# @param [String] user_id
|
1757
1826
|
# The requester's primary email address. To indicate the authenticated user, you
|
1758
1827
|
# can use the special value `me`.
|
@@ -1789,7 +1858,15 @@ module Google
|
|
1789
1858
|
execute_or_queue_command(command, &block)
|
1790
1859
|
end
|
1791
1860
|
|
1792
|
-
# Retrieves an existing client-side encryption key pair.
|
1861
|
+
# Retrieves an existing client-side encryption key pair. For administrators
|
1862
|
+
# managing identities and keypairs for users in their organization, requests
|
1863
|
+
# require authorization with a [service account](https://developers.google.com/
|
1864
|
+
# identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
|
1865
|
+
# authority](https://developers.google.com/identity/protocols/
|
1866
|
+
# OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
|
1867
|
+
# //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
|
1868
|
+
# their own identities and keypairs, requests require [hardware key encryption](
|
1869
|
+
# https://support.google.com/a/answer/14153163) turned on and configured.
|
1793
1870
|
# @param [String] user_id
|
1794
1871
|
# The requester's primary email address. To indicate the authenticated user, you
|
1795
1872
|
# can use the special value `me`.
|
@@ -1823,7 +1900,16 @@ module Google
|
|
1823
1900
|
execute_or_queue_command(command, &block)
|
1824
1901
|
end
|
1825
1902
|
|
1826
|
-
# Lists client-side encryption key pairs for an authenticated user.
|
1903
|
+
# Lists client-side encryption key pairs for an authenticated user. For
|
1904
|
+
# administrators managing identities and keypairs for users in their
|
1905
|
+
# organization, requests require authorization with a [service account](https://
|
1906
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
|
1907
|
+
# domain-wide delegation authority](https://developers.google.com/identity/
|
1908
|
+
# protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
|
1909
|
+
# the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
|
1910
|
+
# managing their own identities and keypairs, requests require [hardware key
|
1911
|
+
# encryption](https://support.google.com/a/answer/14153163) turned on and
|
1912
|
+
# configured.
|
1827
1913
|
# @param [String] user_id
|
1828
1914
|
# The requester's primary email address. To indicate the authenticated user, you
|
1829
1915
|
# can use the special value `me`.
|
@@ -1867,7 +1953,15 @@ module Google
|
|
1867
1953
|
# days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't
|
1868
1954
|
# restore or decrypt any messages that were encrypted by an obliterated key.
|
1869
1955
|
# Authenticated users and Google Workspace administrators lose access to reading
|
1870
|
-
# the encrypted messages.
|
1956
|
+
# the encrypted messages. For administrators managing identities and keypairs
|
1957
|
+
# for users in their organization, requests require authorization with a [
|
1958
|
+
# service account](https://developers.google.com/identity/protocols/
|
1959
|
+
# OAuth2ServiceAccount) that has [domain-wide delegation authority](https://
|
1960
|
+
# developers.google.com/identity/protocols/OAuth2ServiceAccount#
|
1961
|
+
# delegatingauthority) to impersonate users with the `https://www.googleapis.com/
|
1962
|
+
# auth/gmail.settings.basic` scope. For users managing their own identities and
|
1963
|
+
# keypairs, requests require [hardware key encryption](https://support.google.
|
1964
|
+
# com/a/answer/14153163) turned on and configured.
|
1871
1965
|
# @param [String] user_id
|
1872
1966
|
# The requester's primary email address. To indicate the authenticated user, you
|
1873
1967
|
# can use the special value `me`.
|
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.45.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.45.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:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Gmail API V1
|
79
79
|
test_files: []
|