# Confidential Computing v1alpha1 API - Class ConfidentialComputingClientImpl (1.0.0-alpha06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-alpha06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClientImpl)
- [1.0.0-alpha05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/1.0.0-alpha05/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClientImpl)

    public sealed class ConfidentialComputingClientImpl : ConfidentialComputingClient

Reference documentation and code samples for the Confidential Computing v1alpha1 API class ConfidentialComputingClientImpl.

ConfidentialComputing client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ConfidentialComputingClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient) \> ConfidentialComputingClientImpl

## Inherited Members

[ConfidentialComputingClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_DefaultEndpoint) [ConfidentialComputingClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_DefaultScopes) [ConfidentialComputingClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_ServiceMetadata) [ConfidentialComputingClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateAsync_System_Threading_CancellationToken_) [ConfidentialComputingClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_Create) [ConfidentialComputingClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_ShutdownDefaultChannelsAsync) [ConfidentialComputingClient.CreateChallengeAsync(CreateChallengeRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_Google_Cloud_ConfidentialComputing_V1Alpha1_CreateChallengeRequest_System_Threading_CancellationToken_) [ConfidentialComputingClient.CreateChallenge(string, Challenge, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallenge_System_String_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_Google_Api_Gax_Grpc_CallSettings_) [ConfidentialComputingClient.CreateChallengeAsync(string, Challenge, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_System_String_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_Google_Api_Gax_Grpc_CallSettings_) [ConfidentialComputingClient.CreateChallengeAsync(string, Challenge, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_System_String_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_System_Threading_CancellationToken_) [ConfidentialComputingClient.CreateChallenge(LocationName, Challenge, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallenge_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_Google_Api_Gax_Grpc_CallSettings_) [ConfidentialComputingClient.CreateChallengeAsync(LocationName, Challenge, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_Google_Api_Gax_Grpc_CallSettings_) [ConfidentialComputingClient.CreateChallengeAsync(LocationName, Challenge, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ConfidentialComputing_V1Alpha1_Challenge_System_Threading_CancellationToken_) [ConfidentialComputingClient.VerifyAttestationAsync(VerifyAttestationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_VerifyAttestationAsync_Google_Cloud_ConfidentialComputing_V1Alpha1_VerifyAttestationRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.ConfidentialComputing.V1Alpha1.dll

## Remarks

Service describing handlers for resources

## Constructors

### ConfidentialComputingClientImpl(ConfidentialComputingClient, ConfidentialComputingSettings, ILogger)

    public ConfidentialComputingClientImpl(ConfidentialComputing.ConfidentialComputingClient grpcClient, ConfidentialComputingSettings settings, ILogger logger)

Constructs a client wrapper for the ConfidentialComputing service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputing.ConfidentialComputingClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingSettings` The base [ConfidentialComputingSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ConfidentialComputing.ConfidentialComputingClient GrpcClient { get; }

The underlying gRPC ConfidentialComputing client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputing.ConfidentialComputingClient` |   |

**Overrides** [ConfidentialComputingClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [ConfidentialComputingClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_LocationsClient)

## Methods

### CreateChallenge(CreateChallengeRequest, CallSettings)

    public override Challenge CreateChallenge(CreateChallengeRequest request, CallSettings callSettings = null)

Creates a new Challenge in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.CreateChallengeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.Challenge` | The RPC response. |

**Overrides** [ConfidentialComputingClient.CreateChallenge(CreateChallengeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallenge_Google_Cloud_ConfidentialComputing_V1Alpha1_CreateChallengeRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateChallengeAsync(CreateChallengeRequest, CallSettings)

    public override Task<Challenge> CreateChallengeAsync(CreateChallengeRequest request, CallSettings callSettings = null)

Creates a new Challenge in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.CreateChallengeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.Challenge` | A Task containing the RPC response. |

**Overrides** [ConfidentialComputingClient.CreateChallengeAsync(CreateChallengeRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_CreateChallengeAsync_Google_Cloud_ConfidentialComputing_V1Alpha1_CreateChallengeRequest_Google_Api_Gax_Grpc_CallSettings_)

### VerifyAttestation(VerifyAttestationRequest, CallSettings)

    public override VerifyAttestationResponse VerifyAttestation(VerifyAttestationRequest request, CallSettings callSettings = null)

Verifies the provided attestation info, returning a signed OIDC token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationResponse` | The RPC response. |

**Overrides** [ConfidentialComputingClient.VerifyAttestation(VerifyAttestationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_VerifyAttestation_Google_Cloud_ConfidentialComputing_V1Alpha1_VerifyAttestationRequest_Google_Api_Gax_Grpc_CallSettings_)

### VerifyAttestationAsync(VerifyAttestationRequest, CallSettings)

    public override Task<VerifyAttestationResponse> VerifyAttestationAsync(VerifyAttestationRequest request, CallSettings callSettings = null)

Verifies the provided attestation info, returning a signed OIDC token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationResponse` | A Task containing the RPC response. |

**Overrides** [ConfidentialComputingClient.VerifyAttestationAsync(VerifyAttestationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputingClient#Google_Cloud_ConfidentialComputing_V1Alpha1_ConfidentialComputingClient_VerifyAttestationAsync_Google_Cloud_ConfidentialComputing_V1Alpha1_VerifyAttestationRequest_Google_Api_Gax_Grpc_CallSettings_)