Confidential Computing v1alpha1 API - Class ConfidentialComputing.ConfidentialComputingClient (1.0.0-alpha04)

public class ConfidentialComputing.ConfidentialComputingClient : ClientBase<ConfidentialComputing.ConfidentialComputingClient>

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

Client for ConfidentialComputing

Inheritance

object > ClientBase > ClientBaseConfidentialComputingConfidentialComputingClient > ConfidentialComputing.ConfidentialComputingClient

Namespace

Google.Cloud.ConfidentialComputing.V1Alpha1

Assembly

Google.Cloud.ConfidentialComputing.V1Alpha1.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ConfidentialComputingClient(ChannelBase)

public ConfidentialComputingClient(ChannelBase channel)

Creates a new client for ConfidentialComputing

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ConfidentialComputingClient(ClientBaseConfiguration)

protected ConfidentialComputingClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
NameDescription
requestCreateChallengeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateChallengeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateChallengeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateChallengeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ConfidentialComputingConfidentialComputingClient
Overrides

VerifyAttestation(VerifyAttestationRequest, CallOptions)

public virtual VerifyAttestationResponse VerifyAttestation(VerifyAttestationRequest request, CallOptions options)

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

Parameters
NameDescription
requestVerifyAttestationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 OIDC token.

Parameters
NameDescription
requestVerifyAttestationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 OIDC token.

Parameters
NameDescription
requestVerifyAttestationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 OIDC token.

Parameters
NameDescription
requestVerifyAttestationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallVerifyAttestationResponse

The call object.