public sealed class ValidationHelperV1ClientImpl : ValidationHelperV1ClientReference documentation and code samples for the Binary Authorization v1 API class ValidationHelperV1ClientImpl.
ValidationHelperV1 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BinaryAuthorization.V1Assembly
Google.Cloud.BinaryAuthorization.V1.dll
Remarks
BinAuthz Attestor verification
Constructors
ValidationHelperV1ClientImpl(ValidationHelperV1Client, ValidationHelperV1Settings, ILogger)
public ValidationHelperV1ClientImpl(ValidationHelperV1.ValidationHelperV1Client grpcClient, ValidationHelperV1Settings settings, ILogger logger)Constructs a client wrapper for the ValidationHelperV1 service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
grpcClient | 
        ValidationHelperV1ValidationHelperV1ClientThe underlying gRPC client.  | 
      
settings | 
        ValidationHelperV1SettingsThe base ValidationHelperV1Settings used within this client.  | 
      
logger | 
        ILoggerOptional ILogger to use within this client.  | 
      
Properties
GrpcClient
public override ValidationHelperV1.ValidationHelperV1Client GrpcClient { get; }The underlying gRPC ValidationHelperV1 client
| Property Value | |
|---|---|
| Type | Description | 
ValidationHelperV1ValidationHelperV1Client | 
        |
Methods
ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest, CallSettings)
public override ValidateAttestationOccurrenceResponse ValidateAttestationOccurrence(ValidateAttestationOccurrenceRequest request, CallSettings callSettings = null)Returns whether the given Attestation for the given image URI was signed by the given Attestor
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateAttestationOccurrenceRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ValidateAttestationOccurrenceResponse | 
        The RPC response.  | 
      
ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest, CallSettings)
public override Task<ValidateAttestationOccurrenceResponse> ValidateAttestationOccurrenceAsync(ValidateAttestationOccurrenceRequest request, CallSettings callSettings = null)Returns whether the given Attestation for the given image URI was signed by the given Attestor
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateAttestationOccurrenceRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskValidateAttestationOccurrenceResponse | 
        A Task containing the RPC response.  |