Reference documentation and code samples for the Google Cloud Network Management V1 Client class ListConnectivityTestsRequest.
Request for the ListConnectivityTests method.
Generated from protobuf message google.cloud.networkmanagement.v1.ListConnectivityTestsRequest
Namespace
Google \ Cloud \ NetworkManagement \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource of the Connectivity Tests: projects/{project_id}/locations/global
↳ page_size
int
Number of ConnectivityTests to return.
↳ page_token
string
Page token from an earlier query, as returned in next_page_token.
↳ filter
string
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 <field> <operator> <value> where operators: <, >, <=, >=, !=, =, : are supported (colon : represents a HAS operator which is roughly synonymous with equality).
↳ order_by
string
Field to use to sort the list.
getParent
Required. The parent resource of the Connectivity Tests:
projects/{project_id}/locations/global
Returns
Type
Description
string
setParent
Required. The parent resource of the Connectivity Tests:
projects/{project_id}/locations/global
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Number of ConnectivityTests to return.
Returns
Type
Description
int
setPageSize
Number of ConnectivityTests to return.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Page token from an earlier query, as returned in next_page_token.
Returns
Type
Description
string
setPageToken
Page token from an earlier query, as returned in next_page_token.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
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 <field> <operator> <value> where operators: <, >,
<=,
>=,
!=, =, : are supported (colon : represents a HAS operator which is
roughly synonymous with equality).
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
Returns
Type
Description
string
setFilter
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 <field> <operator> <value> where operators: <, >,
<=,
>=,
!=, =, : are supported (colon : represents a HAS operator which is
roughly synonymous with equality).
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
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOrderBy
Field to use to sort the list.
Returns
Type
Description
string
setOrderBy
Field to use to sort the list.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent resource of the Connectivity Tests:
projects/{project_id}/locations/global
Please see ReachabilityServiceClient::projectName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Management V1 Client - Class ListConnectivityTestsRequest (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-network-management/latest/V1.ListConnectivityTestsRequest)\n- [2.4.2](/php/docs/reference/cloud-network-management/2.4.2/V1.ListConnectivityTestsRequest)\n- [2.3.2](/php/docs/reference/cloud-network-management/2.3.2/V1.ListConnectivityTestsRequest)\n- [2.2.1](/php/docs/reference/cloud-network-management/2.2.1/V1.ListConnectivityTestsRequest)\n- [2.1.1](/php/docs/reference/cloud-network-management/2.1.1/V1.ListConnectivityTestsRequest)\n- [2.0.1](/php/docs/reference/cloud-network-management/2.0.1/V1.ListConnectivityTestsRequest)\n- [1.7.3](/php/docs/reference/cloud-network-management/1.7.3/V1.ListConnectivityTestsRequest)\n- [1.5.0](/php/docs/reference/cloud-network-management/1.5.0/V1.ListConnectivityTestsRequest)\n- [1.4.2](/php/docs/reference/cloud-network-management/1.4.2/V1.ListConnectivityTestsRequest)\n- [1.3.0](/php/docs/reference/cloud-network-management/1.3.0/V1.ListConnectivityTestsRequest)\n- [1.2.0](/php/docs/reference/cloud-network-management/1.2.0/V1.ListConnectivityTestsRequest)\n- [1.1.1](/php/docs/reference/cloud-network-management/1.1.1/V1.ListConnectivityTestsRequest)\n- [1.0.5](/php/docs/reference/cloud-network-management/1.0.5/V1.ListConnectivityTestsRequest) \nReference documentation and code samples for the Google Cloud Network Management V1 Client class ListConnectivityTestsRequest.\n\nRequest for the `ListConnectivityTests` method.\n\nGenerated from protobuf message `google.cloud.networkmanagement.v1.ListConnectivityTestsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent resource of the Connectivity Tests:\n`projects/{project_id}/locations/global`\n\n### setParent\n\nRequired. The parent resource of the Connectivity Tests:\n`projects/{project_id}/locations/global`\n\n### getPageSize\n\nNumber of `ConnectivityTests` to return.\n\n### setPageSize\n\nNumber of `ConnectivityTests` to return.\n\n### getPageToken\n\nPage token from an earlier query, as returned in `next_page_token`.\n\n### setPageToken\n\nPage token from an earlier query, as returned in `next_page_token`.\n\n### getFilter\n\nLists the `ConnectivityTests` that match the filter expression. A filter\nexpression filters the resources listed in the response. The expression\nmust be of the form `\u003cfield\u003e \u003coperator\u003e \u003cvalue\u003e` where operators: `\u003c`, `\u003e`,\n`\u003c=`,\n`\u003e=`,\n`!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is\nroughly synonymous with equality).\n\n\nExamples:\n\n- Filter by name: name = \"projects/proj-1/locations/global/connectivityTests/test-1\n- Filter by labels:\n - Resources that have a key called `foo` labels.foo:\\*\n - Resources that have a key called `foo` whose value is `bar` labels.foo = bar\n\n### setFilter\n\nLists the `ConnectivityTests` that match the filter expression. A filter\nexpression filters the resources listed in the response. The expression\nmust be of the form `\u003cfield\u003e \u003coperator\u003e \u003cvalue\u003e` where operators: `\u003c`, `\u003e`,\n`\u003c=`,\n`\u003e=`,\n`!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is\nroughly synonymous with equality).\n\n\nExamples:\n\n- Filter by name: name = \"projects/proj-1/locations/global/connectivityTests/test-1\n- Filter by labels:\n - Resources that have a key called `foo` labels.foo:\\*\n - Resources that have a key called `foo` whose value is `bar` labels.foo = bar\n\n### getOrderBy\n\nField to use to sort the list.\n\n### setOrderBy\n\nField to use to sort the list.\n\n### static::build"]]