Represents an EkmService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.kms.v1.EkmServicePackage
@google-cloud/kmsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new EkmService 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): EkmService;
Creates new EkmService 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 |
EkmService |
RPC service. Useful where requests and/or responses are streamed. |
createEkmConnection(request, callback)
public createEkmConnection(request: google.cloud.kms.v1.ICreateEkmConnectionRequest, callback: google.cloud.kms.v1.EkmService.CreateEkmConnectionCallback): void;
Calls CreateEkmConnection.
Parameters | |
---|---|
Name | Description |
request |
ICreateEkmConnectionRequest
CreateEkmConnectionRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.CreateEkmConnectionCallback
Node-style callback called with the error, if any, and EkmConnection |
Returns | |
---|---|
Type | Description |
void |
createEkmConnection(request)
public createEkmConnection(request: google.cloud.kms.v1.ICreateEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;
Calls CreateEkmConnection.
Parameter | |
---|---|
Name | Description |
request |
ICreateEkmConnectionRequest
CreateEkmConnectionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.EkmConnection> |
Promise |
getEkmConfig(request, callback)
public getEkmConfig(request: google.cloud.kms.v1.IGetEkmConfigRequest, callback: google.cloud.kms.v1.EkmService.GetEkmConfigCallback): void;
Calls GetEkmConfig.
Parameters | |
---|---|
Name | Description |
request |
IGetEkmConfigRequest
GetEkmConfigRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.GetEkmConfigCallback
Node-style callback called with the error, if any, and EkmConfig |
Returns | |
---|---|
Type | Description |
void |
getEkmConfig(request)
public getEkmConfig(request: google.cloud.kms.v1.IGetEkmConfigRequest): Promise<google.cloud.kms.v1.EkmConfig>;
Calls GetEkmConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetEkmConfigRequest
GetEkmConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.EkmConfig> |
Promise |
getEkmConnection(request, callback)
public getEkmConnection(request: google.cloud.kms.v1.IGetEkmConnectionRequest, callback: google.cloud.kms.v1.EkmService.GetEkmConnectionCallback): void;
Calls GetEkmConnection.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IGetEkmConnectionRequest
GetEkmConnectionRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.GetEkmConnectionCallback
Node-style callback called with the error, if any, and EkmConnection |
Returns | |
---|---|
Type | Description |
void |
getEkmConnection(request)
public getEkmConnection(request: google.cloud.kms.v1.IGetEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;
Calls GetEkmConnection.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IGetEkmConnectionRequest
GetEkmConnectionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.EkmConnection> |
Promise |
listEkmConnections(request, callback)
public listEkmConnections(request: google.cloud.kms.v1.IListEkmConnectionsRequest, callback: google.cloud.kms.v1.EkmService.ListEkmConnectionsCallback): void;
Calls ListEkmConnections.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IListEkmConnectionsRequest
ListEkmConnectionsRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.ListEkmConnectionsCallback
Node-style callback called with the error, if any, and ListEkmConnectionsResponse |
Returns | |
---|---|
Type | Description |
void |
listEkmConnections(request)
public listEkmConnections(request: google.cloud.kms.v1.IListEkmConnectionsRequest): Promise<google.cloud.kms.v1.ListEkmConnectionsResponse>;
Calls ListEkmConnections.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IListEkmConnectionsRequest
ListEkmConnectionsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.ListEkmConnectionsResponse> |
Promise |
updateEkmConfig(request, callback)
public updateEkmConfig(request: google.cloud.kms.v1.IUpdateEkmConfigRequest, callback: google.cloud.kms.v1.EkmService.UpdateEkmConfigCallback): void;
Calls UpdateEkmConfig.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IUpdateEkmConfigRequest
UpdateEkmConfigRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.UpdateEkmConfigCallback
Node-style callback called with the error, if any, and EkmConfig |
Returns | |
---|---|
Type | Description |
void |
updateEkmConfig(request)
public updateEkmConfig(request: google.cloud.kms.v1.IUpdateEkmConfigRequest): Promise<google.cloud.kms.v1.EkmConfig>;
Calls UpdateEkmConfig.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IUpdateEkmConfigRequest
UpdateEkmConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.EkmConfig> |
Promise |
updateEkmConnection(request, callback)
public updateEkmConnection(request: google.cloud.kms.v1.IUpdateEkmConnectionRequest, callback: google.cloud.kms.v1.EkmService.UpdateEkmConnectionCallback): void;
Calls UpdateEkmConnection.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IUpdateEkmConnectionRequest
UpdateEkmConnectionRequest message or plain object |
callback |
google.cloud.kms.v1.EkmService.UpdateEkmConnectionCallback
Node-style callback called with the error, if any, and EkmConnection |
Returns | |
---|---|
Type | Description |
void |
updateEkmConnection(request)
public updateEkmConnection(request: google.cloud.kms.v1.IUpdateEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;
Calls UpdateEkmConnection.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.kms.v1.IUpdateEkmConnectionRequest
UpdateEkmConnectionRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.kms.v1.EkmConnection> |
Promise |