Net::API::Stripe::Sigma::ScheduledQueryRun - A Stripe Schedule Query Run Object
0.1
If you have scheduled a Sigma query (https://stripe.com/docs/sigma/scheduled-queries), 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.
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
Time at which the object was created. Measured in seconds since the Unix epoch.
When the query was run, Sigma contained a snapshot of your Stripe data at this time.
If the query run was not successful, this field contains information about the failure.
Show child attributes
The file object representing the results of the query.
This is a Net::API::Stripe::File object.
Net::API::Stripe::File
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Time at which the result expires and is no longer available for download.
SQL for the query.
The query’s execution status, which will be completed for successful runs, and canceled, failed, or timed_out otherwise.
Title of the query.
{ "id": "sqr_1FVF3NF5IfL0eXz9q8pnEHhr", "object": "scheduled_query_run", "created": 1571480457, "data_load_time": 1571270400, "file": { "id": "file_1DCefYF5IfL0eXz9JoCbwZik", "object": "file", "created": 1537498020, "filename": "path", "links": { "object": "list", "data": [], "has_more": false, "url": "/v1/file_links?file=file_1DCefYF5IfL0eXz9JoCbwZik" }, "purpose": "sigma_scheduled_query", "size": 500, "title": null, "type": "csv", "url": "https://files.stripe.com/v1/files/file_1DCefYF5IfL0eXz9JoCbwZik/contents" }, "livemode": false, "result_available_until": 1603065600, "sql": "SELECT count(*) from charges", "status": "completed", "title": "Count all charges" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/sigma/scheduled_queries
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.