Google Cloud Quotas V1 Client - Class ListQuotaPreferencesRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Quotas V1 Client class ListQuotaPreferencesRequest.

Message for requesting list of QuotaPreferences

Generated from protobuf message google.api.cloudquotas.v1.ListQuotaPreferencesRequest

Namespace

Google \ Cloud \ CloudQuotas \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: projects/123/locations/global

↳ page_size int

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

↳ page_token string

Optional. A token identifying a page of results the server should return.

↳ filter string

Optional. Filter result QuotaPreferences by their state, type, create/update time range. Example filters: state=PENDING OR state=PENDING_PARTIALLY_GRANTED state=PENDING OR state=PENDING_PARTIALLY_GRANTED AND creation_time>2022-12-03T10:30:00 If no filter is provided, returns all pending quota preferences.

↳ order_by string

Optional. How to order of the results. By default, the results are ordered by create time. Example orders: type state, create_time

getParent

Required. Parent value of QuotaPreference resources.

Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: projects/123/locations/global

Returns
TypeDescription
string

setParent

Required. Parent value of QuotaPreference resources.

Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: projects/123/locations/global

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

Returns
TypeDescription
int

setPageSize

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A token identifying a page of results the server should return.

Returns
TypeDescription
string

setPageToken

Optional. A token identifying a page of results the server should return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: state=PENDING OR state=PENDING_PARTIALLY_GRANTED state=PENDING OR state=PENDING_PARTIALLY_GRANTED AND creation_time>2022-12-03T10:30:00 If no filter is provided, returns all pending quota preferences.

Returns
TypeDescription
string

setFilter

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: state=PENDING OR state=PENDING_PARTIALLY_GRANTED state=PENDING OR state=PENDING_PARTIALLY_GRANTED AND creation_time>2022-12-03T10:30:00 If no filter is provided, returns all pending quota preferences.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: type state, create_time

Returns
TypeDescription
string

setOrderBy

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: type state, create_time

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global Please see Google\Cloud\CloudQuotas\V1\CloudQuotasClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\CloudQuotas\V1\ListQuotaPreferencesRequest