Constructor
new Aggregation(propertiesopt)
Constructs a new Aggregation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.monitoring.dashboard.v1.IAggregation |
<optional> |
Properties to set |
- Implements:
-
- IAggregation
Members
alignmentPeriod
Aggregation alignmentPeriod.
crossSeriesReducer
Aggregation crossSeriesReducer.
groupByFields
Aggregation groupByFields.
perSeriesAligner
Aggregation perSeriesAligner.
Aligner
Aligner enum.
Properties:
Name | Type | Description |
---|---|---|
ALIGN_NONE |
number |
ALIGN_NONE value |
ALIGN_DELTA |
number |
ALIGN_DELTA value |
ALIGN_RATE |
number |
ALIGN_RATE value |
ALIGN_INTERPOLATE |
number |
ALIGN_INTERPOLATE value |
ALIGN_NEXT_OLDER |
number |
ALIGN_NEXT_OLDER value |
ALIGN_MIN |
number |
ALIGN_MIN value |
ALIGN_MAX |
number |
ALIGN_MAX value |
ALIGN_MEAN |
number |
ALIGN_MEAN value |
ALIGN_COUNT |
number |
ALIGN_COUNT value |
ALIGN_SUM |
number |
ALIGN_SUM value |
ALIGN_STDDEV |
number |
ALIGN_STDDEV value |
ALIGN_COUNT_TRUE |
number |
ALIGN_COUNT_TRUE value |
ALIGN_COUNT_FALSE |
number |
ALIGN_COUNT_FALSE value |
ALIGN_FRACTION_TRUE |
number |
ALIGN_FRACTION_TRUE value |
ALIGN_PERCENTILE_99 |
number |
ALIGN_PERCENTILE_99 value |
ALIGN_PERCENTILE_95 |
number |
ALIGN_PERCENTILE_95 value |
ALIGN_PERCENTILE_50 |
number |
ALIGN_PERCENTILE_50 value |
ALIGN_PERCENTILE_05 |
number |
ALIGN_PERCENTILE_05 value |
ALIGN_PERCENT_CHANGE |
number |
ALIGN_PERCENT_CHANGE value |
Reducer
Reducer enum.
Properties:
Name | Type | Description |
---|---|---|
REDUCE_NONE |
number |
REDUCE_NONE value |
REDUCE_MEAN |
number |
REDUCE_MEAN value |
REDUCE_MIN |
number |
REDUCE_MIN value |
REDUCE_MAX |
number |
REDUCE_MAX value |
REDUCE_SUM |
number |
REDUCE_SUM value |
REDUCE_STDDEV |
number |
REDUCE_STDDEV value |
REDUCE_COUNT |
number |
REDUCE_COUNT value |
REDUCE_COUNT_TRUE |
number |
REDUCE_COUNT_TRUE value |
REDUCE_COUNT_FALSE |
number |
REDUCE_COUNT_FALSE value |
REDUCE_FRACTION_TRUE |
number |
REDUCE_FRACTION_TRUE value |
REDUCE_PERCENTILE_99 |
number |
REDUCE_PERCENTILE_99 value |
REDUCE_PERCENTILE_95 |
number |
REDUCE_PERCENTILE_95 value |
REDUCE_PERCENTILE_50 |
number |
REDUCE_PERCENTILE_50 value |
REDUCE_PERCENTILE_05 |
number |
REDUCE_PERCENTILE_05 value |
Methods
toJSON() → {Object.<string, *>}
Converts this Aggregation to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.monitoring.dashboard.v1.Aggregation}
Creates a new Aggregation instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.monitoring.dashboard.v1.IAggregation |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.monitoring.dashboard.v1.Aggregation |
Aggregation instance |
(static) decode(reader, lengthopt) → {google.monitoring.dashboard.v1.Aggregation}
Decodes an Aggregation message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Returns:
Type | Description |
---|---|
google.monitoring.dashboard.v1.Aggregation |
Aggregation |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.monitoring.dashboard.v1.Aggregation}
Decodes an Aggregation message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.monitoring.dashboard.v1.Aggregation |
Aggregation |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified Aggregation message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.monitoring.dashboard.v1.IAggregation |
Aggregation message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified Aggregation message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.monitoring.dashboard.v1.IAggregation |
Aggregation message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.monitoring.dashboard.v1.Aggregation}
Creates an Aggregation message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.monitoring.dashboard.v1.Aggregation |
Aggregation |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for Aggregation
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from an Aggregation message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.monitoring.dashboard.v1.Aggregation |
Aggregation |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies an Aggregation message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|