Google Shopping Merchant Quota V1beta Client - Class QuotaGroup (0.1.5)

Reference documentation and code samples for the Google Shopping Merchant Quota V1beta Client class QuotaGroup.

The group information for methods in the Merchant 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.merchant.quota.v1beta.QuotaGroup

Namespace

Google \ Shopping \ Merchant \ Quota \ V1beta

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} Note: There is no guarantee on the format of {group}

↳ 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} Note: There is no guarantee on the format of {group}

Returns
Type Description
string

setName

Identifier. The resource name of the quota group.

Format: accounts/{account}/quotas/{group} Note: There is no guarantee on the format of {group}

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
Google\Protobuf\Internal\RepeatedField

setMethodDetails

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

Parameter
Name Description
var array<MethodDetails>
Returns
Type Description
$this