Binary Authorization v1 API - Class ValidationHelperV1.ValidationHelperV1Client (2.4.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 > ClientBase > ClientBaseValidationHelperV1ValidationHelperV1Client > ValidationHelperV1.ValidationHelperV1Client

Namespace

Google.Cloud.BinaryAuthorization.V1

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

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

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 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 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.