google-apis-gmail_v1 0.42.0 → 0.44.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: 70a9d5028ff66b4e93d734cc55b5921a155f6236580803f98ec9f33c36b34679
4
- data.tar.gz: a79fafd0823f8e9af2ab66fd4ca426cfec12dbaec8c11cd4e67ea8cc8ea76ac7
3
+ metadata.gz: d94bdbb6a754338c9d1535b37a6bba533657febda97d42c7b381ce749d1c1d62
4
+ data.tar.gz: ad22a99861bf3ad81ad05eeb151bac2165b82cc5c599cfe6c35b7482123fdb37
5
5
  SHA512:
6
- metadata.gz: 41ec0d6984aa6467831f36543fa6a6bc1fe7b9ab36a1421b0616b1758591f9cd989ef3662c4fd818929b5c816f9947a1368abf90cbb248a00eba441716ca6222
7
- data.tar.gz: 5f2f516f008fcd1b9d4f6de6782f2742516f3967be0cef11d8ba65619361e44bf5e71b78d2ae38f6fcb57fe67c241524082e2ebbf20c2c8a84bd29148a338ba9
6
+ metadata.gz: 523f4ba0721f5f2f06a3f59dd6537fb22ee582236591a5e9417d934ed7262bae5e8657401432dd9ede2cf25e5901cac252d29d55707e791f7bbc8b40c3424c91
7
+ data.tar.gz: b9cb3a9f649d6478a54c90b994835bd66faa6e0f70ef8822af796a754682633795da73e9fc4b161b7209eb35d4e18dac958bdc824f1c3f1d8b6f7837fbf4251b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gmail_v1
2
2
 
3
+ ### v0.44.0 (2025-06-22)
4
+
5
+ * Regenerated from discovery document revision 20250616
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.43.0 (2025-05-04)
9
+
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.42.0 (2025-04-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20250331
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/workspace/gmail/api/)
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
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
 
@@ -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.42.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250331"
25
+ REVISION = "20250616"
26
26
  end
27
27
  end
28
28
  end
@@ -1492,7 +1492,15 @@ module Google
1492
1492
  # Creates and configures a client-side encryption identity that's authorized to
1493
1493
  # send mail from the user account. Google publishes the S/MIME certificate to a
1494
1494
  # shared domain-wide directory so that people within a Google Workspace
1495
- # organization can encrypt and send mail to the identity.
1495
+ # organization can encrypt and send mail to the identity. For administrators
1496
+ # managing identities and keypairs for users in their organization, requests
1497
+ # require authorization with a [service account](https://developers.google.com/
1498
+ # identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
1499
+ # authority](https://developers.google.com/identity/protocols/
1500
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1501
+ # //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
1502
+ # their own identities and keypairs, requests require [hardware key encryption](
1503
+ # https://support.google.com/a/answer/14153163) turned on and configured.
1496
1504
  # @param [String] user_id
1497
1505
  # The requester's primary email address. To indicate the authenticated user, you
1498
1506
  # can use the special value `me`.
@@ -1529,7 +1537,15 @@ module Google
1529
1537
  # Deletes a client-side encryption identity. The authenticated user can no
1530
1538
  # longer use the identity to send encrypted messages. You cannot restore the
1531
1539
  # identity after you delete it. Instead, use the CreateCseIdentity method to
1532
- # create another identity with the same configuration.
1540
+ # create another identity with the same configuration. For administrators
1541
+ # managing identities and keypairs for users in their organization, requests
1542
+ # require authorization with a [service account](https://developers.google.com/
1543
+ # identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
1544
+ # authority](https://developers.google.com/identity/protocols/
1545
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1546
+ # //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
1547
+ # their own identities and keypairs, requests require [hardware key encryption](
1548
+ # https://support.google.com/a/answer/14153163) turned on and configured.
1533
1549
  # @param [String] user_id
1534
1550
  # The requester's primary email address. To indicate the authenticated user, you
1535
1551
  # can use the special value `me`.
@@ -1562,7 +1578,15 @@ module Google
1562
1578
  execute_or_queue_command(command, &block)
1563
1579
  end
1564
1580
 
1565
- # Retrieves a client-side encryption identity configuration.
1581
+ # Retrieves a client-side encryption identity configuration. For administrators
1582
+ # managing identities and keypairs for users in their organization, requests
1583
+ # require authorization with a [service account](https://developers.google.com/
1584
+ # identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
1585
+ # authority](https://developers.google.com/identity/protocols/
1586
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1587
+ # //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
1588
+ # their own identities and keypairs, requests require [hardware key encryption](
1589
+ # https://support.google.com/a/answer/14153163) turned on and configured.
1566
1590
  # @param [String] user_id
1567
1591
  # The requester's primary email address. To indicate the authenticated user, you
1568
1592
  # can use the special value `me`.
@@ -1597,7 +1621,16 @@ module Google
1597
1621
  execute_or_queue_command(command, &block)
1598
1622
  end
1599
1623
 
1600
- # Lists the client-side encrypted identities for an authenticated user.
1624
+ # Lists the client-side encrypted identities for an authenticated user. For
1625
+ # administrators managing identities and keypairs for users in their
1626
+ # organization, requests require authorization with a [service account](https://
1627
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
1628
+ # domain-wide delegation authority](https://developers.google.com/identity/
1629
+ # protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
1630
+ # the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
1631
+ # managing their own identities and keypairs, requests require [hardware key
1632
+ # encryption](https://support.google.com/a/answer/14153163) turned on and
1633
+ # configured.
1601
1634
  # @param [String] user_id
1602
1635
  # The requester's primary email address. To indicate the authenticated user, you
1603
1636
  # can use the special value `me`.
@@ -1638,7 +1671,16 @@ module Google
1638
1671
 
1639
1672
  # Associates a different key pair with an existing client-side encryption
1640
1673
  # identity. The updated key pair must validate against Google's [S/MIME
1641
- # certificate profiles](https://support.google.com/a/answer/7300887).
1674
+ # certificate profiles](https://support.google.com/a/answer/7300887). For
1675
+ # administrators managing identities and keypairs for users in their
1676
+ # organization, requests require authorization with a [service account](https://
1677
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
1678
+ # domain-wide delegation authority](https://developers.google.com/identity/
1679
+ # protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
1680
+ # the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
1681
+ # managing their own identities and keypairs, requests require [hardware key
1682
+ # encryption](https://support.google.com/a/answer/14153163) turned on and
1683
+ # configured.
1642
1684
  # @param [String] user_id
1643
1685
  # The requester's primary email address. To indicate the authenticated user, you
1644
1686
  # can use the special value `me`.
@@ -1676,7 +1718,15 @@ module Google
1676
1718
  end
1677
1719
 
1678
1720
  # Creates and uploads a client-side encryption S/MIME public key certificate
1679
- # chain and private key metadata for the authenticated user.
1721
+ # chain and private key metadata for the authenticated user. For administrators
1722
+ # managing identities and keypairs for users in their organization, requests
1723
+ # require authorization with a [service account](https://developers.google.com/
1724
+ # identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
1725
+ # authority](https://developers.google.com/identity/protocols/
1726
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1727
+ # //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
1728
+ # their own identities and keypairs, requests require [hardware key encryption](
1729
+ # https://support.google.com/a/answer/14153163) turned on and configured.
1680
1730
  # @param [String] user_id
1681
1731
  # The requester's primary email address. To indicate the authenticated user, you
1682
1732
  # can use the special value `me`.
@@ -1714,7 +1764,15 @@ module Google
1714
1764
  # longer use the key pair to decrypt incoming CSE message texts or sign outgoing
1715
1765
  # CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair.
1716
1766
  # After 30 days, you can permanently delete the key pair by using the
1717
- # ObliterateCseKeyPair method.
1767
+ # ObliterateCseKeyPair method. For administrators managing identities and
1768
+ # keypairs for users in their organization, requests require authorization with
1769
+ # a [service account](https://developers.google.com/identity/protocols/
1770
+ # OAuth2ServiceAccount) that has [domain-wide delegation authority](https://
1771
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount#
1772
+ # delegatingauthority) to impersonate users with the `https://www.googleapis.com/
1773
+ # auth/gmail.settings.basic` scope. For users managing their own identities and
1774
+ # keypairs, requests require [hardware key encryption](https://support.google.
1775
+ # com/a/answer/14153163) turned on and configured.
1718
1776
  # @param [String] user_id
