NetworkManagement
import { NetworkManagement } from "https://googleapis.deno.dev/v1/networkmanagement:v1.ts";
The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.
§Methods
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.
Required. The parent resource of the Connectivity Test to create: projects/{project_id}/locations/global
Gets the details of a specific Connectivity Test.
Required. ConnectivityTest
resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists all Connectivity Tests owned by a project.
Required. The parent resource of the Connectivity Tests: projects/{project_id}/locations/global
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 UNKNOWN. If the endpoint
specifications in ConnectivityTest
are incomplete, the reachability
result returns a value of AMBIGUOUS
. See the documentation in
ConnectivityTest
for more details.
Identifier. Unique name of the resource using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}
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
.
Required. Connectivity Test resource name using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.