This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
salesforce_to_bigquery.json
executable file
·37 lines (37 loc) · 2.16 KB
/
salesforce_to_bigquery.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"script":{
"released":"2020-01-22",
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC",
"icon":"donut_large",
"title":"Salesforce To BigQuery",
"description":"Move query results into a BigQuery table.",
"test":"https://github.com/google/starthinker/blob/master/tests/slaesforce.json",
"from":["salesforce"],
"to":["bigquery"],
"instructions":[
"Specify [Salesforce](https://developer.salesforce.com/) credentials.",
"Specify the query youd like to execute.",
"Specify a [SCHEMA](https://cloud.google.com/bigquery/docs/schemas#creating_a_json_schema_file) for that query (optional)."
],
"authors":["kenjora@google.com"]
},
"tasks":[
{ "salesforce": {
"auth":{"field":{ "name":"auth_read", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for reading data." }},
"domain":{"field":{ "name":"domain", "kind":"string", "default":"login.salesforce.com", "description":"Retrieve from a Salesforce Domain." }},
"client":{"field":{ "name":"client", "kind":"string", "default":"", "description":"Retrieve from a Salesforce App." }},
"secret":{"field":{ "name":"secret", "kind":"string", "default":"", "description":"Retrieve from a Salesforce App." }},
"username":{"field":{ "name":"username", "kind":"email", "default":"", "description":"Your Salesforce user email." }},
"password":{"field":{ "name":"password", "kind":"password", "default":"", "description":"Your Salesforce login password." }},
"query":{"field":{ "name":"query", "kind":"string", "default":"", "description":"The query to run in Salesforce." }},
"out":{
"bigquery":{
"dataset":{"field":{ "name":"dataset", "kind":"string", "order":3, "default":"", "description":"Existing BigQuery dataset." }},
"table":{"field":{ "name":"table", "kind":"string", "order":4, "default":"", "description":"Table to create from this report." }},
"schema":{"field":{ "name":"schema", "kind":"json", "order":5, "default":"[]", "description":"Schema provided in JSON list format or empty list." }}
}
}
}}
]
}