public sealed class ValidationHelperV1ClientImpl : ValidationHelperV1Client
Reference documentation and code samples for the Binary Authorization v1 API class ValidationHelperV1ClientImpl.
ValidationHelperV1 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BinaryAuthorization.V1Assembly
Google.Cloud.BinaryAuthorization.V1.dll
Remarks
BinAuthz Attestor verification
Constructors
ValidationHelperV1ClientImpl(ValidationHelperV1Client, ValidationHelperV1Settings, ILogger)
public ValidationHelperV1ClientImpl(ValidationHelperV1.ValidationHelperV1Client grpcClient, ValidationHelperV1Settings settings, ILogger logger)
Constructs a client wrapper for the ValidationHelperV1 service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ValidationHelperV1ValidationHelperV1Client The underlying gRPC client. |
settings | ValidationHelperV1Settings The base ValidationHelperV1Settings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override ValidationHelperV1.ValidationHelperV1Client GrpcClient { get; }
The underlying gRPC ValidationHelperV1 client
Property Value | |
---|---|
Type | Description |
ValidationHelperV1ValidationHelperV1Client |
Methods
ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, CallSettings)
public override ValidateAttestationOccurrenceResponse ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, CallSettings callSettings = null)
Returns whether the given Attestation for the given image URI was signed by the given Attestor
Parameters | |
---|---|
Name | Description |
request | ValidateAttestationOccurrenceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ValidateAttestationOccurrenceResponse | The RPC response. |
ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CallSettings)
public override Task<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest request, CallSettings callSettings = null)
Returns whether the given Attestation for the given image URI was signed by the given Attestor
Parameters | |
---|---|
Name | Description |
request | ValidateAttestationOccurrenceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskValidateAttestationOccurrenceResponse | A Task containing the RPC response. |