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
NameDescription
grpcClientValidationHelperV1ValidationHelperV1Client

The underlying gRPC client.

settingsValidationHelperV1Settings

The base ValidationHelperV1Settings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ValidationHelperV1.ValidationHelperV1Client GrpcClient { get; }

The underlying gRPC ValidationHelperV1 client

Property Value
TypeDescription
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
NameDescription
requestValidateAttestationOccurrenceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestValidateAttestationOccurrenceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskValidateAttestationOccurrenceResponse

A Task containing the RPC response.

Overrides