Aggregation

google.monitoring.v3. Aggregation

Represents an Aggregation.

Constructor

new Aggregation(propertiesopt)

Constructs a new Aggregation.

Parameters:
Name Type Attributes Description
properties google.monitoring.v3.IAggregation <optional>

Properties to set

Implements:
  • IAggregation

Members

(static) Aligner :number

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

(static) Reducer :number

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

alignmentPeriod :google.protobuf.IDuration|null|undefined

Aggregation alignmentPeriod.

crossSeriesReducer :google.monitoring.v3.Aggregation.Reducer

Aggregation crossSeriesReducer.

groupByFields :Array.<string>

Aggregation groupByFields.

perSeriesAligner :google.monitoring.v3.Aggregation.Aligner

Aggregation perSeriesAligner.

Methods

(static) create(propertiesopt) → {google.monitoring.v3.Aggregation}

Creates a new Aggregation instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.monitoring.v3.IAggregation <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.monitoring.v3.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

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.v3.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

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.v3.IAggregation

Aggregation message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(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.v3.IAggregation

Aggregation message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.monitoring.v3.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

(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.v3.Aggregation

Aggregation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies an Aggregation message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this Aggregation to JSON.