Represents a ReachabilityService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.networkmanagement.v1beta1.ReachabilityServicePackage
@google-cloud/network-managementConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ReachabilityService service.
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): ReachabilityService;
Creates new ReachabilityService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
ReachabilityService | RPC service. Useful where requests and/or responses are streamed. |
createConnectivityTest(request, callback)
public createConnectivityTest(request: google.cloud.networkmanagement.v1beta1.ICreateConnectivityTestRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.CreateConnectivityTestCallback): void;
Calls CreateConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.ICreateConnectivityTestRequest
CreateConnectivityTestRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.CreateConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createConnectivityTest(request)
public createConnectivityTest(request: google.cloud.networkmanagement.v1beta1.ICreateConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls CreateConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.ICreateConnectivityTestRequest
CreateConnectivityTestRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteConnectivityTest(request, callback)
public deleteConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IDeleteConnectivityTestRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.DeleteConnectivityTestCallback): void;
Calls DeleteConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IDeleteConnectivityTestRequest
DeleteConnectivityTestRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.DeleteConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteConnectivityTest(request)
public deleteConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IDeleteConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls DeleteConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IDeleteConnectivityTestRequest
DeleteConnectivityTestRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getConnectivityTest(request, callback)
public getConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IGetConnectivityTestRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.GetConnectivityTestCallback): void;
Calls GetConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IGetConnectivityTestRequest
GetConnectivityTestRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.GetConnectivityTestCallback
Node-style callback called with the error, if any, and ConnectivityTest |
Type | Description |
void |
getConnectivityTest(request)
public getConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IGetConnectivityTestRequest): Promise<google.cloud.networkmanagement.v1beta1.ConnectivityTest>;
Calls GetConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IGetConnectivityTestRequest
GetConnectivityTestRequest message or plain object |
Type | Description |
Promise<google.cloud.networkmanagement.v1beta1.ConnectivityTest> | Promise |
listConnectivityTests(request, callback)
public listConnectivityTests(request: google.cloud.networkmanagement.v1beta1.IListConnectivityTestsRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.ListConnectivityTestsCallback): void;
Calls ListConnectivityTests.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IListConnectivityTestsRequest
ListConnectivityTestsRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.ListConnectivityTestsCallback
Node-style callback called with the error, if any, and ListConnectivityTestsResponse |
Type | Description |
void |
listConnectivityTests(request)
public listConnectivityTests(request: google.cloud.networkmanagement.v1beta1.IListConnectivityTestsRequest): Promise<google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>;
Calls ListConnectivityTests.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IListConnectivityTestsRequest
ListConnectivityTestsRequest message or plain object |
Type | Description |
Promise<google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse> | Promise |
rerunConnectivityTest(request, callback)
public rerunConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IRerunConnectivityTestRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTestCallback): void;
Calls RerunConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IRerunConnectivityTestRequest
RerunConnectivityTestRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
rerunConnectivityTest(request)
public rerunConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IRerunConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls RerunConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IRerunConnectivityTestRequest
RerunConnectivityTestRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateConnectivityTest(request, callback)
public updateConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IUpdateConnectivityTestRequest, callback: google.cloud.networkmanagement.v1beta1.ReachabilityService.UpdateConnectivityTestCallback): void;
Calls UpdateConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IUpdateConnectivityTestRequest
UpdateConnectivityTestRequest message or plain object |
callback |
google.cloud.networkmanagement.v1beta1.ReachabilityService.UpdateConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateConnectivityTest(request)
public updateConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IUpdateConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls UpdateConnectivityTest.
Name | Description |
request |
google.cloud.networkmanagement.v1beta1.IUpdateConnectivityTestRequest
UpdateConnectivityTestRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |