Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a4ca99c

Browse files
committedDec 20, 2022
feat(gmail): update the api
#### gmail:v1 The following keys were added: - resources.users.resources.settings.resources.cse.resources.identities.methods.create (Total Keys: 12) - resources.users.resources.settings.resources.cse.resources.identities.methods.delete (Total Keys: 13) - resources.users.resources.settings.resources.cse.resources.identities.methods.get (Total Keys: 14) - resources.users.resources.settings.resources.cse.resources.identities.methods.list (Total Keys: 17) - resources.users.resources.settings.resources.cse.resources.identities.methods.patch (Total Keys: 15) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.create (Total Keys: 12) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.disable (Total Keys: 15) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.enable (Total Keys: 15) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.get (Total Keys: 14) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.list (Total Keys: 17) - resources.users.resources.settings.resources.cse.resources.keypairs.methods.obliterate (Total Keys: 14) - schemas.CseIdentity (Total Keys: 4) - schemas.CseKeyPair (Total Keys: 17) - schemas.CsePrivateKeyMetadata (Total Keys: 5) - schemas.DisableCseKeyPairRequest (Total Keys: 2) - schemas.EnableCseKeyPairRequest (Total Keys: 2) - schemas.KaclsKeyMetadata (Total Keys: 4) - schemas.ListCseIdentitiesResponse (Total Keys: 5) - schemas.ListCseKeyPairsResponse (Total Keys: 5) - schemas.ObliterateCseKeyPairRequest (Total Keys: 2)
1 parent 89b34a9 commit a4ca99c

5 files changed

+1250
-1
lines changed
 
