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.
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): ClientGatewaysService;
Creates new ClientGatewaysService 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 |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createClientGateway(request)
public createClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest): Promise<google.longrunning.Operation>;
Calls CreateClientGateway.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.clientgateways.v1.ICreateClientGatewayRequest
CreateClientGatewayRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
deleteClientGateway(request)
public deleteClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IDeleteClientGatewayRequest): Promise<google.longrunning.Operation>;
Calls DeleteClientGateway.
Parameter | |
---|---|
Name | Description |
request |
IDeleteClientGatewayRequest
DeleteClientGatewayRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getClientGateway(request)
public getClientGateway(request: google.cloud.beyondcorp.clientgateways.v1.IGetClientGatewayRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ClientGateway>;
Calls GetClientGateway.
Parameter | |
---|---|
Name | Description |
request |
IGetClientGatewayRequest
GetClientGatewayRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
listClientGateways(request)
public listClientGateways(request: google.cloud.beyondcorp.clientgateways.v1.IListClientGatewaysRequest): Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse>;
Calls ListClientGateways.
Parameter | |
---|---|
Name | Description |
request |
IListClientGatewaysRequest
ListClientGatewaysRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse> | Promise |