Class ScheduledQueryRecentlyFailedRun


  • public final class ScheduledQueryRecentlyFailedRun
    extends java.lang.Object
    • Method Detail

      • failureReason

        public java.util.Optional<java.lang.String> failureReason()
        Returns:
        Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
      • invocationTime

        public java.util.Optional<java.lang.String> invocationTime()
        Returns:
        InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter `@scheduled_runtime` can be used in the query to get the value.
      • queryInsightsResponses

        public java.util.List<ScheduledQueryRecentlyFailedRunQueryInsightsResponse> queryInsightsResponses()
        Returns:
        Various insights and metrics related to the run summary of the scheduled query. See `recently_failed_runs.query_insights_response` Block for details.
      • runStatus

        public java.util.Optional<java.lang.String> runStatus()
        Returns:
        Status of a scheduled query run. Valid values: `AUTO_TRIGGER_SUCCESS`, `AUTO_TRIGGER_FAILURE`, `MANUAL_TRIGGER_SUCCESS`, `MANUAL_TRIGGER_FAILURE`.
      • triggerTime

        public java.util.Optional<java.lang.String> triggerTime()
        Returns:
        Actual time when the query was run.