Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class ListServicesRequest.
Message for requesting list of Services
Generated from protobuf message google.cloud.commerceproducer.v1beta.ListServicesRequest
Namespace
Google \ Cloud \ CommerceProducer \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent value for ListServicesRequest |
↳ page_size |
int
Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum. |
↳ page_token |
string
Optional. A token identifying a page of results the server should return. |
getParent
Required. Parent value for ListServicesRequest
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Parent value for ListServicesRequest
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500.
If unspecified, the server will default to the maximum.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500.
If unspecified, the server will default to the maximum.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. A token identifying a page of results the server should return.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. A token identifying a page of results the server should return.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. Parent value for ListServicesRequest Please see CommerceTransactionClient::locationName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
ListServicesRequest |
|