You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="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>
<pclass="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>
<pclass="firstline">Lists the client-side encrypted identities for an authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).</p>
<pclass="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>
<pre>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).
107
+
108
+
Args:
109
+
userId: string, The requester'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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
115
+
"primaryKeyPairId": "A String", # 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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
128
+
"primaryKeyPairId": "A String", # If a key pair is associated, the identifier of the key pair, CseKeyPair.
<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'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's removed. (required)
<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'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'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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
163
+
"primaryKeyPairId": "A String", # If a key pair is associated, the identifier of the key pair, CseKeyPair.
<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'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
+
"cseIdentities": [ # 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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
187
+
"primaryKeyPairId": "A String", # If a key pair is associated, the identifier of the key pair, CseKeyPair.
188
+
},
189
+
],
190
+
"nextPageToken": "A String", # 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.
<pre>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).
211
+
212
+
Args:
213
+
userId: string, The requester'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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
220
+
"primaryKeyPairId": "A String", # 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
+
"emailAddress": "A String", # The email address for the sending identity. The email address must be the primary email address of the authenticated user.
233
+
"primaryKeyPairId": "A String", # If a key pair is associated, the identifier of the key pair, CseKeyPair.
0 commit comments