Stripe.Resources.Sigma.ScheduledQueryRun (tiger_stripe v0.4.0)

Copy Markdown View Source

ScheduledQueryRun

If you have scheduled a Sigma query, you'll receive a sigma.scheduled_query_run.created webhook each time the query runs. The webhook contains a ScheduledQueryRun object, which you can use to retrieve the query results.

Summary

Types

t()

@type t() :: %Stripe.Resources.Sigma.ScheduledQueryRun{
  created: term(),
  data_load_time: term(),
  error: term(),
  file: term(),
  id: term(),
  livemode: term(),
  object: term(),
  result_available_until: term(),
  sql: term(),
  status: term(),
  title: term()
}
  • created - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
  • data_load_time - When the query was run, Sigma contained a snapshot of your Stripe data at this time. Format: Unix timestamp.
  • error - Expandable.
  • file - The file object representing the results of the query. Nullable. Expandable.
  • id - Unique identifier for the object. Max length: 5000.
  • livemode - If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
  • object - String representing the object's type. Objects of the same type share the same value. Possible values: scheduled_query_run.
  • result_available_until - Time at which the result expires and is no longer available for download. Format: Unix timestamp.
  • sql - SQL for the query. Max length: 100000.
  • status - The query's execution status, which will be completed for successful runs, and canceled, failed, or timed_out otherwise. Max length: 5000.
  • title - Title of the query. Max length: 5000.

Functions

expandable_fields()

object_name()