Class protos.google.cloud.networkmanagement.v1.ReachabilityService

Represents a ReachabilityService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.networkmanagement.v1.ReachabilityService

Package

@google-cloud/network-management!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ReachabilityService service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

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
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
ReachabilityService

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

createConnectivityTest(request, callback)

public createConnectivityTest(request: google.cloud.networkmanagement.v1.ICreateConnectivityTestRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTestCallback): void;

Calls CreateConnectivityTest.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.ICreateConnectivityTestRequestrequest

CreateConnectivityTestRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTestCallbackcallback

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

Returns
TypeDescription
void

createConnectivityTest(request)

public createConnectivityTest(request: google.cloud.networkmanagement.v1.ICreateConnectivityTestRequest): Promise<google.longrunning.Operation>;

Calls CreateConnectivityTest.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.ICreateConnectivityTestRequestrequest

CreateConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteConnectivityTest(request, callback)

public deleteConnectivityTest(request: google.cloud.networkmanagement.v1.IDeleteConnectivityTestRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTestCallback): void;

Calls DeleteConnectivityTest.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.IDeleteConnectivityTestRequestrequest

DeleteConnectivityTestRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTestCallbackcallback

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

Returns
TypeDescription
void

deleteConnectivityTest(request)

public deleteConnectivityTest(request: google.cloud.networkmanagement.v1.IDeleteConnectivityTestRequest): Promise<google.longrunning.Operation>;

Calls DeleteConnectivityTest.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.IDeleteConnectivityTestRequestrequest

DeleteConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getConnectivityTest(request, callback)

public getConnectivityTest(request: google.cloud.networkmanagement.v1.IGetConnectivityTestRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTestCallback): void;

Calls GetConnectivityTest.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.IGetConnectivityTestRequestrequest

GetConnectivityTestRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTestCallbackcallback

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

Returns
TypeDescription
void

getConnectivityTest(request)

public getConnectivityTest(request: google.cloud.networkmanagement.v1.IGetConnectivityTestRequest): Promise<google.cloud.networkmanagement.v1.ConnectivityTest>;

Calls GetConnectivityTest.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.IGetConnectivityTestRequestrequest

GetConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networkmanagement.v1.ConnectivityTest>

Promise

listConnectivityTests(request, callback)

public listConnectivityTests(request: google.cloud.networkmanagement.v1.IListConnectivityTestsRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTestsCallback): void;

Calls ListConnectivityTests.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.IListConnectivityTestsRequestrequest

ListConnectivityTestsRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTestsCallbackcallback

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

Returns
TypeDescription
void

listConnectivityTests(request)

public listConnectivityTests(request: google.cloud.networkmanagement.v1.IListConnectivityTestsRequest): Promise<google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>;

Calls ListConnectivityTests.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.IListConnectivityTestsRequestrequest

ListConnectivityTestsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networkmanagement.v1.ListConnectivityTestsResponse>

Promise

rerunConnectivityTest(request, callback)

public rerunConnectivityTest(request: google.cloud.networkmanagement.v1.IRerunConnectivityTestRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTestCallback): void;

Calls RerunConnectivityTest.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.IRerunConnectivityTestRequestrequest

RerunConnectivityTestRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTestCallbackcallback

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

Returns
TypeDescription
void

rerunConnectivityTest(request)

public rerunConnectivityTest(request: google.cloud.networkmanagement.v1.IRerunConnectivityTestRequest): Promise<google.longrunning.Operation>;

Calls RerunConnectivityTest.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.IRerunConnectivityTestRequestrequest

RerunConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateConnectivityTest(request, callback)

public updateConnectivityTest(request: google.cloud.networkmanagement.v1.IUpdateConnectivityTestRequest, callback: google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTestCallback): void;

Calls UpdateConnectivityTest.

Parameters
TypeNameDescription
google.cloud.networkmanagement.v1.IUpdateConnectivityTestRequestrequest

UpdateConnectivityTestRequest message or plain object

google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTestCallbackcallback

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

Returns
TypeDescription
void

updateConnectivityTest(request)

public updateConnectivityTest(request: google.cloud.networkmanagement.v1.IUpdateConnectivityTestRequest): Promise<google.longrunning.Operation>;

Calls UpdateConnectivityTest.

Parameter
TypeNameDescription
google.cloud.networkmanagement.v1.IUpdateConnectivityTestRequestrequest

UpdateConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise