Represents a KeyDashboardService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.kms.inventory.v1.KeyDashboardServicePackage
@google-cloud/kms-inventoryConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new KeyDashboardService 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): KeyDashboardService;Creates new KeyDashboardService 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 |
KeyDashboardService |
RPC service. Useful where requests and/or responses are streamed. |
listCryptoKeys(request, callback)
public listCryptoKeys(request: google.cloud.kms.inventory.v1.IListCryptoKeysRequest, callback: google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeysCallback): void;Calls ListCryptoKeys.
| Parameters | |
|---|---|
| Name | Description |
request |
IListCryptoKeysRequest
ListCryptoKeysRequest message or plain object |
callback |
ListCryptoKeysCallback
Node-style callback called with the error, if any, and ListCryptoKeysResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listCryptoKeys(request)
public listCryptoKeys(request: google.cloud.kms.inventory.v1.IListCryptoKeysRequest): Promise<google.cloud.kms.inventory.v1.ListCryptoKeysResponse>;Calls ListCryptoKeys.
| Parameter | |
|---|---|
| Name | Description |
request |
IListCryptoKeysRequest
ListCryptoKeysRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.kms.inventory.v1.ListCryptoKeysResponse> |
Promise |