Class protos.google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService (0.3.3)

Stay organized with collections Save and categorize content based on your preferences.

Represents an AppConnectorsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService

Package

@google-cloud/appconnectors

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createAppConnector(request, callback)

public createAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.CreateAppConnectorCallback): void;

Calls CreateAppConnector.

Parameters
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest

CreateAppConnectorRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.CreateAppConnectorCallback

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

Returns
TypeDescription
void

createAppConnector(request)

public createAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest): Promise<google.longrunning.Operation>;

Calls CreateAppConnector.

Parameter
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest

CreateAppConnectorRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteAppConnector(request, callback)

public deleteAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IDeleteAppConnectorRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.DeleteAppConnectorCallback): void;

Calls DeleteAppConnector.

Parameters
NameDescription
request IDeleteAppConnectorRequest

DeleteAppConnectorRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.DeleteAppConnectorCallback

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

Returns
TypeDescription
void

deleteAppConnector(request)

public deleteAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IDeleteAppConnectorRequest): Promise<google.longrunning.Operation>;

Calls DeleteAppConnector.

Parameter
NameDescription
request IDeleteAppConnectorRequest

DeleteAppConnectorRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAppConnector(request, callback)

public getAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IGetAppConnectorRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.GetAppConnectorCallback): void;

Calls GetAppConnector.

Parameters
NameDescription
request IGetAppConnectorRequest

GetAppConnectorRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.GetAppConnectorCallback

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

Returns
TypeDescription
void

getAppConnector(request)

public getAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IGetAppConnectorRequest): Promise<google.cloud.beyondcorp.appconnectors.v1.AppConnector>;

Calls GetAppConnector.

Parameter
NameDescription
request IGetAppConnectorRequest

GetAppConnectorRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.beyondcorp.appconnectors.v1.AppConnector>

Promise

listAppConnectors(request, callback)

public listAppConnectors(request: google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ListAppConnectorsCallback): void;

Calls ListAppConnectors.

Parameters
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest

ListAppConnectorsRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ListAppConnectorsCallback

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

Returns
TypeDescription
void

listAppConnectors(request)

public listAppConnectors(request: google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest): Promise<google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsResponse>;

Calls ListAppConnectors.

Parameter
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest

ListAppConnectorsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsResponse>

Promise

reportStatus(request, callback)

public reportStatus(request: google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ReportStatusCallback): void;

Calls ReportStatus.

Parameters
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest

ReportStatusRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ReportStatusCallback

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

Returns
TypeDescription
void

reportStatus(request)

public reportStatus(request: google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest): Promise<google.longrunning.Operation>;

Calls ReportStatus.

Parameter
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest

ReportStatusRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateAppConnector(request, callback)

public updateAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest, callback: google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.UpdateAppConnectorCallback): void;

Calls UpdateAppConnector.

Parameters
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest

UpdateAppConnectorRequest message or plain object

callback google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.UpdateAppConnectorCallback

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

Returns
TypeDescription
void

updateAppConnector(request)

public updateAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest): Promise<google.longrunning.Operation>;

Calls UpdateAppConnector.

Parameter
NameDescription
request google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest

UpdateAppConnectorRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise