2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public class ValidationHelperV1.ValidationHelperV1Client : ClientBase<ValidationHelperV1.ValidationHelperV1Client>

Reference documentation and code samples for the Binary Authorization v1 API class ValidationHelperV1.ValidationHelperV1Client.

Client for ValidationHelperV1

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[ValidationHelperV1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1.md.txt)[ValidationHelperV1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1/latest/Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1.ValidationHelperV1Client.md.txt) \> ValidationHelperV1.ValidationHelperV1Client

## Inherited Members

[ClientBase\<ValidationHelperV1.ValidationHelperV1Client\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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.md.txt)

## Assembly

Google.Cloud.BinaryAuthorization.V1.dll

## Constructors

### ValidationHelperV1Client()

    protected ValidationHelperV1Client()

Protected parameterless constructor to allow creation of test doubles.

### ValidationHelperV1Client(CallInvoker)

    public ValidationHelperV1Client(CallInvoker callInvoker)

Creates a new client for ValidationHelperV1 that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### ValidationHelperV1Client(ChannelBase)

    public ValidationHelperV1Client(ChannelBase channel)

Creates a new client for ValidationHelperV1

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### ValidationHelperV1Client(ClientBaseConfiguration)

    protected ValidationHelperV1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateIAMPolicyClient()

    public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyIAMPolicyClient` | A new [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) for the same target as this client. |

### NewInstance(ClientBaseConfiguration)

    protected override ValidationHelperV1.ValidationHelperV1Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ValidationHelperV1ValidationHelperV1Client` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.BinaryAuthorization.V1.ValidationHelperV1.ValidationHelperV1Client\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, CallOptions)

    public virtual ValidateAttestationOccurrenceResponse ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, CallOptions options)

Returns whether the given `Attestation` for the given image URI
was signed by the given `Attestor`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateAttestationOccurrenceRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ValidateAttestationOccurrenceResponse` | The response received from the server. |

### ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, Metadata, DateTime?, CancellationToken)

    public virtual ValidateAttestationOccurrenceResponse ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns whether the given `Attestation` for the given image URI
was signed by the given `Attestor`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateAttestationOccurrenceRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ValidateAttestationOccurrenceResponse` | The response received from the server. |

### ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CallOptions)

    public virtual AsyncUnaryCall<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest request, CallOptions options)

Returns whether the given `Attestation` for the given image URI
was signed by the given `Attestor`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateAttestationOccurrenceRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallValidateAttestationOccurrenceResponse` | The call object. |

### ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns whether the given `Attestation` for the given image URI
was signed by the given `Attestor`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateAttestationOccurrenceRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallValidateAttestationOccurrenceResponse` | The call object. |