+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.settings.html">settings</a> . <a href="gmail_v1.users.settings.cse.html">cse</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="gmail_v1.users.settings.cse.identities.html">identities()</a></code>
79+
</p>
80+
<p class="firstline">Returns the identities Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="gmail_v1.users.settings.cse.keypairs.html">keypairs()</a></code>
84+
</p>
85+
<p class="firstline">Returns the keypairs Resource.</p>
86+
87+
<p class="toc_element">
88+
<code><a href="#close">close()</a></code></p>
89+
<p class="firstline">Close httplib2 connections.</p>
90+
<h3>Method Details</h3>
91+
<div class="method">
92+
<code class="details" id="close">close()</code>
93+
<pre>Close httplib2 connections.</pre>
94+
</div>
95+
96+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.settings.html">settings</a> . <a href="gmail_v1.users.settings.cse.html">cse</a> . <a href="gmail_v1.users.settings.cse.identities.html">identities</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(userId, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(userId, cseEmailAddress, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(userId, cseEmailAddress, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Retrieves a client-side encryption identity configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
89+
<p class="toc_element">
90+
<code><a href="#list">list(userId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Lists the client-side encrypted identities for an authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
92+
<p class="toc_element">
93+
<code><a href="#list_next">list_next()</a></code></p>
94+
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(userId, emailAddress, body=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profiles](https://support.google.com/a/answer/7300887?hl=en). [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
98+
<h3>Method Details</h3>
99+
<div class="method">
100+
<code class="details" id="close">close()</code>
101+
<pre>Close httplib2 connections.</pre>
102+
</div>
103+
104+
<div class="method">
105+
<code class="details" id="create">create(userId, body=None, x__xgafv=None)</code>
106+
<pre>Creates and configures a client-side encryption identity that&#x27;s authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. [Beta](https://workspace.google.com/terms/service-terms/index.html).
107+
108+
Args:
109+
userId: string, The requester&#x27;s primary email address. To indicate the authenticated user, you can use the special value `me`. (required)
110+
body: object, The request body.
111+
The object takes the form of:
112+
113+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
114+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
115+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
116+
}
117+
118+
x__xgafv: string, V1 error format.
119+
Allowed values
120+
1 - v1 error format
121+
2 - v2 error format
122+
123+
Returns:
124+
An object of the form:
125+
126+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
127+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
128+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
129+
}</pre>
130+
</div>
131+
132+
<div class="method">
133+
<code class="details" id="delete">delete(userId, cseEmailAddress, x__xgafv=None)</code>
134+
<pre>Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).
135+
136+
Args:
137+
userId: string, The requester&#x27;s primary email address. To indicate the authenticated user, you can use the special value `me`. (required)
138+
cseEmailAddress: string, The primary email address associated with the client-side encryption identity configuration that&#x27;s removed. (required)
139+
x__xgafv: string, V1 error format.
140+
Allowed values
141+
1 - v1 error format
142+
2 - v2 error format
143+
</pre>
144+
</div>
145+
146+
<div class="method">
147+
<code class="details" id="get">get(userId, cseEmailAddress, x__xgafv=None)</code>
148+
<pre>Retrieves a client-side encryption identity configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).
149+
150+
Args:
151+
userId: string, The requester&#x27;s primary email address. To indicate the authenticated user, you can use the special value `me`. (required)
152+
cseEmailAddress: string, The primary email address associated with the client-side encryption identity configuration that&#x27;s retrieved. (required)
153+
x__xgafv: string, V1 error format.
154+
Allowed values
155+
1 - v1 error format
156+
2 - v2 error format
157+
158+
Returns:
159+
An object of the form:
160+
161+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
162+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
163+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
164+
}</pre>
165+
</div>
166+
167+
<div class="method">
168+
<code class="details" id="list">list(userId, pageSize=None, pageToken=None, x__xgafv=None)</code>
169+
<pre>Lists the client-side encrypted identities for an authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).
170+
171+
Args:
172+
userId: string, The requester&#x27;s primary email address. To indicate the authenticated user, you can use the special value `me`. (required)
173+
pageSize: integer, The number of identities to return. If not provided, the page size will default to 20 entries.
174+
pageToken: string, Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of results.
175+
x__xgafv: string, V1 error format.
176+
Allowed values
177+
1 - v1 error format
178+
2 - v2 error format
179+
180+
Returns:
181+
An object of the form:
182+
183+
{
184+
&quot;cseIdentities&quot;: [ # One page of the list of CSE identities configured for the user.
185+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
186+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
187+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
188+
},
189+
],
190+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be passed to a subsequent ListCseIdentities call in order to retrieve the next page of identities. If this value is not returned or is the empty string, then no further pages remain.
191+
}</pre>
192+
</div>
193+
194+
<div class="method">
195+
<code class="details" id="list_next">list_next()</code>
196+
<pre>Retrieves the next page of results.
197+
198+
Args:
199+
previous_request: The request for the previous page. (required)
200+
previous_response: The response from the request for the previous page. (required)
201+
202+
Returns:
203+
A request object that you can call &#x27;execute()&#x27; on to request the next
204+
page. Returns None if there are no more items in the collection.
205+
</pre>
206+
</div>
207+
208+
<div class="method">
209+
<code class="details" id="patch">patch(userId, emailAddress, body=None, x__xgafv=None)</code>
210+
<pre>Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google&#x27;s [S/MIME certificate profiles](https://support.google.com/a/answer/7300887?hl=en). [Beta](https://workspace.google.com/terms/service-terms/index.html).
211+
212+
Args:
213+
userId: string, The requester&#x27;s primary email address. To indicate the authenticated user, you can use the special value `me`. (required)
214+
emailAddress: string, The email address of the client-side encryption identity to update. (required)
215+
body: object, The request body.
216+
The object takes the form of:
217+
218+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
219+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
220+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
221+
}
222+
223+
x__xgafv: string, V1 error format.
224+
Allowed values
225+
1 - v1 error format
226+
2 - v2 error format
227+
228+
Returns:
229+
An object of the form:
230+
231+
{ # [Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
232+
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
233+
&quot;primaryKeyPairId&quot;: &quot;A String&quot;, # If a key pair is associated, the identifier of the key pair, CseKeyPair.
234+
}</pre>
235+
</div>
236+
237+
</body></html>

‎docs/dyn/gmail_v1.users.settings.cse.keypairs.html

+361
Large diffs are not rendered by default.

‎docs/dyn/gmail_v1.users.settings.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="gmail_v1.html">Gmail API</a> . <a href="gmail_v1.users.html">users</a> . <a href="gmail_v1.users.settings.html">settings</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="gmail_v1.users.settings.cse.html">cse()</a></code>
79+
</p>
80+
<p class="firstline">Returns the cse Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="gmail_v1.users.settings.delegates.html">delegates()</a></code>
7984
</p>

‎googleapiclient/discovery_cache/documents/gmail.v1.json

+551-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.