Represents a PublicCertificateAuthorityService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityServicePackage
@google-cloud/publiccaConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new PublicCertificateAuthorityService service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createExternalAccountKey(request)
public createExternalAccountKey(request: google.cloud.security.publicca.v1beta1.ICreateExternalAccountKeyRequest): Promise<google.cloud.security.publicca.v1beta1.ExternalAccountKey>;
Calls CreateExternalAccountKey.
Parameter | |
---|---|
Name | Description |
request |
ICreateExternalAccountKeyRequest
CreateExternalAccountKeyRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.security.publicca.v1beta1.ExternalAccountKey> | Promise |