Reference documentation and code samples for the Google Shopping Merchant Inventories V1beta Client class InsertRegionalInventoryRequest.
Request message for the InsertRegionalInventory
method.
Generated from protobuf message google.shopping.merchant.inventories.v1beta.InsertRegionalInventoryRequest
Namespace
Google \ Shopping \ Merchant \ Inventories \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The account and product where this inventory will be inserted. Format: |
↳ regional_inventory |
Google\Shopping\Merchant\Inventories\V1beta\RegionalInventory
Required. Regional inventory information to add to the product. If the product already has a |
getParent
Required. The account and product where this inventory will be inserted.
Format: accounts/{account}/products/{product}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The account and product where this inventory will be inserted.
Format: accounts/{account}/products/{product}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRegionalInventory
Required. Regional inventory information to add to the product. If the
product already has a RegionalInventory
resource for the same region
,
full replacement of the RegionalInventory
resource is performed.
Returns | |
---|---|
Type | Description |
Google\Shopping\Merchant\Inventories\V1beta\RegionalInventory|null |
hasRegionalInventory
clearRegionalInventory
setRegionalInventory
Required. Regional inventory information to add to the product. If the
product already has a RegionalInventory
resource for the same region
,
full replacement of the RegionalInventory
resource is performed.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Merchant\Inventories\V1beta\RegionalInventory
|
Returns | |
---|---|
Type | Description |
$this |