Google Cloud Network Connectivity V1 Client - Class ListServiceClassesRequest (2.2.0)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListServiceClassesRequest.

Request for ListServiceClasses.

Generated from protobuf message google.cloud.networkconnectivity.v1.ListServiceClassesRequest

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource's name. ex. projects/123/locations/us-east1

↳ page_size int

The maximum number of results per page that should be returned.

↳ page_token string

The page token.

↳ filter string

A filter expression that filters the results listed in the response.

↳ order_by string

Sort the results by a certain order.

getParent

Required. The parent resource's name. ex. projects/123/locations/us-east1

Returns
Type Description
string

setParent

Required. The parent resource's name. ex. projects/123/locations/us-east1

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of results per page that should be returned.

Returns
Type Description
int

setPageSize

The maximum number of results per page that should be returned.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The page token.

Returns
Type Description
string

setPageToken

The page token.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

A filter expression that filters the results listed in the response.

Returns
Type Description
string

setFilter

A filter expression that filters the results listed in the response.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Sort the results by a certain order.

Returns
Type Description
string

setOrderBy

Sort the results by a certain order.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent resource's name. ex. projects/123/locations/us-east1 Please see CrossNetworkAutomationServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListServiceClassesRequest