Google Shopping Css V1 Client - Class QuotaGroup (0.6.2)

Reference documentation and code samples for the Google Shopping Css V1 Client class QuotaGroup.

The group information for methods in the CSS API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.

Generated from protobuf message google.shopping.css.v1.QuotaGroup

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Example: accounts/12345678/quotas/css-products-insert Note: The {group} part is not guaranteed to follow a specific pattern.

↳ quota_usage
int|string

Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.

↳ quota_limit
int|string

Output only. The maximum number of calls allowed per day for the group.

↳ quota_minute_limit
int|string

Output only. The maximum number of calls allowed per minute for the group.

↳ method_details
array< MethodDetails >

Output only. List of all methods group quota applies to.

getName

Identifier. The resource name of the quota group.

Format: accounts/{account}/quotas/{group} Example: accounts/12345678/quotas/css-products-insert Note: The {group} part is not guaranteed to follow a specific pattern.

Returns
Type
Description
string

setName

Identifier. The resource name of the quota group.

Format: accounts/{account}/quotas/{group} Example: accounts/12345678/quotas/css-products-insert Note: The {group} part is not guaranteed to follow a specific pattern.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getQuotaUsage

Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.

Returns
Type
Description
int|string

setQuotaUsage

Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getQuotaLimit

Output only. The maximum number of calls allowed per day for the group.

Returns
Type
Description
int|string

setQuotaLimit

Output only. The maximum number of calls allowed per day for the group.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getQuotaMinuteLimit

Output only. The maximum number of calls allowed per minute for the group.

Returns
Type
Description
int|string

setQuotaMinuteLimit

Output only. The maximum number of calls allowed per minute for the group.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getMethodDetails

Output only. List of all methods group quota applies to.

Returns
Type
Description

setMethodDetails

Output only. List of all methods group quota applies to.

Parameter
Name
Description
var
array< MethodDetails >
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: