Class protos.google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService (0.3.2)

Represents a ClientGatewaysService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService

Package

@google-cloud/clientgateways

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createClientGateway(request, callback)

public createClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest, callback: google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGatewayCallback): void;

Calls CreateClientGateway.

Parameters
NameDescription
request google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest

CreateClientGatewayRequest message or plain object

callback google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGatewayCallback

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

Returns
TypeDescription
void

createClientGateway(request)

public createClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest): Promise<google.longrunning.Operation>;

Calls CreateClientGateway.

Parameter
NameDescription
request google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest

CreateClientGatewayRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteClientGateway(request, callback)

public deleteClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IDeleteClientGatewayRequest, callback: google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGatewayCallback): void;

Calls DeleteClientGateway.

Parameters
NameDescription
request IDeleteClientGatewayRequest

DeleteClientGatewayRequest message or plain object

callback google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGatewayCallback

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

Returns
TypeDescription
void

deleteClientGateway(request)

public deleteClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IDeleteClientGatewayRequest): Promise<google.longrunning.Operation>;

Calls DeleteClientGateway.

Parameter
NameDescription
request IDeleteClientGatewayRequest

DeleteClientGatewayRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getClientGateway(request, callback)

public getClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IGetClientGatewayRequest, callback: google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGatewayCallback): void;

Calls GetClientGateway.

Parameters
NameDescription
request IGetClientGatewayRequest

GetClientGatewayRequest message or plain object

callback google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGatewayCallback

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

Returns
TypeDescription
void

getClientGateway(request)

public getClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IGetClientGatewayRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ClientGateway>;

Calls GetClientGateway.

Parameter
NameDescription
request IGetClientGatewayRequest

GetClientGatewayRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.beyondcorp.clientgateways.v1.ClientGateway>

Promise

listClientGateways(request, callback)

public listClientGateways(request: google.cloud.beyondcorp.clientgateways.v1.IListClientGatewaysRequest, callback: google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGatewaysCallback): void;

Calls ListClientGateways.

Parameters
NameDescription
request IListClientGatewaysRequest

ListClientGatewaysRequest message or plain object

callback google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGatewaysCallback

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

Returns
TypeDescription
void

listClientGateways(request)

public listClientGateways(request: google.cloud.beyondcorp.clientgateways.v1.IListClientGatewaysRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse>;

Calls ListClientGateways.

Parameter
NameDescription
request IListClientGatewaysRequest

ListClientGatewaysRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse>

Promise