Show / Hide Table of Contents

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, radius areas or, in some countries, using predefined geotargets.

A region must be defined by specifying exactly one of postal_code_area, geotarget_area, or radius_area.

For more information, see Set up regions for more information.

Inheritance
object
Region
Implements
IMessage<Region>
IEquatable<Region>
IDeepCloneable<Region>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.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

RadiusArea

Optional. A radius area that defines the region area.

Declaration
public Region.Types.RadiusArea RadiusArea { get; set; }
Property Value
Type Description
Region.Types.RadiusArea

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?
In this article
Back to top Generated by DocFX