Class ReachabilityServiceGrpc.ReachabilityServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ReachabilityServiceGrpc.ReachabilityServiceStub>
-
- com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceGrpc.ReachabilityServiceStub
-
- Enclosing class:
- ReachabilityServiceGrpc
public static final class ReachabilityServiceGrpc.ReachabilityServiceStub extends io.grpc.stub.AbstractAsyncStub<ReachabilityServiceGrpc.ReachabilityServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ReachabilityService.The Reachability service in the Google Cloud Network Management API provides services that analyze the reachability within a single Google Virtual Private Cloud (VPC) network, between peered VPC networks, between VPC and on-premises networks, or between VPC networks and internet hosts. A reachability analysis is based on Google Cloud network configurations. You can use the analysis results to verify these configurations and to troubleshoot connectivity issues.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ReachabilityServiceGrpc.ReachabilityServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createConnectivityTest(CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Connectivity Test.void
deleteConnectivityTest(DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific `ConnectivityTest`.void
getConnectivityTest(GetConnectivityTestRequest request, io.grpc.stub.StreamObserver<ConnectivityTest> responseObserver)
Gets the details of a specific Connectivity Test.void
listConnectivityTests(ListConnectivityTestsRequest request, io.grpc.stub.StreamObserver<ListConnectivityTestsResponse> responseObserver)
Lists all Connectivity Tests owned by a project.void
rerunConnectivityTest(RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Rerun an existing `ConnectivityTest`.void
updateConnectivityTest(UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the configuration of an existing `ConnectivityTest`.
-
-
-
Method Detail
-
build
protected ReachabilityServiceGrpc.ReachabilityServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ReachabilityServiceGrpc.ReachabilityServiceStub>
-
listConnectivityTests
public void listConnectivityTests(ListConnectivityTestsRequest request, io.grpc.stub.StreamObserver<ListConnectivityTestsResponse> responseObserver)
Lists all Connectivity Tests owned by a project.
-
getConnectivityTest
public void getConnectivityTest(GetConnectivityTestRequest request, io.grpc.stub.StreamObserver<ConnectivityTest> responseObserver)
Gets the details of a specific Connectivity Test.
-
createConnectivityTest
public void createConnectivityTest(CreateConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
updateConnectivityTest
public void updateConnectivityTest(UpdateConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
rerunConnectivityTest
public void rerunConnectivityTest(RerunConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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`.
-
deleteConnectivityTest
public void deleteConnectivityTest(DeleteConnectivityTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific `ConnectivityTest`.
-
-