Represents a ClientGatewaysService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysServicePackage
@google-cloud/clientgatewaysConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ClientGatewaysService service.
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): ClientGatewaysService;
Creates new ClientGatewaysService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
request |
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 |
Type | Description |
void |
createClientGateway(request)
public createClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest): Promise<google.longrunning.Operation>;
Calls CreateClientGateway.
Name | Description |
request |
ICreateClientGatewayRequest
CreateClientGatewayRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
google.cloud.beyondcorp.clientgateways.v1.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 |
Type | Description |
void |
deleteClientGateway(request)
public deleteClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IDeleteClientGatewayRequest): Promise<google.longrunning.Operation>;
Calls DeleteClientGateway.
Name | Description |
request |
google.cloud.beyondcorp.clientgateways.v1.IDeleteClientGatewayRequest
DeleteClientGatewayRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
google.cloud.beyondcorp.clientgateways.v1.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 |
Type | Description |
void |
getClientGateway(request)
public getClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IGetClientGatewayRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ClientGateway>;
Calls GetClientGateway.
Name | Description |
request |
google.cloud.beyondcorp.clientgateways.v1.IGetClientGatewayRequest
GetClientGatewayRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listClientGateways(request)
public listClientGateways(request: google.cloud.beyondcorp.clientgateways.v1.IListClientGatewaysRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse>;
Calls ListClientGateways.
Name | Description |
request |
IListClientGatewaysRequest
ListClientGatewaysRequest message or plain object |
Type | Description |
Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse> | Promise |