Class UsersResource.SettingsResource.CseResource.IdentitiesResource.DeleteRequest
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.
Inheritance
UsersResource.SettingsResource.CseResource.IdentitiesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource.CseResource.IdentitiesResource.DeleteRequest : GmailBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string userId, string cseEmailAddress)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | userId | |
string | cseEmailAddress |
Properties
CseEmailAddress
The primary email address associated with the client-side encryption identity configuration that's removed.
Declaration
[RequestParameter("cseEmailAddress", RequestParameterType.Path)]
public virtual string CseEmailAddress { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserId
The requester's primary email address. To indicate the authenticated user, you can use the
special value me
.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()