Google Cloud Network Management V1 Client - Class ListConnectivityTestsRequest (1.3.0)

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
NameDescription
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
TypeDescription
string

setParent

Required. The parent resource of the Connectivity Tests: projects/{project_id}/locations/global

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Number of ConnectivityTests to return.

Returns
TypeDescription
int

setPageSize

Number of ConnectivityTests to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Field to use to sort the list.

Returns
TypeDescription
string

setOrderBy

Field to use to sort the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent resource of the Connectivity Tests: projects/{project_id}/locations/global

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\ListConnectivityTestsRequest