Binary Authorization v1 API - Class ValidationHelperV1.ValidationHelperV1Client (2.1.0)

public class ValidationHelperV1Client : ClientBase<ValidationHelperV1.ValidationHelperV1Client>

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

Client for ValidationHelperV1

Inheritance

Object > ClientBase > ClientBase<ValidationHelperV1.ValidationHelperV1Client> > 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(ClientBase.ClientBaseConfiguration)

protected ValidationHelperV1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ValidationHelperV1.ValidationHelperV1Client
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ValidateAttestationOccurrenceResponse>

The call object.

ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ValidateAttestationOccurrenceResponse>

The call object.