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

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

setParent

Parent to search for services on.

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

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

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Only list services that conform to the given filter.

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

Returns
TypeDescription
string

setFilter

Only list services that conform to the given filter.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this