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.
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): ReachabilityService;
Creates new ReachabilityService 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 |
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.
Parameters | |
---|---|
Name | Description |
request |
ICreateConnectivityTestRequest
CreateConnectivityTestRequest message or plain object |
callback |
CreateConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createConnectivityTest(request)
public createConnectivityTest(request: google.cloud.networkmanagement.v1beta1.ICreateConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls CreateConnectivityTest.
Parameter | |
---|---|
Name | Description |
request |
ICreateConnectivityTestRequest
CreateConnectivityTestRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteConnectivityTestRequest
DeleteConnectivityTestRequest message or plain object |
callback |
DeleteConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteConnectivityTest(request)
public deleteConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IDeleteConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls DeleteConnectivityTest.
Parameter | |
---|---|
Name | Description |
request |
IDeleteConnectivityTestRequest
DeleteConnectivityTestRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetConnectivityTestRequest
GetConnectivityTestRequest message or plain object |
callback |
GetConnectivityTestCallback
Node-style callback called with the error, if any, and ConnectivityTest |
Returns | |
---|---|
Type | Description |
void |
getConnectivityTest(request)
public getConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IGetConnectivityTestRequest): Promise<google.cloud.networkmanagement.v1beta1.ConnectivityTest>;
Calls GetConnectivityTest.
Parameter | |
---|---|
Name | Description |
request |
IGetConnectivityTestRequest
GetConnectivityTestRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IListConnectivityTestsRequest
ListConnectivityTestsRequest message or plain object |
callback |
ListConnectivityTestsCallback
Node-style callback called with the error, if any, and ListConnectivityTestsResponse |
Returns | |
---|---|
Type | Description |
void |
listConnectivityTests(request)
public listConnectivityTests(request: google.cloud.networkmanagement.v1beta1.IListConnectivityTestsRequest): Promise<google.cloud.networkmanagement.v1beta1.ListConnectivityTestsResponse>;
Calls ListConnectivityTests.
Parameter | |
---|---|
Name | Description |
request |
IListConnectivityTestsRequest
ListConnectivityTestsRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IRerunConnectivityTestRequest
RerunConnectivityTestRequest message or plain object |
callback |
RerunConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
rerunConnectivityTest(request)
public rerunConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IRerunConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls RerunConnectivityTest.
Parameter | |
---|---|
Name | Description |
request |
IRerunConnectivityTestRequest
RerunConnectivityTestRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IUpdateConnectivityTestRequest
UpdateConnectivityTestRequest message or plain object |
callback |
UpdateConnectivityTestCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateConnectivityTest(request)
public updateConnectivityTest(request: google.cloud.networkmanagement.v1beta1.IUpdateConnectivityTestRequest): Promise<google.longrunning.Operation>;
Calls UpdateConnectivityTest.
Parameter | |
---|---|
Name | Description |
request |
IUpdateConnectivityTestRequest
UpdateConnectivityTestRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |