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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setProducerProjectId
Include services produced by the specified project.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
Token identifying which result to start with; returned by a previous list call.
Returns | |
---|---|
Type | Description |
string |
setPageToken
Token identifying which result to start with; returned by a previous list call.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConsumerId
Include services consumed by the specified consumer.
The Google Service Management implementation accepts the following forms:
- project:<project_id>
Returns | |
---|---|
Type | Description |
string |
setConsumerId
Include services consumed by the specified consumer.
The Google Service Management implementation accepts the following forms:
- project:<project_id>
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
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:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\ServiceManagement\V1\ListServicesRequest |