Google Cloud Service Usage V1 Client - Class ListServicesRequest (2.0.2)

Reference documentation and code samples for the Google Cloud Service Usage V1 Client class ListServicesRequest.

Request message for the ListServices method.

Generated from protobuf message google.api.serviceusage.v1.ListServicesRequest

Namespace

Google \ Cloud \ ServiceUsage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Parent to search for services on. An example name would be: projects/123 where 123 is the project number.

↳ page_size int

Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.

↳ page_token string

Token identifying which result to start with, which is returned by a previous list call.

↳ filter string

Only list services that conform to the given filter. The allowed filter strings are state:ENABLED and state:DISABLED.

getParent

Parent to search for services on.

An example name would be: projects/123 where 123 is the project number.

Returns
Type Description
string

setParent

Parent to search for services on.

An example name would be: projects/123 where 123 is the project number.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Requested size of the next page of data.

Requested page size cannot exceed 200. If not set, the default page size is 50.

Returns
Type Description
int

setPageSize

Requested size of the next page of data.

Requested page size cannot exceed 200. If not set, the default page size is 50.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Token identifying which result to start with, which is returned by a previous list call.

Returns
Type Description
string

setPageToken

Token identifying which result to start with, which is returned by a previous list call.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Only list services that conform to the given filter.

The allowed filter strings are state:ENABLED and state:DISABLED.

Returns
Type Description
string

setFilter

Only list services that conform to the given filter.

The allowed filter strings are state:ENABLED and state:DISABLED.

Parameter
Name Description
var string
Returns
Type Description
$this