Constructor
new ValidationHelperV1(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new ValidationHelperV1 service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
validateAttestationOccurrence(request, callback) → {undefined}
Calls ValidateAttestationOccurrence.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IValidateAttestationOccurrenceRequest |
ValidateAttestationOccurrenceRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrenceCallback |
Node-style callback called with the error, if any, and ValidateAttestationOccurrenceResponse |
Returns:
Type | Description |
---|---|
undefined |
validateAttestationOccurrence(request) → {Promise.<google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse>}
Calls ValidateAttestationOccurrence.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IValidateAttestationOccurrenceRequest |
ValidateAttestationOccurrenceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ValidationHelperV1}
Creates new ValidationHelperV1 service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
ValidationHelperV1 |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
ValidateAttestationOccurrenceCallback(error, responseopt)
Callback as used by validateAttestationOccurrence.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse |
<optional> |
ValidateAttestationOccurrenceResponse |