Reference documentation and code samples for the Google Shopping Merchant Inventories V1 Client class RegionalInventory.
Regional inventory information for the product. Represents specific
information like price and availability for a given product in a specific region
.
For a list of all accepted attribute values, see the regional product inventory data specification .
Generated from protobuf message google.shopping.merchant.inventories.v1.RegionalInventory
Namespace
Google \ Shopping \ Merchant \ Inventories \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the RegionalInventory
resource. Format: {regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
↳ account
int|string
Output only. The account that owns the product. This field will be ignored if set by the client.
↳ region
string
Required. Immutable. ID of the region for this RegionalInventory
resource. See the Regional availability and pricing
for more details.
↳ regional_inventory_attributes
getName
Output only. The name of the RegionalInventory
resource.
Format: {regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
string
setName
Output only. The name of the RegionalInventory
resource.
Format: {regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
var
string
$this
getAccount
Output only. The account that owns the product. This field will be ignored if set by the client.
int|string
setAccount
Output only. The account that owns the product. This field will be ignored if set by the client.
var
int|string
$this
getRegion
Required. Immutable. ID of the region for this RegionalInventory
resource. See the Regional availability and
pricing
for more
details.
string
setRegion
Required. Immutable. ID of the region for this RegionalInventory
resource. See the Regional availability and
pricing
for more
details.
var
string
$this
getRegionalInventoryAttributes
Optional. A list of regional inventory attributes.
hasRegionalInventoryAttributes
clearRegionalInventoryAttributes
setRegionalInventoryAttributes
Optional. A list of regional inventory attributes.
$this

