Resource: Query
Returned when you request a list of queries or a specific query. Also, used by customer to create and update a query.
JSON representation | |
---|---|
{ "queryName": string, "queryText": string, "parameterTypes": { string: { object( |
Fields | |
---|---|
queryName |
Query's unique name. |
queryText |
Query text. |
parameterTypes |
Any additional parameters expected by the query. Maps each argument name to its argument type. An object containing a list of |
mergeSpec |
Instructions for row merging. If present, then any rows that would have been dropped for privacy will be combined into one. This will be included in the result if the merged row meets privacy restrictions. |
isGlobal |
True if the query is defined as global; otherwise the query can be used only by a particular customer (or set of customers). |
queryState |
This field defines whether a query is still in development. If it is in development, it should not be executable except by admin user. |
queryVersion |
Define what version of the api query must be run in. |
lastUpdatedMillis |
Timestamp for when query was last updated. |
lastUpdateEmail |
Email address of who last updated the query. |
creatorEmail |
Email address of who created the query. |
Methods |
|
---|---|
|
Creates and stores a user query for later execution. |
|
Deletes a stored user query. |
|
Retrieves every user query that a customer has access to. |
|
Updates an existing user query. |
|
Starts execution for a stored user list query. |
|
Renames an existing user query. |