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