Class protos.google.cloud.kms.v1.EkmService (2.11.0)

Represents an EkmService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.kms.v1.EkmService

Package

@google-cloud/kms

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new EkmService 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
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
NameDescription
request google.cloud.kms.v1.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
TypeDescription
void

createEkmConnection(request)

public createEkmConnection(request: google.cloud.kms.v1.ICreateEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;

Calls CreateEkmConnection.

Parameter
NameDescription
request google.cloud.kms.v1.ICreateEkmConnectionRequest

CreateEkmConnectionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.kms.v1.EkmConnection>

Promise

getEkmConnection(request, callback)

public getEkmConnection(request: google.cloud.kms.v1.IGetEkmConnectionRequest, callback: google.cloud.kms.v1.EkmService.GetEkmConnectionCallback): void;

Calls GetEkmConnection.

Parameters
NameDescription
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
TypeDescription
void

getEkmConnection(request)

public getEkmConnection(request: google.cloud.kms.v1.IGetEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;

Calls GetEkmConnection.

Parameter
NameDescription
request google.cloud.kms.v1.IGetEkmConnectionRequest

GetEkmConnectionRequest message or plain object

Returns
TypeDescription
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
NameDescription
request 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
TypeDescription
void

listEkmConnections(request)

public listEkmConnections(request: google.cloud.kms.v1.IListEkmConnectionsRequest): Promise<google.cloud.kms.v1.ListEkmConnectionsResponse>;

Calls ListEkmConnections.

Parameter
NameDescription
request IListEkmConnectionsRequest

ListEkmConnectionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.kms.v1.ListEkmConnectionsResponse>

Promise

updateEkmConnection(request, callback)

public updateEkmConnection(request: google.cloud.kms.v1.IUpdateEkmConnectionRequest, callback: google.cloud.kms.v1.EkmService.UpdateEkmConnectionCallback): void;

Calls UpdateEkmConnection.

Parameters
NameDescription
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
TypeDescription
void

updateEkmConnection(request)

public updateEkmConnection(request: google.cloud.kms.v1.IUpdateEkmConnectionRequest): Promise<google.cloud.kms.v1.EkmConnection>;

Calls UpdateEkmConnection.

Parameter
NameDescription
request google.cloud.kms.v1.IUpdateEkmConnectionRequest

UpdateEkmConnectionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.kms.v1.EkmConnection>

Promise