Show / Hide Table of Contents

Class FilterView

A filter view.

Inheritance
object
FilterView
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 FilterView : IDirectResponseSchema

Properties

Criteria

The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.

Declaration
[JsonProperty("criteria")]
public virtual IDictionary<string, FilterCriteria> Criteria { get; set; }
Property Value
Type Description
IDictionary<string, FilterCriteria>

ETag

The ETag of the item.

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

FilterSpecs

The filter criteria for showing/hiding values per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.

Declaration
[JsonProperty("filterSpecs")]
public virtual IList<FilterSpec> FilterSpecs { get; set; }
Property Value
Type Description
IList<FilterSpec>

FilterViewId

The ID of the filter view.

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

NamedRangeId

The named range this filter view is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.

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

Range

The range this filter view covers. When writing, only one of range or named_range_id or table_id may be set.

Declaration
[JsonProperty("range")]
public virtual GridRange Range { get; set; }
Property Value
Type Description
GridRange

SortSpecs

The sort order per column. Later specifications are used when values are equal in the earlier specifications.

Declaration
[JsonProperty("sortSpecs")]
public virtual IList<SortSpec> SortSpecs { get; set; }
Property Value
Type Description
IList<SortSpec>

TableId

The table this filter view is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.

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

Title

The name of the filter view.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX