Represents a RecaptchaEnterpriseService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServicePackage
@google-cloud/recaptcha-enterprise!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RecaptchaEnterpriseService service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
annotateAssessment(request, callback)
public annotateAssessment(request: google.cloud.recaptchaenterprise.v1.IAnnotateAssessmentRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessmentCallback): void;
Calls AnnotateAssessment.
Name | Description |
request |
IAnnotateAssessmentRequest
AnnotateAssessmentRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessmentCallback
Node-style callback called with the error, if any, and AnnotateAssessmentResponse |
Type | Description |
void |
annotateAssessment(request)
public annotateAssessment(request: google.cloud.recaptchaenterprise.v1.IAnnotateAssessmentRequest): Promise<google.cloud.recaptchaenterprise.v1.AnnotateAssessmentResponse>;
Calls AnnotateAssessment.
Name | Description |
request |
IAnnotateAssessmentRequest
AnnotateAssessmentRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.AnnotateAssessmentResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RecaptchaEnterpriseService;
Creates new RecaptchaEnterpriseService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
RecaptchaEnterpriseService | RPC service. Useful where requests and/or responses are streamed. |
createAssessment(request, callback)
public createAssessment(request: google.cloud.recaptchaenterprise.v1.ICreateAssessmentRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessmentCallback): void;
Calls CreateAssessment.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.ICreateAssessmentRequest
CreateAssessmentRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessmentCallback
Node-style callback called with the error, if any, and Assessment |
Type | Description |
void |
createAssessment(request)
public createAssessment(request: google.cloud.recaptchaenterprise.v1.ICreateAssessmentRequest): Promise<google.cloud.recaptchaenterprise.v1.Assessment>;
Calls CreateAssessment.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.ICreateAssessmentRequest
CreateAssessmentRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.Assessment> | Promise |
createKey(request, callback)
public createKey(request: google.cloud.recaptchaenterprise.v1.ICreateKeyRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKeyCallback): void;
Calls CreateKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.ICreateKeyRequest
CreateKeyRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKeyCallback
Node-style callback called with the error, if any, and Key |
Type | Description |
void |
createKey(request)
public createKey(request: google.cloud.recaptchaenterprise.v1.ICreateKeyRequest): Promise<google.cloud.recaptchaenterprise.v1.Key>;
Calls CreateKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.ICreateKeyRequest
CreateKeyRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.Key> | Promise |
deleteKey(request, callback)
public deleteKey(request: google.cloud.recaptchaenterprise.v1.IDeleteKeyRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKeyCallback): void;
Calls DeleteKey.
Name | Description |
request |
IDeleteKeyRequest
DeleteKeyRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKeyCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteKey(request)
public deleteKey(request: google.cloud.recaptchaenterprise.v1.IDeleteKeyRequest): Promise<google.protobuf.Empty>;
Calls DeleteKey.
Name | Description |
request |
IDeleteKeyRequest
DeleteKeyRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getKey(request, callback)
public getKey(request: google.cloud.recaptchaenterprise.v1.IGetKeyRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKeyCallback): void;
Calls GetKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.IGetKeyRequest
GetKeyRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKeyCallback
Node-style callback called with the error, if any, and Key |
Type | Description |
void |
getKey(request)
public getKey(request: google.cloud.recaptchaenterprise.v1.IGetKeyRequest): Promise<google.cloud.recaptchaenterprise.v1.Key>;
Calls GetKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.IGetKeyRequest
GetKeyRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.Key> | Promise |
listKeys(request, callback)
public listKeys(request: google.cloud.recaptchaenterprise.v1.IListKeysRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeysCallback): void;
Calls ListKeys.
Name | Description |
request |
IListKeysRequest
ListKeysRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeysCallback
Node-style callback called with the error, if any, and ListKeysResponse |
Type | Description |
void |
listKeys(request)
public listKeys(request: google.cloud.recaptchaenterprise.v1.IListKeysRequest): Promise<google.cloud.recaptchaenterprise.v1.ListKeysResponse>;
Calls ListKeys.
Name | Description |
request |
IListKeysRequest
ListKeysRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.ListKeysResponse> | Promise |
updateKey(request, callback)
public updateKey(request: google.cloud.recaptchaenterprise.v1.IUpdateKeyRequest, callback: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKeyCallback): void;
Calls UpdateKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.IUpdateKeyRequest
UpdateKeyRequest message or plain object |
callback |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKeyCallback
Node-style callback called with the error, if any, and Key |
Type | Description |
void |
updateKey(request)
public updateKey(request: google.cloud.recaptchaenterprise.v1.IUpdateKeyRequest): Promise<google.cloud.recaptchaenterprise.v1.Key>;
Calls UpdateKey.
Name | Description |
request |
google.cloud.recaptchaenterprise.v1.IUpdateKeyRequest
UpdateKeyRequest message or plain object |
Type | Description |
Promise<google.cloud.recaptchaenterprise.v1.Key> | Promise |