Class UsersResource.SettingsResource.CseResource.IdentitiesResource.PatchRequest
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.
Inheritance
UsersResource.SettingsResource.CseResource.IdentitiesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource.CseResource.IdentitiesResource.PatchRequest : GmailBaseServiceRequest<CseIdentity>, IClientServiceRequest<CseIdentity>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CseIdentity, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, CseIdentity body, string userId, string emailAddress)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CseIdentity | body | |
string | userId | |
string | emailAddress |
Properties
EmailAddress
The email address of the client-side encryption identity to update.
Declaration
[RequestParameter("emailAddress", RequestParameterType.Path)]
public virtual string EmailAddress { 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()