- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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
AMBIGUOUS
. For more information, see the Connectivity Test documentation.
HTTP request
POST https://networkmanagement.googleapis.com/v1beta1/{parent=projects/*/locations/global}/connectivityTests
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the Connectivity Test to create: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
test |
Required. The logical name of the Connectivity Test in your project with the following restrictions:
|
Request body
The request body contains an instance of ConnectivityTest
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.