Class Dimension
A chart dimension. Dimensions are a structured label, class, or category for a set of measurements in your data.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class Dimension : IDirectResponseSchema
Properties
Column
Required. For widgets that use SQL queries, set the value to the name of the column in the results table whose data is charted. For a histogram that uses a time series query, set the value of this field to metric_value.
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
For widgets that use SQL queries, the limit to the number of bins to generate. When 0 is specified, the maximum count is not enforced. For a histogram that uses a time series query, the exact number of bins to generate. If not specified or the value is 0, then the histogram determines the number of bins to use.
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. If the column field is set to metric_value, then numericBinSize overrides maxBinCount.
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 of the specified dimension 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 |