Binary Authorization v1 API - Class ValidationHelperV1ClientImpl (2.4.0)

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.

Inheritance

object > ValidationHelperV1Client > ValidationHelperV1ClientImpl

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

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
Overrides

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.

Overrides

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.

Overrides