projects

GET /v1/projects/{projectsId}/locations/global/connectivityTests

Lists all Connectivity Tests owned by a project.

Request

  • Base URL
    https://networkmanagement.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

filter, string

Optional. Lists the ConnectivityTests that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form where operators: <, >, <=, >=, !=, =, : are supported (colon : represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called foo labels.foo:* - Resources that have a key called foo whose value is bar labels.foo = bar

orderBy, string

Optional. Field to use to sort the list.

pageSize, integer

Optional. Number of ConnectivityTests to return.

pageToken, string

Optional. Page token from an earlier query, as returned in next_page_token.

Response

Successful response

ListConnectivityTestsResponse required

Response for the ListConnectivityTests method.

nextPageToken, string

Page token to fetch the next set of Connectivity Tests.

resources, ConnectivityTest[]

List of Connectivity Tests.

unreachable, string[]

Locations that could not be reached (when querying all locations with -).

Changes

No recorded changes to this operation across all 5 revisions of this API.