blob: 12d7501582140fa610940159e2690bb50262d30c [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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.sendAs.html">sendAs</a> . <a href="gmail_v1.users.settings.sendAs.smimeInfo.html">smimeInfo</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#delete">delete(userId, sendAsEmail, id, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Deletes the specified S/MIME config for the specified send-as alias.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(userId, sendAsEmail, id, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040082<p class="firstline">Gets the specified S/MIME config for the specified send-as alias.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#insert">insert(userId, sendAsEmail, body=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Insert (upload) the given S/MIME config for the specified send-as alias.</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#list">list(userId, sendAsEmail, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040088<p class="firstline">Lists S/MIME configs for the specified send-as alias.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#setDefault">setDefault(userId, sendAsEmail, id, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040091<p class="firstline">Sets the default S/MIME config for the specified send-as alias.</p>
92<h3>Method Details</h3>
93<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070094 <code class="details" id="delete">delete(userId, sendAsEmail, id, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040095 <pre>Deletes the specified S/MIME config for the specified send-as alias.
96
97Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070098 userId: string, The user&#x27;s email address. The special value `me`
99can be used to indicate the authenticated user. (required)
100 sendAsEmail: string, The email address that appears in the &quot;From:&quot; header for mail sent using
101this alias. (required)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400102 id: string, The immutable ID for the SmimeInfo. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400107</pre>
108</div>
109
110<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 <code class="details" id="get">get(userId, sendAsEmail, id, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400112 <pre>Gets the specified S/MIME config for the specified send-as alias.
113
114Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 userId: string, The user&#x27;s email address. The special value `me`
116can be used to indicate the authenticated user. (required)
117 sendAsEmail: string, The email address that appears in the &quot;From:&quot; header for mail sent using
118this alias. (required)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400119 id: string, The immutable ID for the SmimeInfo. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400124
125Returns:
126 An object of the form:
127
128 { # An S/MIME email config.
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;isDefault&quot;: True or False, # Whether this SmimeInfo is the default one for this user&#x27;s send-as address.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 &quot;id&quot;: &quot;A String&quot;, # The immutable ID for the SmimeInfo.
131 &quot;pem&quot;: &quot;A String&quot;, # PEM formatted X509 concatenated certificate string (standard base64
132 # encoding). Format used for returning key, which includes public key
133 # as well as certificate chain (not private key).
134 &quot;expiration&quot;: &quot;A String&quot;, # When the certificate expires (in milliseconds since epoch).
135 &quot;pkcs12&quot;: &quot;A String&quot;, # PKCS#12 format containing a single private/public key pair and
136 # certificate chain. This format is only accepted from client
137 # for creating a new SmimeInfo and is never returned, because the
138 # private key is not intended to be exported. PKCS#12 may be encrypted,
139 # in which case encryptedKeyPassword should be set appropriately.
140 &quot;encryptedKeyPassword&quot;: &quot;A String&quot;, # Encrypted key password, when key is encrypted.
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;issuerCn&quot;: &quot;A String&quot;, # The S/MIME certificate issuer&#x27;s common name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400143</div>
144
145<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700146 <code class="details" id="insert">insert(userId, sendAsEmail, body=None, x__xgafv=None)</code>
147 <pre>Insert (upload) the given S/MIME config for the specified send-as alias.
148Note that pkcs12 format is required for the key.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400149
150Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700151 userId: string, The user&#x27;s email address. The special value `me`
152can be used to indicate the authenticated user. (required)
153 sendAsEmail: string, The email address that appears in the &quot;From:&quot; header for mail sent using
154this alias. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700155 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400156 The object takes the form of:
157
158{ # An S/MIME email config.
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;isDefault&quot;: True or False, # Whether this SmimeInfo is the default one for this user&#x27;s send-as address.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700160 &quot;id&quot;: &quot;A String&quot;, # The immutable ID for the SmimeInfo.
161 &quot;pem&quot;: &quot;A String&quot;, # PEM formatted X509 concatenated certificate string (standard base64
162 # encoding). Format used for returning key, which includes public key
163 # as well as certificate chain (not private key).
164 &quot;expiration&quot;: &quot;A String&quot;, # When the certificate expires (in milliseconds since epoch).
165 &quot;pkcs12&quot;: &quot;A String&quot;, # PKCS#12 format containing a single private/public key pair and
166 # certificate chain. This format is only accepted from client
167 # for creating a new SmimeInfo and is never returned, because the
168 # private key is not intended to be exported. PKCS#12 may be encrypted,
169 # in which case encryptedKeyPassword should be set appropriately.
170 &quot;encryptedKeyPassword&quot;: &quot;A String&quot;, # Encrypted key password, when key is encrypted.
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 &quot;issuerCn&quot;: &quot;A String&quot;, # The S/MIME certificate issuer&#x27;s common name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700172}
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400173
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700174 x__xgafv: string, V1 error format.
175 Allowed values
176 1 - v1 error format
177 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400178
179Returns:
180 An object of the form:
181
182 { # An S/MIME email config.
Bu Sun Kim65020912020-05-20 12:08:20 -0700183 &quot;isDefault&quot;: True or False, # Whether this SmimeInfo is the default one for this user&#x27;s send-as address.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700184 &quot;id&quot;: &quot;A String&quot;, # The immutable ID for the SmimeInfo.
185 &quot;pem&quot;: &quot;A String&quot;, # PEM formatted X509 concatenated certificate string (standard base64
186 # encoding). Format used for returning key, which includes public key
187 # as well as certificate chain (not private key).
188 &quot;expiration&quot;: &quot;A String&quot;, # When the certificate expires (in milliseconds since epoch).
189 &quot;pkcs12&quot;: &quot;A String&quot;, # PKCS#12 format containing a single private/public key pair and
190 # certificate chain. This format is only accepted from client
191 # for creating a new SmimeInfo and is never returned, because the
192 # private key is not intended to be exported. PKCS#12 may be encrypted,
193 # in which case encryptedKeyPassword should be set appropriately.
194 &quot;encryptedKeyPassword&quot;: &quot;A String&quot;, # Encrypted key password, when key is encrypted.
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;issuerCn&quot;: &quot;A String&quot;, # The S/MIME certificate issuer&#x27;s common name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400197</div>
198
199<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 <code class="details" id="list">list(userId, sendAsEmail, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400201 <pre>Lists S/MIME configs for the specified send-as alias.
202
203Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 userId: string, The user&#x27;s email address. The special value `me`
205can be used to indicate the authenticated user. (required)
206 sendAsEmail: string, The email address that appears in the &quot;From:&quot; header for mail sent using
207this alias. (required)
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400212
213Returns:
214 An object of the form:
215
216 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 &quot;smimeInfo&quot;: [ # List of SmimeInfo.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400218 { # An S/MIME email config.
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;isDefault&quot;: True or False, # Whether this SmimeInfo is the default one for this user&#x27;s send-as address.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;id&quot;: &quot;A String&quot;, # The immutable ID for the SmimeInfo.
221 &quot;pem&quot;: &quot;A String&quot;, # PEM formatted X509 concatenated certificate string (standard base64
222 # encoding). Format used for returning key, which includes public key
223 # as well as certificate chain (not private key).
224 &quot;expiration&quot;: &quot;A String&quot;, # When the certificate expires (in milliseconds since epoch).
225 &quot;pkcs12&quot;: &quot;A String&quot;, # PKCS#12 format containing a single private/public key pair and
226 # certificate chain. This format is only accepted from client
227 # for creating a new SmimeInfo and is never returned, because the
228 # private key is not intended to be exported. PKCS#12 may be encrypted,
229 # in which case encryptedKeyPassword should be set appropriately.
230 &quot;encryptedKeyPassword&quot;: &quot;A String&quot;, # Encrypted key password, when key is encrypted.
Bu Sun Kim65020912020-05-20 12:08:20 -0700231 &quot;issuerCn&quot;: &quot;A String&quot;, # The S/MIME certificate issuer&#x27;s common name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400233 ],
234 }</pre>
235</div>
236
237<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700238 <code class="details" id="setDefault">setDefault(userId, sendAsEmail, id, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400239 <pre>Sets the default S/MIME config for the specified send-as alias.
240
241Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700242 userId: string, The user&#x27;s email address. The special value `me`
243can be used to indicate the authenticated user. (required)
244 sendAsEmail: string, The email address that appears in the &quot;From:&quot; header for mail sent using
245this alias. (required)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400246 id: string, The immutable ID for the SmimeInfo. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700247 x__xgafv: string, V1 error format.
248 Allowed values
249 1 - v1 error format
250 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400251</pre>
252</div>
253
254</body></html>