1.13.0 (latest) 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[ConfidentialComputing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.ConfidentialComputing.md.txt)[ConfidentialComputingClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.ConfidentialComputing.ConfidentialComputingClient.md.txt) \> ConfidentialComputing.ConfidentialComputingClient

## Inherited Members

[ClientBase\<ConfidentialComputing.ConfidentialComputingClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ConfidentialComputing.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.md.txt)

## Assembly

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` | `CallInvoker` The callInvoker to use to make remote calls. |

### ConfidentialComputingClient(ChannelBase)

    public ConfidentialComputingClient(ChannelBase channel)

Creates a new client for ConfidentialComputing

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The 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` | `ClientBaseClientBaseConfiguration` The 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` | `CreateChallengeRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `CreateChallengeRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `CreateChallengeRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `CreateChallengeRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallChallenge` | The call object. |

### CreateLocationsClient()

    public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LocationsLocationsClient` | A new [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) 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` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.ConfidentialComputing.V1.ConfidentialComputing.ConfidentialComputingClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### 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` | `VerifyAttestationRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyAttestationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `VerifyAttestationRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyAttestationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `VerifyConfidentialGkeRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyConfidentialGkeRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `VerifyConfidentialGkeRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyConfidentialGkeRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `VerifyConfidentialSpaceRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyConfidentialSpaceRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `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` | `VerifyConfidentialSpaceRequest` The request to send to the server. |
| `options` | `CallOptions` The 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` | `VerifyConfidentialSpaceRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallVerifyConfidentialSpaceResponse` | The call object. |