# Binary Authorization v1 API - Class ValidationHelperV1ClientImpl (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.5.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.4.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.3.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.2.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.1.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/2.0.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/1.0.0/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1ClientImpl)

    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](https://learn.microsoft.com/dotnet/api/system.object) \> [ValidationHelperV1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client) \> ValidationHelperV1ClientImpl

## Inherited Members

[ValidationHelperV1Client.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_DefaultEndpoint) [ValidationHelperV1Client.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_DefaultScopes) [ValidationHelperV1Client.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_ServiceMetadata) [ValidationHelperV1Client.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_CreateAsync_System_Threading_CancellationToken_) [ValidationHelperV1Client.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_Create) [ValidationHelperV1Client.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_ShutdownDefaultChannelsAsync) [ValidationHelperV1Client.ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_ValidateAttestationOccurrenceAsync_Google_Cloud_BinaryAuthorization_V1_ValidateAttestationOccurrenceRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BinaryAuthorization.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1.ValidationHelperV1Client` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Settings` The base [ValidationHelperV1Settings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Settings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ValidationHelperV1.ValidationHelperV1Client GrpcClient { get; }

The underlying gRPC ValidationHelperV1 client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1.ValidationHelperV1Client` |   |

**Overrides** [ValidationHelperV1Client.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_GrpcClient)

## 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidateAttestationOccurrenceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidateAttestationOccurrenceResponse` | The RPC response. |

**Overrides** [ValidationHelperV1Client.ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_ValidateAttestationOccurrence_Google_Cloud_BinaryAuthorization_V1_ValidateAttestationOccurrenceRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidateAttestationOccurrenceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidateAttestationOccurrenceResponse` | A Task containing the RPC response. |

**Overrides** [ValidationHelperV1Client.ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1Client#Google_Cloud_BinaryAuthorization_V1_ValidationHelperV1Client_ValidateAttestationOccurrenceAsync_Google_Cloud_BinaryAuthorization_V1_ValidateAttestationOccurrenceRequest_Google_Api_Gax_Grpc_CallSettings_)