Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Region.
Represents a geographic region that you can use as a target with both theRegionalInventoryandShippingSettingsservices. You can define regions
as collections of either postal codes or, in some countries, using predefined
geotargets. For more information, seeSet up regionsfor more information.
Generated from protobuf messagegoogle.shopping.merchant.accounts.v1.Region
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the region. Format:accounts/{account}/regions/{region}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Shopping Merchant Accounts V1 Client - Class Region (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1.Region)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1.Region)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1.Region)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1.Region)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1.Region)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1.Region)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1.Region)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1.Region)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1.Region)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1.Region)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1.Region) \nReference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Region.\n\nRepresents a geographic region that you can use as a target with both the\n`RegionalInventory` and `ShippingSettings` services. You can define regions\nas collections of either postal codes or, in some countries, using predefined\ngeotargets. For more information, see [Set up regions](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region)\nfor more information.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1.Region`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the region.\n\nFormat: `accounts/{account}/regions/{region}`\n\n### setName\n\nIdentifier. The resource name of the region.\n\nFormat: `accounts/{account}/regions/{region}`\n\n### getDisplayName\n\nOptional. The display name of the region.\n\n### hasDisplayName\n\n### clearDisplayName\n\n### setDisplayName\n\nOptional. The display name of the region.\n\n### getPostalCodeArea\n\nOptional. A list of postal codes that defines the region area.\n\n### hasPostalCodeArea\n\n### clearPostalCodeArea\n\n### setPostalCodeArea\n\nOptional. A list of postal codes that defines the region area.\n\n### getGeotargetArea\n\nOptional. A list of geotargets that defines the region area.\n\n### hasGeotargetArea\n\n### clearGeotargetArea\n\n### setGeotargetArea\n\nOptional. A list of geotargets that defines the region area.\n\n### getRegionalInventoryEligible\n\nOutput only. Indicates if the region is eligible for use in the Regional\nInventory configuration.\n\n### hasRegionalInventoryEligible\n\n### clearRegionalInventoryEligible\n\n### getRegionalInventoryEligibleUnwrapped\n\nReturns the unboxed value from `getRegionalInventoryEligible()`\n\nOutput only. Indicates if the region is eligible for use in the Regional\nInventory configuration.\n\n### setRegionalInventoryEligible\n\nOutput only. Indicates if the region is eligible for use in the Regional\nInventory configuration.\n\n### setRegionalInventoryEligibleUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nOutput only. Indicates if the region is eligible for use in the Regional\nInventory configuration.\n\n### getShippingEligible\n\nOutput only. Indicates if the region is eligible for use in the Shipping\nServices configuration.\n\n### hasShippingEligible\n\n### clearShippingEligible\n\n### getShippingEligibleUnwrapped\n\nReturns the unboxed value from `getShippingEligible()`\n\nOutput only. Indicates if the region is eligible for use in the Shipping\nServices configuration.\n\n### setShippingEligible\n\nOutput only. Indicates if the region is eligible for use in the Shipping\nServices configuration.\n\n### setShippingEligibleUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nOutput only. Indicates if the region is eligible for use in the Shipping\nServices configuration."]]