Class protos.google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing (1.2.0)

Represents a ConfidentialComputing

Inheritance

$protobuf.rpc.Service > protos.google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing

Package

@google-cloud/confidentialcomputing

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ConfidentialComputing service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConfidentialComputing;

Creates new ConfidentialComputing service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
ConfidentialComputing

RPC service. Useful where requests and/or responses are streamed.

createChallenge(request, callback)

public createChallenge(request: google.cloud.confidentialcomputing.v1alpha1.ICreateChallengeRequest, callback: google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.CreateChallengeCallback): void;

Calls CreateChallenge.

Parameters
NameDescription
request ICreateChallengeRequest

CreateChallengeRequest message or plain object

callback CreateChallengeCallback

Node-style callback called with the error, if any, and Challenge

Returns
TypeDescription
void

createChallenge(request)

public createChallenge(request: google.cloud.confidentialcomputing.v1alpha1.ICreateChallengeRequest): Promise<google.cloud.confidentialcomputing.v1alpha1.Challenge>;

Calls CreateChallenge.

Parameter
NameDescription
request ICreateChallengeRequest

CreateChallengeRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.confidentialcomputing.v1alpha1.Challenge>

Promise

verifyAttestation(request, callback)

public verifyAttestation(request: google.cloud.confidentialcomputing.v1alpha1.IVerifyAttestationRequest, callback: google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.VerifyAttestationCallback): void;

Calls VerifyAttestation.

Parameters
NameDescription
request IVerifyAttestationRequest

VerifyAttestationRequest message or plain object

callback VerifyAttestationCallback

Node-style callback called with the error, if any, and VerifyAttestationResponse

Returns
TypeDescription
void

verifyAttestation(request)

public verifyAttestation(request: google.cloud.confidentialcomputing.v1alpha1.IVerifyAttestationRequest): Promise<google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationResponse>;

Calls VerifyAttestation.

Parameter
NameDescription
request IVerifyAttestationRequest

VerifyAttestationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationResponse>

Promise