Show / Hide Table of Contents

Class SortSpec

A sort order associated with a specific column or row.

Inheritance
System.Object
SortSpec
Implements
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.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SortSpec : IDirectResponseSchema

Properties

BackgroundColor

The background fill color to sort by. Mutually exclusive with sorting by text color. Requests to set this field will fail with a 400 error if foreground color is also set.

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

DimensionIndex

The dimension the sort should be applied to.

Declaration
[JsonProperty("dimensionIndex")]
public virtual int? DimensionIndex { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ETag

The ETag of the item.

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

ForegroundColor

The text color to sort by. Mutually exclusive with sorting by background fill color. Requests to set this field will fail with a 400 error if background color is also set.

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

SortOrder

The order data should be sorted.

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

Implements

IDirectResponseSchema
Back to top