Show / Hide Table of Contents

Class SortSpec

A sort order associated with a specific column or row.

Inheritance
object
SortSpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SortSpec : IDirectResponseSchema

Properties

BackgroundColor

The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color. Deprecated: Use background_color_style.

Declaration
[JsonProperty("backgroundColor")]
public virtual Color BackgroundColor { get; set; }
Property Value
Type Description
Color

BackgroundColorStyle

The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color, and must be an RGB-type color. If background_color is also set, this field takes precedence.

Declaration
[JsonProperty("backgroundColorStyle")]
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
Type Description
ColorStyle

DataSourceColumnReference

Reference to a data source column.

Declaration
[JsonProperty("dataSourceColumnReference")]
public virtual DataSourceColumnReference DataSourceColumnReference { get; set; }
Property Value
Type Description
DataSourceColumnReference

DimensionIndex

The dimension the sort should be applied to.

Declaration
[JsonProperty("dimensionIndex")]
public virtual int? DimensionIndex { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

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

ForegroundColor

The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color. Deprecated: Use foreground_color_style.

Declaration
[JsonProperty("foregroundColor")]
public virtual Color ForegroundColor { get; set; }
Property Value
Type Description
Color

ForegroundColorStyle

The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color, and must be an RGB-type color. If foreground_color is also set, this field takes precedence.

Declaration
[JsonProperty("foregroundColorStyle")]
public virtual ColorStyle ForegroundColorStyle { get; set; }
Property Value
Type Description
ColorStyle

SortOrder

The order data should be sorted.

Declaration
[JsonProperty("sortOrder")]
public virtual string SortOrder { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX