Google Cloud Service Management V1 Client - Class ListServicesRequest (1.2.2)

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

Request message for ListServices method.

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ producer_project_id string

Include services produced by the specified project.

↳ page_size int

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

↳ page_token string

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

↳ consumer_id string

Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project:<project_id>

getProducerProjectId

Include services produced by the specified project.

Returns
TypeDescription
string

setProducerProjectId

Include services produced by the specified project.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

Returns
TypeDescription
int

setPageSize

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConsumerId

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>
Returns
TypeDescription
string

setConsumerId

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>
Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
producerProjectId string

Include services produced by the specified project.

consumerId string

Include services consumed by the specified consumer.

The Google Service Management implementation accepts the following forms:

  • project:<project_id>
Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\ListServicesRequest