Class MeasurementSelectionType (1.158.0)
Stay organized with collections
Save and categorize content based on your preferences.
MeasurementSelectionType(value)
This indicates which measurement to use if/when the service
automatically selects the final measurement from previously reported
intermediate measurements. Choose this based on two considerations:
A) Do you expect your measurements to monotonically improve? If so,
choose LAST_MEASUREMENT. On the other hand, if you're in a situation
where your system can "over-train" and you expect the performance to
get better for a while but then start declining, choose
BEST_MEASUREMENT. B) Are your measurements significantly noisy
and/or irreproducible? If so, BEST_MEASUREMENT will tend to be
over-optimistic, and it may be better to choose LAST_MEASUREMENT. If
both or neither of (A) and (B) apply, it doesn't matter which
selection type is chosen.
Enums
Name
Description
MEASUREMENT_SELECTION_TYPE_UNSPECIFIED
Will be treated as LAST_MEASUREMENT.
LAST_MEASUREMENT
Use the last measurement reported.
BEST_MEASUREMENT
Use the best measurement reported.
Methods
MeasurementSelectionType
MeasurementSelectionType(value)
This indicates which measurement to use if/when the service
automatically selects the final measurement from previously reported
intermediate measurements. Choose this based on two considerations:
A) Do you expect your measurements to monotonically improve? If so,
choose LAST_MEASUREMENT. On the other hand, if you're in a situation
where your system can "over-train" and you expect the performance to
get better for a while but then start declining, choose
BEST_MEASUREMENT. B) Are your measurements significantly noisy
and/or irreproducible? If so, BEST_MEASUREMENT will tend to be
over-optimistic, and it may be better to choose LAST_MEASUREMENT. If
both or neither of (A) and (B) apply, it doesn't matter which
selection type is chosen.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-17 UTC."],[],[]]