Class protos.google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService (0.1.4)

Represents a PublicCertificateAuthorityService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService

Package

@google-cloud/publicca

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new PublicCertificateAuthorityService 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): PublicCertificateAuthorityService;

Creates new PublicCertificateAuthorityService 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
PublicCertificateAuthorityService

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

createExternalAccountKey(request, callback)

public createExternalAccountKey(request: google.cloud.security.publicca.v1beta1.ICreateExternalAccountKeyRequest, callback: google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKeyCallback): void;

Calls CreateExternalAccountKey.

Parameters
NameDescription
request ICreateExternalAccountKeyRequest

CreateExternalAccountKeyRequest message or plain object

callback google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKeyCallback

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

Returns
TypeDescription
void

createExternalAccountKey(request)

public createExternalAccountKey(request: google.cloud.security.publicca.v1beta1.ICreateExternalAccountKeyRequest): Promise<google.cloud.security.publicca.v1beta1.ExternalAccountKey>;

Calls CreateExternalAccountKey.

Parameter
NameDescription
request ICreateExternalAccountKeyRequest

CreateExternalAccountKeyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.security.publicca.v1beta1.ExternalAccountKey>

Promise