Class ValidationHelperV1ClientImpl (1.0.0)

public sealed class ValidationHelperV1ClientImpl : ValidationHelperV1Client

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(ValidationHelperV1.ValidationHelperV1Client, ValidationHelperV1Settings)

public ValidationHelperV1ClientImpl(ValidationHelperV1.ValidationHelperV1Client grpcClient, ValidationHelperV1Settings settings)

Constructs a client wrapper for the ValidationHelperV1 service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientValidationHelperV1.ValidationHelperV1Client

The underlying gRPC client.

settingsValidationHelperV1Settings

The base ValidationHelperV1Settings used within this client.

Properties

GrpcClient

public override ValidationHelperV1.ValidationHelperV1Client GrpcClient { get; }

The underlying gRPC ValidationHelperV1 client

Property Value
TypeDescription
ValidationHelperV1.ValidationHelperV1Client
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
Task<ValidateAttestationOccurrenceResponse>

A Task containing the RPC response.

Overrides