1719
1777
  # The requester's primary email address. To indicate the authenticated user, you
1720
1778
  # can use the special value `me`.
@@ -1752,7 +1810,16 @@ module Google
1752
1810
  end
1753
1811
 
1754
1812
  # 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.
1813
+ # becomes active again for any associated client-side encryption identities. For
1814
+ # administrators managing identities and keypairs for users in their
1815
+ # organization, requests require authorization with a [service account](https://
1816
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
1817
+ # domain-wide delegation authority](https://developers.google.com/identity/
1818
+ # protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
1819
+ # the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
1820
+ # managing their own identities and keypairs, requests require [hardware key
1821
+ # encryption](https://support.google.com/a/answer/14153163) turned on and
1822
+ # configured.
1756
1823
  # @param [String] user_id
1757
1824
  # The requester's primary email address. To indicate the authenticated user, you
1758
1825
  # can use the special value `me`.
@@ -1789,7 +1856,15 @@ module Google
1789
1856
  execute_or_queue_command(command, &block)
1790
1857
  end
1791
1858
 
1792
- # Retrieves an existing client-side encryption key pair.
1859
+ # Retrieves an existing client-side encryption key pair. For administrators
1860
+ # managing identities and keypairs for users in their organization, requests
1861
+ # require authorization with a [service account](https://developers.google.com/
1862
+ # identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation
1863
+ # authority](https://developers.google.com/identity/protocols/
1864
+ # OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https:
1865
+ # //www.googleapis.com/auth/gmail.settings.basic` scope. For users managing
1866
+ # their own identities and keypairs, requests require [hardware key encryption](
1867
+ # https://support.google.com/a/answer/14153163) turned on and configured.
1793
1868
  # @param [String] user_id
1794
1869
  # The requester's primary email address. To indicate the authenticated user, you
1795
1870
  # can use the special value `me`.
@@ -1823,7 +1898,16 @@ module Google
1823
1898
  execute_or_queue_command(command, &block)
1824
1899
  end
1825
1900
 
1826
- # Lists client-side encryption key pairs for an authenticated user.
1901
+ # Lists client-side encryption key pairs for an authenticated user. For
1902
+ # administrators managing identities and keypairs for users in their
1903
+ # organization, requests require authorization with a [service account](https://
1904
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [
1905
+ # domain-wide delegation authority](https://developers.google.com/identity/
1906
+ # protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with
1907
+ # the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users
1908
+ # managing their own identities and keypairs, requests require [hardware key
1909
+ # encryption](https://support.google.com/a/answer/14153163) turned on and
1910
+ # configured.
1827
1911
  # @param [String] user_id
1828
1912
  # The requester's primary email address. To indicate the authenticated user, you
1829
1913
  # can use the special value `me`.
@@ -1867,7 +1951,15 @@ module Google
1867
1951
  # days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't
1868
1952
  # restore or decrypt any messages that were encrypted by an obliterated key.
1869
1953
  # Authenticated users and Google Workspace administrators lose access to reading
1870
- # the encrypted messages.
1954
+ # the encrypted messages. For administrators managing identities and keypairs
1955
+ # for users in their organization, requests require authorization with a [
1956
+ # service account](https://developers.google.com/identity/protocols/
1957
+ # OAuth2ServiceAccount) that has [domain-wide delegation authority](https://
1958
+ # developers.google.com/identity/protocols/OAuth2ServiceAccount#
1959
+ # delegatingauthority) to impersonate users with the `https://www.googleapis.com/
1960
+ # auth/gmail.settings.basic` scope. For users managing their own identities and
1961
+ # keypairs, requests require [hardware key encryption](https://support.google.
1962
+ # com/a/answer/14153163) turned on and configured.
1871
1963
  # @param [String] user_id
1872
1964
  # The requester's primary email address. To indicate the authenticated user, you
1873
1965
  # can use the special value `me`.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gmail_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.42.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gmail_v1/v0.44.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
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: []