Retriggers a completed metric calculation. This will invalidate the results of the existing calculation and replace with the new results. Can only be done if the current calculation is completed and not already retriggered. Returns the new metric calculation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The body is of type object.
OK
Represents the calculation of a metric for a specific time window.
The metric to calculate.
Start time of the calculation in terms of exposure.
The iteration of the schedule that this calculation belongs to.
Info about the start / end timestamps used for the calculation
Time when the metric calculation was first created.
Time when the metric calculation was last updated.
Reference to the identity that created this metric calculation.
Reference to the identity that last updated this metric calculation.
Unique identifier of the metric calculation.
For example: metricCalculations/0smva5nxuhv4yts6paxt
End time of the calculation in terms of facts. Must be set if exposure_end_time is not set, if exposure_end_time is set, this field will be set to the inferred fact end time.
End time of the calculation based on exposure, the final end time of the calculation will be set to the inferred fact end time.
Current state of the calculation.
Holds the results of the metric calculate when completed.
Resource reference to the schedule if the calculation originated from a schedule.
Resource name of the corresponding job that performs the calculation.
Set if the metric calculation has been replaced by a newer calculation, occurs for example when parameters of the metric changes.
The warehouse-specific query that is used to perform the calculation.
Set if this metric calculation replaced an older metric calculation.
Determines whether this calculation overlaps with a retriggered range
If the underlying tables changed for the queried values since running the calculation, this contains information about what changed and where.
Descriptive error if the calculation failed.
Custom labels for this metric calculation.
The owner of the resource. If not set will default to the creator.