Show / Hide Table of Contents

Class Dimension

A chart dimension. Dimensions are a structured label, class, or category for a set of measurements in your data.

Inheritance
object
Dimension
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.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class Dimension : IDirectResponseSchema

Properties

Column

Required. The name of the column in the source SQL query that is used to chart the dimension.

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

ColumnType

Optional. The type of the dimension column. This is relevant only if one of the bin_size fields is set. If it is empty, the type TIMESTAMP or INT64 will be assumed based on which bin_size field is set. If populated, this should be set to one of the following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC, INT64, NUMERIC, FLOAT64.

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

ETag

The ETag of the item.

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

FloatBinSize

Optional. float_bin_size is used when the column type used for a dimension is a floating point numeric column.

Declaration
[JsonProperty("floatBinSize")]
public virtual double? FloatBinSize { get; set; }
Property Value
Type Description
double?

MaxBinCount

A limit to the number of bins generated. When 0 is specified, the maximum count is not enforced.

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

NumericBinSize

numeric_bin_size is used when the column type used for a dimension is numeric or string.

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

SortColumn

The column name to sort on for binning. This column can be the same column as this dimension or any other column used as a measure in the results. If sort_order is set to NONE, then this value is not used.

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

SortOrder

The sort order applied to the sort column.

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

TimeBinSize

time_bin_size is used when the data type specified by column is a time type and the bin size is determined by a time duration. If column_type is DATE, this must be a whole value multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.

Declaration
[JsonProperty("timeBinSize")]
public virtual object TimeBinSize { get; set; }
Property Value
Type Description
object

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX