Binary Authorization v1 API - Class ValidationHelperV1.ValidationHelperV1Client (2.3.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ValidationHelperV1Client(ChannelBase)

public ValidationHelperV1Client(ChannelBase channel)

Creates a new client for ValidationHelperV1

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ValidationHelperV1Client(ClientBaseConfiguration)

protected ValidationHelperV1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallValidateAttestationOccurrenceResponse

The call object.