Represents a ValidationHelperV1
Inheritance
$protobuf.rpc.Service > protos.google.cloud.binaryauthorization.v1.ValidationHelperV1Package
@google-cloud/binary-authorizationConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ValidationHelperV1 service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ValidationHelperV1;Creates new ValidationHelperV1 service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
ValidationHelperV1 |
RPC service. Useful where requests and/or responses are streamed. |
validateAttestationOccurrence(request, callback)
public validateAttestationOccurrence(request: google.cloud.binaryauthorization.v1.IValidateAttestationOccurrenceRequest, callback: google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrenceCallback): void;Calls ValidateAttestationOccurrence.
| Parameters | |
|---|---|
| Name | Description |
request |
IValidateAttestationOccurrenceRequest
ValidateAttestationOccurrenceRequest message or plain object |
callback |
ValidateAttestationOccurrenceCallback
Node-style callback called with the error, if any, and ValidateAttestationOccurrenceResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
validateAttestationOccurrence(request)
public validateAttestationOccurrence(request: google.cloud.binaryauthorization.v1.IValidateAttestationOccurrenceRequest): Promise<google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse>;Calls ValidateAttestationOccurrence.
| Parameter | |
|---|---|
| Name | Description |
request |
IValidateAttestationOccurrenceRequest
ValidateAttestationOccurrenceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse> |
Promise |