Class ReachabilityService.ReachabilityServiceBase (1.0.0)

[BindServiceMethod(typeof(ReachabilityService), "BindService")]
public abstract class ReachabilityServiceBase

Base class for server-side implementations of ReachabilityService

Inheritance

Object > ReachabilityService.ReachabilityServiceBase

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Methods

CreateConnectivityTest(CreateConnectivityTestRequest, ServerCallContext)

public virtual Task<Operation> CreateConnectivityTest(CreateConnectivityTestRequest request, ServerCallContext context)

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of <code>AMBIGUOUS</code>. For more information, see the Connectivity Test documentation.

Parameters
NameDescription
requestCreateConnectivityTestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteConnectivityTest(DeleteConnectivityTestRequest, ServerCallContext)

public virtual Task<Operation> DeleteConnectivityTest(DeleteConnectivityTestRequest request, ServerCallContext context)

Deletes a specific ConnectivityTest.

Parameters
NameDescription
requestDeleteConnectivityTestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetConnectivityTest(GetConnectivityTestRequest, ServerCallContext)

public virtual Task<ConnectivityTest> GetConnectivityTest(GetConnectivityTestRequest request, ServerCallContext context)

Gets the details of a specific Connectivity Test.

Parameters
NameDescription
requestGetConnectivityTestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ConnectivityTest>

The response to send back to the client (wrapped by a task).

ListConnectivityTests(ListConnectivityTestsRequest, ServerCallContext)

public virtual Task<ListConnectivityTestsResponse> ListConnectivityTests(ListConnectivityTestsRequest request, ServerCallContext context)

Lists all Connectivity Tests owned by a project.

Parameters
NameDescription
requestListConnectivityTestsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListConnectivityTestsResponse>

The response to send back to the client (wrapped by a task).

RerunConnectivityTest(RerunConnectivityTestRequest, ServerCallContext)

public virtual Task<Operation> RerunConnectivityTest(RerunConnectivityTestRequest request, ServerCallContext context)

Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes.

If the endpoint specifications in ConnectivityTest become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

Parameters
NameDescription
requestRerunConnectivityTestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateConnectivityTest(UpdateConnectivityTestRequest, ServerCallContext)

public virtual Task<Operation> UpdateConnectivityTest(UpdateConnectivityTestRequest request, ServerCallContext context)

Updates the configuration of an existing ConnectivityTest. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result.

If the endpoint specifications in ConnectivityTest are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of <code>UNKNOWN</code>.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for for more details.

Parameters
NameDescription
requestUpdateConnectivityTestRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).