Class protos.google.cloud.networkmanagement.v1beta1.ReachabilityService (3.0.0)

Represents a ReachabilityService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.networkmanagement.v1beta1.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
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): ReachabilityService;

Creates new ReachabilityService 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
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
NameDescription
request ICreateConnectivityTestRequest

CreateConnectivityTestRequest message or plain object

callback CreateConnectivityTestCallback

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

Returns
TypeDescription
void

createConnectivityTest(request)

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

Calls CreateConnectivityTest.

Parameter
NameDescription
request ICreateConnectivityTestRequest

CreateConnectivityTestRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IDeleteConnectivityTestRequest

DeleteConnectivityTestRequest message or plain object

callback DeleteConnectivityTestCallback

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

Returns
TypeDescription
void

deleteConnectivityTest(request)

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

Calls DeleteConnectivityTest.

Parameter
NameDescription
request IDeleteConnectivityTestRequest

DeleteConnectivityTestRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetConnectivityTestRequest

GetConnectivityTestRequest message or plain object

callback GetConnectivityTestCallback

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

Returns
TypeDescription
void

getConnectivityTest(request)

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

Calls GetConnectivityTest.

Parameter
NameDescription
request IGetConnectivityTestRequest

GetConnectivityTestRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListConnectivityTestsRequest

ListConnectivityTestsRequest message or plain object

callback ListConnectivityTestsCallback

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

Returns
TypeDescription
void

listConnectivityTests(request)

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

Calls ListConnectivityTests.

Parameter
NameDescription
request IListConnectivityTestsRequest

ListConnectivityTestsRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IRerunConnectivityTestRequest

RerunConnectivityTestRequest message or plain object

callback RerunConnectivityTestCallback

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

Returns
TypeDescription
void

rerunConnectivityTest(request)

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

Calls RerunConnectivityTest.

Parameter
NameDescription
request IRerunConnectivityTestRequest

RerunConnectivityTestRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateConnectivityTestRequest

UpdateConnectivityTestRequest message or plain object

callback UpdateConnectivityTestCallback

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

Returns
TypeDescription
void

updateConnectivityTest(request)

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

Calls UpdateConnectivityTest.

Parameter
NameDescription
request IUpdateConnectivityTestRequest

UpdateConnectivityTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise