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
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
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.
Creates a new VpcFlowLogsConfig
. If a configuration with the exact same
settings already exists (even if the ID is different), the creation fails.
Notes: 1. Creating a configuration with state=DISABLED
will fail 2. The
following fields are not considered as settings for the purpose of the
check mentioned above, therefore - creating another configuration with the
same fields but different values for the following fields will fail as
well: * name * create_time * update_time * labels * description
Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: projects/{project_id}/locations/global
- For organization-level resources: organizations/{organization_id}/locations/global
Deletes a specific VpcFlowLogsConfig
.
Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For an organization-level resource: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Gets the details of a specific VpcFlowLogsConfig
.
Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Lists all VpcFlowLogsConfigs
in a given organization.
Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: projects/{project_id}/locations/global
- For organization-level resources: organizations/{organization_id}/locations/global
Updates an existing VpcFlowLogsConfig
. If a configuration with the exact
same settings already exists (even if the ID is different), the creation
fails. Notes: 1. Updating a configuration with state=DISABLED
will fail
2. The following fields are not considered as settings for the purpose of
the check mentioned above, therefore - updating another configuration with
the same fields but different values for the following fields will fail as
well: * name * create_time * update_time * labels * description
Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For organization-level configurations: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
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.
Creates a NetworkMonitoringProvider resource.
Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location}
Deletes a NetworkMonitoringProvider resource and all of its child resources.
Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
Gets the NetworkMonitoringProvider resource.
Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
Lists NetworkMonitoringProviders for a given project and location.
Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: projects/{project}/locations/{location}
Gets the MonitoringPoint resource.
Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}
Lists MonitoringPoints for a given network monitoring provider.
Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
Gets the NetworkPath resource.
Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path}
Lists NetworkPaths for a given network monitoring provider.
Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
Lists WebPaths for a given network monitoring provider.
Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
Creates a new VpcFlowLogsConfig
. If a configuration with the exact same
settings already exists (even if the ID is different), the creation fails.
Notes: 1. Creating a configuration with state=DISABLED
will fail 2. The
following fields are not considered as settings for the purpose of the
check mentioned above, therefore - creating another configuration with the
same fields but different values for the following fields will fail as
well: * name * create_time * update_time * labels * description
Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: projects/{project_id}/locations/global
- For organization-level resources: organizations/{organization_id}/locations/global
Deletes a specific VpcFlowLogsConfig
.
Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For an organization-level resource: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Gets the details of a specific VpcFlowLogsConfig
.
Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
Lists all VpcFlowLogsConfigs
in a given project.
Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: projects/{project_id}/locations/global
- For organization-level resources: organizations/{organization_id}/locations/global
Updates an existing VpcFlowLogsConfig
. If a configuration with the exact
same settings already exists (even if the ID is different), the creation
fails. Notes: 1. Updating a configuration with state=DISABLED
will fail.
2. The following fields are not considered as settings for the purpose of
the check mentioned above, therefore - updating another configuration with
the same fields but different values for the following fields will fail as
well: * name * create_time * update_time * labels * description
Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
- For organization-level configurations: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project.
Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: projects/{project_id}/locations/global
ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource.
Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: projects/{project_id}/locations/global