public class ConfidentialComputing.ConfidentialComputingClient : ClientBase<ConfidentialComputing.ConfidentialComputingClient>Reference documentation and code samples for the Confidential Computing v1 API class ConfidentialComputing.ConfidentialComputingClient.
Client for ConfidentialComputing
Inheritance
object > ClientBase > ClientBaseConfidentialComputingConfidentialComputingClient > ConfidentialComputing.ConfidentialComputingClientNamespace
Google.Cloud.ConfidentialComputing.V1Assembly
Google.Cloud.ConfidentialComputing.V1.dll
Constructors
ConfidentialComputingClient()
protected ConfidentialComputingClient()Protected parameterless constructor to allow creation of test doubles.
ConfidentialComputingClient(CallInvoker)
public ConfidentialComputingClient(CallInvoker callInvoker)Creates a new client for ConfidentialComputing that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
ConfidentialComputingClient(ChannelBase)
public ConfidentialComputingClient(ChannelBase channel)Creates a new client for ConfidentialComputing
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
ConfidentialComputingClient(ClientBaseConfiguration)
protected ConfidentialComputingClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfigurationThe client configuration.  | 
      
Methods
CreateChallenge(CreateChallengeRequest, CallOptions)
public virtual Challenge CreateChallenge(CreateChallengeRequest request, CallOptions options)Creates a new Challenge in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateChallengeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Challenge | 
        The response received from the server.  | 
      
CreateChallenge(CreateChallengeRequest, Metadata, DateTime?, CancellationToken)
public virtual Challenge CreateChallenge(CreateChallengeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Challenge in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateChallengeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
Challenge | 
        The response received from the server.  | 
      
CreateChallengeAsync(CreateChallengeRequest, CallOptions)
public virtual AsyncUnaryCall<Challenge> CreateChallengeAsync(CreateChallengeRequest request, CallOptions options)Creates a new Challenge in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateChallengeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallChallenge | 
        The call object.  | 
      
CreateChallengeAsync(CreateChallengeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Challenge> CreateChallengeAsync(CreateChallengeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Challenge in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateChallengeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
AsyncUnaryCallChallenge | 
        The call object.  | 
      
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
LocationsLocationsClient | 
        A new Locations.LocationsClient for the same target as this client.  | 
      
NewInstance(ClientBaseConfiguration)
protected override ConfidentialComputing.ConfidentialComputingClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
ConfidentialComputingConfidentialComputingClient | 
        |
VerifyAttestation(VerifyAttestationRequest, CallOptions)
public virtual VerifyAttestationResponse VerifyAttestation(VerifyAttestationRequest request, CallOptions options)Verifies the provided attestation info, returning a signed attestation token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyAttestationRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VerifyAttestationResponse | 
        The response received from the server.  | 
      
VerifyAttestation(VerifyAttestationRequest, Metadata, DateTime?, CancellationToken)
public virtual VerifyAttestationResponse VerifyAttestation(VerifyAttestationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies the provided attestation info, returning a signed attestation token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyAttestationRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
VerifyAttestationResponse | 
        The response received from the server.  | 
      
VerifyAttestationAsync(VerifyAttestationRequest, CallOptions)
public virtual AsyncUnaryCall<VerifyAttestationResponse> VerifyAttestationAsync(VerifyAttestationRequest request, CallOptions options)Verifies the provided attestation info, returning a signed attestation token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyAttestationRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallVerifyAttestationResponse | 
        The call object.  | 
      
VerifyAttestationAsync(VerifyAttestationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<VerifyAttestationResponse> VerifyAttestationAsync(VerifyAttestationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies the provided attestation info, returning a signed attestation token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyAttestationRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
AsyncUnaryCallVerifyAttestationResponse | 
        The call object.  | 
      
VerifyConfidentialGke(VerifyConfidentialGkeRequest, CallOptions)
public virtual VerifyConfidentialGkeResponse VerifyConfidentialGke(VerifyConfidentialGkeRequest request, CallOptions options)Verifies the provided Confidential GKE attestation info, returning a signed OIDC token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialGkeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VerifyConfidentialGkeResponse | 
        The response received from the server.  | 
      
VerifyConfidentialGke(VerifyConfidentialGkeRequest, Metadata, DateTime?, CancellationToken)
public virtual VerifyConfidentialGkeResponse VerifyConfidentialGke(VerifyConfidentialGkeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies the provided Confidential GKE attestation info, returning a signed OIDC token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialGkeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
VerifyConfidentialGkeResponse | 
        The response received from the server.  | 
      
VerifyConfidentialGkeAsync(VerifyConfidentialGkeRequest, CallOptions)
public virtual AsyncUnaryCall<VerifyConfidentialGkeResponse> VerifyConfidentialGkeAsync(VerifyConfidentialGkeRequest request, CallOptions options)Verifies the provided Confidential GKE attestation info, returning a signed OIDC token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialGkeRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallVerifyConfidentialGkeResponse | 
        The call object.  | 
      
VerifyConfidentialGkeAsync(VerifyConfidentialGkeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<VerifyConfidentialGkeResponse> VerifyConfidentialGkeAsync(VerifyConfidentialGkeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies the provided Confidential GKE attestation info, returning a signed OIDC token.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialGkeRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
AsyncUnaryCallVerifyConfidentialGkeResponse | 
        The call object.  | 
      
VerifyConfidentialSpace(VerifyConfidentialSpaceRequest, CallOptions)
public virtual VerifyConfidentialSpaceResponse VerifyConfidentialSpace(VerifyConfidentialSpaceRequest request, CallOptions options)Verifies whether the provided attestation info is valid, returning a signed attestation token if so.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialSpaceRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VerifyConfidentialSpaceResponse | 
        The response received from the server.  | 
      
VerifyConfidentialSpace(VerifyConfidentialSpaceRequest, Metadata, DateTime?, CancellationToken)
public virtual VerifyConfidentialSpaceResponse VerifyConfidentialSpace(VerifyConfidentialSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies whether the provided attestation info is valid, returning a signed attestation token if so.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialSpaceRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
VerifyConfidentialSpaceResponse | 
        The response received from the server.  | 
      
VerifyConfidentialSpaceAsync(VerifyConfidentialSpaceRequest, CallOptions)
public virtual AsyncUnaryCall<VerifyConfidentialSpaceResponse> VerifyConfidentialSpaceAsync(VerifyConfidentialSpaceRequest request, CallOptions options)Verifies whether the provided attestation info is valid, returning a signed attestation token if so.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialSpaceRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallVerifyConfidentialSpaceResponse | 
        The call object.  | 
      
VerifyConfidentialSpaceAsync(VerifyConfidentialSpaceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<VerifyConfidentialSpaceResponse> VerifyConfidentialSpaceAsync(VerifyConfidentialSpaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Verifies whether the provided attestation info is valid, returning a signed attestation token if so.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        VerifyConfidentialSpaceRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.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 | 
AsyncUnaryCallVerifyConfidentialSpaceResponse | 
        The call object.  |