Show / Hide Table of Contents

Class Headers

A non-empty list of row or column headers for a table. Exactly one of prices, weights, numItems, postalCodeGroupNames, or location must be set.

Inheritance
System.Object
Headers
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class Headers : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Locations

A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

Declaration
[JsonProperty("locations")]
public virtual IList<LocationIdSet> Locations { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<LocationIdSet>

NumberOfItems

A list of inclusive number of items upper bounds. The last value can be &quot;infinity&quot;. For example [&quot;10&quot;, &quot;50&quot;, &quot;infinity&quot;] represents the headers "&lt;= 10 items", "&lt;= 50 items", and "&gt; 50 items". Must be non-empty. Can only be set if all other fields are not set.

Declaration
[JsonProperty("numberOfItems")]
public virtual IList<string> NumberOfItems { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

PostalCodeGroupNames

A list of postal group names. The last value can be &quot;all other locations&quot;. Example: [&quot;zone 1&quot;, &quot;zone 2&quot;, &quot;all other locations&quot;]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.

Declaration
[JsonProperty("postalCodeGroupNames")]
public virtual IList<string> PostalCodeGroupNames { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Prices

A list of inclusive order price upper bounds. The last price's value can be &quot;infinity&quot;. For example [{&quot;value&quot;: &quot;10&quot;, &quot;currency&quot;: &quot;USD&quot;}, {&quot;value&quot;: &quot;500&quot;, &quot;currency&quot;: &quot;USD&quot;}, {&quot;value&quot;: &quot;infinity&quot;, &quot;currency&quot;: &quot;USD&quot;}] represents the headers "&lt;= $10", "&lt;= $500", and "&gt; $500". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.

Declaration
[JsonProperty("prices")]
public virtual IList<Price> Prices { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Price>

Weights

A list of inclusive order weight upper bounds. The last weight's value can be &quot;infinity&quot;. For example [{&quot;value&quot;: &quot;10&quot;, &quot;unit&quot;: &quot;kg&quot;}, {&quot;value&quot;: &quot;50&quot;, &quot;unit&quot;: &quot;kg&quot;}, {&quot;value&quot;: &quot;infinity&quot;, &quot;unit&quot;: &quot;kg&quot;}] represents the headers "&lt;= 10kg", "&lt;= 50kg", and "&gt; 50kg". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.

Declaration
[JsonProperty("weights")]
public virtual IList<Weight> Weights { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Weight>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top