public class ValidationHelperV1Client : ClientBase<ValidationHelperV1.ValidationHelperV1Client>
Client for ValidationHelperV1
Inheritance
Object > ClientBase > ClientBase<ValidationHelperV1.ValidationHelperV1Client> > 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 | 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(ClientBase.ClientBaseConfiguration)
protected ValidationHelperV1Client(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ValidationHelperV1.ValidationHelperV1Client |
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, Nullable<DateTime>, CancellationToken)
public virtual ValidateAttestationOccurrenceResponse ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ValidateAttestationOccurrenceResponse> | The call object. |
ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ValidateAttestationOccurrenceResponse> | The call object. |