- 1.53.0 (latest)
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
public static final class ReachabilityServiceGrpc.ReachabilityServiceStub extends 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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ReachabilityServiceGrpc.ReachabilityServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected ReachabilityServiceGrpc.ReachabilityServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ReachabilityServiceGrpc.ReachabilityServiceStub |
createConnectivityTest(CreateConnectivityTestRequest request, StreamObserver<Operation> responseObserver)
public void createConnectivityTest(CreateConnectivityTestRequest request, StreamObserver<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.
Parameters | |
---|---|
Name | Description |
request |
CreateConnectivityTestRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteConnectivityTest(DeleteConnectivityTestRequest request, StreamObserver<Operation> responseObserver)
public void deleteConnectivityTest(DeleteConnectivityTestRequest request, StreamObserver<Operation> responseObserver)
Deletes a specific ConnectivityTest
.
Parameters | |
---|---|
Name | Description |
request |
DeleteConnectivityTestRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getConnectivityTest(GetConnectivityTestRequest request, StreamObserver<ConnectivityTest> responseObserver)
public void getConnectivityTest(GetConnectivityTestRequest request, StreamObserver<ConnectivityTest> responseObserver)
Gets the details of a specific Connectivity Test.
Parameters | |
---|---|
Name | Description |
request |
GetConnectivityTestRequest |
responseObserver |
io.grpc.stub.StreamObserver<ConnectivityTest> |
listConnectivityTests(ListConnectivityTestsRequest request, StreamObserver<ListConnectivityTestsResponse> responseObserver)
public void listConnectivityTests(ListConnectivityTestsRequest request, StreamObserver<ListConnectivityTestsResponse> responseObserver)
Lists all Connectivity Tests owned by a project.
Parameters | |
---|---|
Name | Description |
request |
ListConnectivityTestsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListConnectivityTestsResponse> |
rerunConnectivityTest(RerunConnectivityTestRequest request, StreamObserver<Operation> responseObserver)
public void rerunConnectivityTest(RerunConnectivityTestRequest request, StreamObserver<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
.
Parameters | |
---|---|
Name | Description |
request |
RerunConnectivityTestRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateConnectivityTest(UpdateConnectivityTestRequest request, StreamObserver<Operation> responseObserver)
public void updateConnectivityTest(UpdateConnectivityTestRequest request, StreamObserver<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.
Parameters | |
---|---|
Name | Description |
request |
UpdateConnectivityTestRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |