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.ValidationHelperV1ClientNamespace
Google.Cloud.BinaryAuthorization.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
ValidationHelperV1Client(ChannelBase)
public ValidationHelperV1Client(ChannelBase channel)Creates a new client for ValidationHelperV1
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
|
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 |
ValidateAttestationOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ValidateAttestationOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ValidateAttestationOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ValidateAttestationOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallValidateAttestationOccurrenceResponse |
The call object. |