com.google.cloud.networkmanagement.v1
The interfaces provided are listed below, along with usage samples.
ReachabilityServiceClient
Service Description: 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.
Sample for ReachabilityServiceClient:
try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
String name = "name3373707";
ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(name);
}
com.google.cloud.networkmanagement.v1.stub
com.google.cloud.networkmanagement.v1beta1
The interfaces provided are listed below, along with usage samples.
ReachabilityServiceClient
Service Description: 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.
Sample for ReachabilityServiceClient:
try (ReachabilityServiceClient reachabilityServiceClient = ReachabilityServiceClient.create()) {
GetConnectivityTestRequest request =
GetConnectivityTestRequest.newBuilder().setName("name3373707").build();
ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(request);
}