Class Region
Represents a geographic region that you can use as a target with both the
RegionalInventory
and ShippingSettings
services. You can define regions
as collections of either postal codes or, in some countries, using predefined
geotargets. For more information, see Set up regions
for more information.
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class Region : IMessage<Region>, IEquatable<Region>, IDeepCloneable<Region>, IBufferMessage, IMessage
Constructors
Region()
Declaration
public Region()
Region(Region)
Declaration
public Region(Region other)
Parameters
Type | Name | Description |
---|---|---|
Region | other |
Properties
DisplayName
Optional. The display name of the region.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
GeotargetArea
Optional. A list of geotargets that defines the region area.
Declaration
public Region.Types.GeoTargetArea GeotargetArea { get; set; }
Property Value
Type | Description |
---|---|
Region.Types.GeoTargetArea |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
Type | Description |
---|---|
bool |
Name
Identifier. The resource name of the region.
Format: accounts/{account}/regions/{region}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PostalCodeArea
Optional. A list of postal codes that defines the region area.
Declaration
public Region.Types.PostalCodeArea PostalCodeArea { get; set; }
Property Value
Type | Description |
---|---|
Region.Types.PostalCodeArea |
RegionName
RegionName-typed view over the Name resource name property.
Declaration
public RegionName RegionName { get; set; }
Property Value
Type | Description |
---|---|
RegionName |
RegionalInventoryEligible
Output only. Indicates if the region is eligible for use in the Regional Inventory configuration.
Declaration
public bool? RegionalInventoryEligible { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ShippingEligible
Output only. Indicates if the region is eligible for use in the Shipping Services configuration.
Declaration
public bool? ShippingEligible { get; set; }
Property Value
Type | Description |
---|---|
bool? |