Represents an AppGatewaysService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.beyondcorp.appgateways.v1.AppGatewaysServicePackage
@google-cloud/appgatewaysConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AppGatewaysService 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): AppGatewaysService;
Creates new AppGatewaysService 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 |
AppGatewaysService | RPC service. Useful where requests and/or responses are streamed. |
createAppGateway(request, callback)
public createAppGateway(request: google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest, callback: google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.CreateAppGatewayCallback): void;
Calls CreateAppGateway.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest
CreateAppGatewayRequest message or plain object |
callback |
google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.CreateAppGatewayCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createAppGateway(request)
public createAppGateway(request: google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest): Promise<google.longrunning.Operation>;
Calls CreateAppGateway.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest
CreateAppGatewayRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteAppGateway(request, callback)
public deleteAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IDeleteAppGatewayRequest, callback: google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.DeleteAppGatewayCallback): void;
Calls DeleteAppGateway.
Parameters | |
---|---|
Name | Description |
request |
IDeleteAppGatewayRequest
DeleteAppGatewayRequest message or plain object |
callback |
google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.DeleteAppGatewayCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteAppGateway(request)
public deleteAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IDeleteAppGatewayRequest): Promise<google.longrunning.Operation>;
Calls DeleteAppGateway.
Parameter | |
---|---|
Name | Description |
request |
IDeleteAppGatewayRequest
DeleteAppGatewayRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getAppGateway(request, callback)
public getAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IGetAppGatewayRequest, callback: google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.GetAppGatewayCallback): void;
Calls GetAppGateway.
Parameters | |
---|---|
Name | Description |
request |
IGetAppGatewayRequest
GetAppGatewayRequest message or plain object |
callback |
google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.GetAppGatewayCallback
Node-style callback called with the error, if any, and AppGateway |
Returns | |
---|---|
Type | Description |
void |
getAppGateway(request)
public getAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IGetAppGatewayRequest): Promise<google.cloud.beyondcorp.appgateways.v1.AppGateway>;
Calls GetAppGateway.
Parameter | |
---|---|
Name | Description |
request |
IGetAppGatewayRequest
GetAppGatewayRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.beyondcorp.appgateways.v1.AppGateway> | Promise |
listAppGateways(request, callback)
public listAppGateways(request: google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest, callback: google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.ListAppGatewaysCallback): void;
Calls ListAppGateways.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest
ListAppGatewaysRequest message or plain object |
callback |
google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.ListAppGatewaysCallback
Node-style callback called with the error, if any, and ListAppGatewaysResponse |
Returns | |
---|---|
Type | Description |
void |
listAppGateways(request)
public listAppGateways(request: google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest): Promise<google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysResponse>;
Calls ListAppGateways.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest
ListAppGatewaysRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysResponse> | Promise |