Skip to main content

network_paths

Creates, updates, deletes, gets or lists a network_paths resource.

Overview

Namenetwork_paths
TypeResource
Idgoogle.networkmanagement.network_paths

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path}
createTimestring (google-datetime)Output only. The time the NetworkPath was created.
destinationstringOutput only. IP address or hostname of the network path destination.
destinationGeoLocationobjectOutput only. Geographical location of the destination MonitoringPoint. ; (id: GeoLocation)
displayNamestringOutput only. The display name of the network path.
dualEndedbooleanOutput only. Indicates if the network path is dual ended. When true, the network path is measured both: from both source to destination, and from destination to source. When false, the network path is measured from the source through the destination back to the source (round trip measurement).
monitoringEnabledbooleanOutput only. Is monitoring enabled for the network path.
monitoringPolicyDisplayNamestringOutput only. Display name of the monitoring policy.
monitoringPolicyIdstringOutput only. ID of monitoring policy.
monitoringStatusstringOutput only. The monitoring status of the network path.
networkProtocolstringOutput only. The network protocol of the network path.
providerTagsarrayOutput only. The provider tags of the network path.
providerUiUristringOutput only. Link to provider's UI; link shows the NetworkPath.
sourceMonitoringPointIdstringOutput only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource in the GCP.
updateTimestring (google-datetime)Output only. The time the NetworkPath was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, networkMonitoringProvidersId, networkPathsIdGets the NetworkPath resource.
listselectprojectsId, locationsId, networkMonitoringProvidersIdpageSize, pageTokenLists NetworkPaths for a given network monitoring provider.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
networkMonitoringProvidersIdstring
networkPathsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets the NetworkPath resource.

SELECT
name,
createTime,
destination,
destinationGeoLocation,
displayName,
dualEnded,
monitoringEnabled,
monitoringPolicyDisplayName,
monitoringPolicyId,
monitoringStatus,
networkProtocol,
providerTags,
providerUiUri,
sourceMonitoringPointId,
updateTime
FROM google.networkmanagement.network_paths
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND networkMonitoringProvidersId = '{{ networkMonitoringProvidersId }}' -- required
AND networkPathsId = '{{ networkPathsId }}' -- required;