Google Shopping Merchant Quota V1 Client - Class AccountLimit (1.2.0)

Reference documentation and code samples for the Google Shopping Merchant Quota V1 Client class AccountLimit.

A limit of a certain type that is applied to an account.

Generated from protobuf message google.shopping.merchant.quota.v1.AccountLimit

Namespace

Google \ Shopping \ Merchant \ Quota \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ products ProductLimit

The limit for products.

↳ name string

Identifier. The limit part of the name will be a combination of the type and the scope. For example: accounts/123/limits/products~ADS_NON_EEA Format: accounts/{account}/limits/{limit}

getProducts

The limit for products.

Returns
Type Description
ProductLimit|null

hasProducts

setProducts

The limit for products.

Parameter
Name Description
var ProductLimit
Returns
Type Description
$this

getName

Identifier. The limit part of the name will be a combination of the type and the scope. For example: accounts/123/limits/products~ADS_NON_EEA Format: accounts/{account}/limits/{limit}

Returns
Type Description
string

setName

Identifier. The limit part of the name will be a combination of the type and the scope. For example: accounts/123/limits/products~ADS_NON_EEA Format: accounts/{account}/limits/{limit}

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Returns
Type Description
string