Show / Hide Table of Contents

Class ProjectsResource.KeysResource.MigrateRequest

Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Site Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>
ProjectsResource.KeysResource.MigrateRequest
Implements
IClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>
IClientServiceRequest
Inherited Members
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Xgafv
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.AccessToken
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Alt
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Callback
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Fields
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Key
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.OauthToken
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.PrettyPrint
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.QuotaUser
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.UploadType
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.UploadProtocol
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.Execute()
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ExecuteAsync()
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ETagAction
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ModifyRequest
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.ValidateParameters
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.RequestParameters
ClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>.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.RecaptchaEnterprise.v1
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class ProjectsResource.KeysResource.MigrateRequest : RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>, IClientServiceRequest<GoogleCloudRecaptchaenterpriseV1Key>, IClientServiceRequest

Constructors

MigrateRequest(IClientService, GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest, string)

Constructs a new Migrate request.

Declaration
public MigrateRequest(IClientService service, GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RecaptchaEnterprise.v1.Data.GoogleCloudRecaptchaenterpriseV1Key>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RecaptchaEnterprise.v1.Data.GoogleCloudRecaptchaenterpriseV1Key>.MethodName

Name

Required. The name of the key to be migrated, in the format "projects/{project}/keys/{key}".

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RecaptchaEnterprise.v1.Data.GoogleCloudRecaptchaenterpriseV1Key>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RecaptchaEnterprise.v1.Data.GoogleCloudRecaptchaenterpriseV1Key>.GetBody()

InitParameters()

Initializes Migrate parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.RecaptchaEnterprise.v1.RecaptchaEnterpriseBaseServiceRequest<Google.Apis.RecaptchaEnterprise.v1.Data.GoogleCloudRecaptchaenterpriseV1Key>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX