Class protos.google.cloud.beyondcorp.appgateways.v1.AppGatewaysService (0.3.2)

Represents an AppGatewaysService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.beyondcorp.appgateways.v1.AppGatewaysService

Package

@google-cloud/appgateways

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new AppGatewaysService 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
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
NameDescription
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
TypeDescription
void

createAppGateway(request)

public createAppGateway(request: google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest): Promise<google.longrunning.Operation>;

Calls CreateAppGateway.

Parameter
NameDescription
request google.cloud.beyondcorp.appgateways.v1.ICreateAppGatewayRequest

CreateAppGatewayRequest message or plain object

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

deleteAppGateway(request)

public deleteAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IDeleteAppGatewayRequest): Promise<google.longrunning.Operation>;

Calls DeleteAppGateway.

Parameter
NameDescription
request IDeleteAppGatewayRequest

DeleteAppGatewayRequest message or plain object

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

getAppGateway(request)

public getAppGateway(request: google.cloud.beyondcorp.appgateways.v1.IGetAppGatewayRequest): Promise<google.cloud.beyondcorp.appgateways.v1.AppGateway>;

Calls GetAppGateway.

Parameter
NameDescription
request IGetAppGatewayRequest

GetAppGatewayRequest message or plain object

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

listAppGateways(request)

public listAppGateways(request: google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest): Promise<google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysResponse>;

Calls ListAppGateways.

Parameter
NameDescription
request google.cloud.beyondcorp.appgateways.v1.IListAppGatewaysRequest

ListAppGatewaysRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysResponse>

Promise