Show / Hide Table of Contents

Class UsersResource.SettingsResource.CseResource.KeypairsResource.EnableRequest

Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CseKeyPair>
GmailBaseServiceRequest<CseKeyPair>
UsersResource.SettingsResource.CseResource.KeypairsResource.EnableRequest
Implements
IClientServiceRequest<CseKeyPair>
IClientServiceRequest
Inherited Members
GmailBaseServiceRequest<CseKeyPair>.Xgafv
GmailBaseServiceRequest<CseKeyPair>.AccessToken
GmailBaseServiceRequest<CseKeyPair>.Alt
GmailBaseServiceRequest<CseKeyPair>.Callback
GmailBaseServiceRequest<CseKeyPair>.Fields
GmailBaseServiceRequest<CseKeyPair>.Key
GmailBaseServiceRequest<CseKeyPair>.OauthToken
GmailBaseServiceRequest<CseKeyPair>.PrettyPrint
GmailBaseServiceRequest<CseKeyPair>.QuotaUser
GmailBaseServiceRequest<CseKeyPair>.UploadType
GmailBaseServiceRequest<CseKeyPair>.UploadProtocol
ClientServiceRequest<CseKeyPair>.Execute()
ClientServiceRequest<CseKeyPair>.ExecuteAsStream()
ClientServiceRequest<CseKeyPair>.ExecuteAsync()
ClientServiceRequest<CseKeyPair>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CseKeyPair>.ExecuteAsStreamAsync()
ClientServiceRequest<CseKeyPair>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CseKeyPair>.CreateRequest(bool?)
ClientServiceRequest<CseKeyPair>.GenerateRequestUri()
ClientServiceRequest<CseKeyPair>.GetDefaultETagAction(string)
ClientServiceRequest<CseKeyPair>.ETagAction
ClientServiceRequest<CseKeyPair>.ModifyRequest
ClientServiceRequest<CseKeyPair>.ValidateParameters
ClientServiceRequest<CseKeyPair>.ApiVersion
ClientServiceRequest<CseKeyPair>.RequestParameters
ClientServiceRequest<CseKeyPair>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource.CseResource.KeypairsResource.EnableRequest : GmailBaseServiceRequest<CseKeyPair>, IClientServiceRequest<CseKeyPair>, IClientServiceRequest

Constructors

EnableRequest(IClientService, EnableCseKeyPairRequest, string, string)

Constructs a new Enable request.

Declaration
public EnableRequest(IClientService service, EnableCseKeyPairRequest body, string userId, string keyPairId)
Parameters
Type Name Description
IClientService service
EnableCseKeyPairRequest body
string userId
string keyPairId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CseKeyPair>.HttpMethod

KeyPairId

The identifier of the key pair to turn on.

Declaration
[RequestParameter("keyPairId", RequestParameterType.Path)]
public virtual string KeyPairId { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CseKeyPair>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CseKeyPair>.RestPath

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
ClientServiceRequest<CseKeyPair>.GetBody()

InitParameters()

Initializes Enable parameter list.

Declaration
protected override void InitParameters()
Overrides
GmailBaseServiceRequest<CseKeyPair>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX