Class ProjectsResource.KeysResource.RetrieveLegacySecretKeyRequest
Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
Inheritance
RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse>
ProjectsResource.KeysResource.RetrieveLegacySecretKeyRequest
Implements
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class ProjectsResource.KeysResource.RetrieveLegacySecretKeyRequest : RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse>, IClientServiceRequest<GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse>, IClientServiceRequest
Constructors
RetrieveLegacySecretKeyRequest(IClientService, string)
Constructs a new RetrieveLegacySecretKey request.
Declaration
public RetrieveLegacySecretKeyRequest(IClientService service, string key)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | key |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Key
Required. The public key name linked to the requested secret key in the format
projects/{project}/keys/{key}
.
Declaration
[RequestParameter("key", RequestParameterType.Path)]
public virtual string Key { get; }
Property Value
Type | Description |
---|---|
string |
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
Methods
InitParameters()
Initializes RetrieveLegacySecretKey parameter list.
Declaration
protected override void InitParameters()