Represents an AppConnectorsService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.beyondcorp.appconnectors.v1.AppConnectorsServicePackage
@google-cloud/appconnectorsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AppConnectorsService 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): AppConnectorsService;
Creates new AppConnectorsService 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 |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createAppConnector(request)
public createAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest): Promise<google.longrunning.Operation>;
Calls CreateAppConnector.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.ICreateAppConnectorRequest
CreateAppConnectorRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.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 | |
---|---|
Type | Description |
void |
deleteAppConnector(request)
public deleteAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IDeleteAppConnectorRequest): Promise<google.longrunning.Operation>;
Calls DeleteAppConnector.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.IDeleteAppConnectorRequest
DeleteAppConnectorRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.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 | |
---|---|
Type | Description |
void |
getAppConnector(request)
public getAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IGetAppConnectorRequest): Promise<google.cloud.beyondcorp.appconnectors.v1.AppConnector>;
Calls GetAppConnector.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.IGetAppConnectorRequest
GetAppConnectorRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listAppConnectors(request)
public listAppConnectors(request: google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest): Promise<google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsResponse>;
Calls ListAppConnectors.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.IListAppConnectorsRequest
ListAppConnectorsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
reportStatus(request)
public reportStatus(request: google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest): Promise<google.longrunning.Operation>;
Calls ReportStatus.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.IReportStatusRequest
ReportStatusRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
updateAppConnector(request)
public updateAppConnector(request: google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest): Promise<google.longrunning.Operation>;
Calls UpdateAppConnector.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.beyondcorp.appconnectors.v1.IUpdateAppConnectorRequest
UpdateAppConnectorRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |