Index
Modules:
googleapi
,
googleapi/bigquery
,
googleapi/compute
,
googleapi/connection
,
googleapi/datastore
,
googleapi/documents
,
googleapi/drive
,
googleapi/sheets
,
googleapi/storage
.
API symbols
cancelQueryJob:
bigquery: proc cancelQueryJob(conn: Connection; projectId: string; jobId: string): Future[ JsonNode]
Connection:
connection: type Connection
Dataset:
bigquery: type Dataset
DatasetReference:
bigquery: type DatasetReference
delete:
connection: proc delete(conn: Connection; url: string): Future[JsonNode]
download:
storage: proc download(conn: Connection; bucketId: string; objectId: string): Future[string]
get:
connection: proc get(conn: Connection; url: string): Future[JsonNode]
getAuthToken:
connection: proc getAuthToken(conn: Connection): Future[string]
getDatasets:
bigquery: proc getDatasets(conn: Connection; projectId: string): Future[seq[Dataset]]
getDocument:
documents: proc getDocument(conn: Connection; documentId: string): Future[JsonNode]
getJob:
bigquery: proc getJob(conn: Connection; projectId, jobId: string): Future[JsonNode]
getMeta:
storage: proc getMeta(conn: Connection; bucketId: string; objectId: string): Future[JsonNode]
getSpreadsheet:
sheets: proc getSpreadsheet(conn: Connection; spreadsheetId: string): Future[JsonNode]
getTable:
bigquery: proc getTable(conn: Connection; projectId, datasetId, tableId: string): Future[ JsonNode]
getTables:
bigquery: proc getTables(conn: Connection; projectId: string; datasetId: string): Future[ seq[Table]]
getValues:
sheets: proc getValues(conn: Connection; spreadsheetId, valueRange: string): Future[JsonNode]
GoogleException:
connection: object GoogleException
insertQueryJob:
bigquery: proc insertQueryJob(conn: Connection; projectId: string; sqlQuery: string; cache: bool = true; useLegacySql: bool = false; maxResults: int = 10000000): Future[string]
insertQueryJobIntoTable:
bigquery: proc insertQueryJobIntoTable(conn: Connection; projectId: string; sqlQuery: string; toProjectId: string; toDatasetId: string; toTableId: string; overwrite = false): Future[string]
instancesList:
compute: proc instancesList(conn: Connection; projectId, zone: string): Future[JsonNode]
list:
drive: proc list(conn: Connection; q: string): Future[JsonNode]
drive: proc list(conn: Connection; q: string; fields: seq[string]): Future[JsonNode]
storage: proc list(conn: Connection; bucketId: string; prefix: string): Future[JsonNode]
newConnection:
connection: proc newConnection(serviceAccountPath: string): Future[Connection]
connection: proc newConnection(clientEmail, privateKey: string): Future[Connection]
patch:
connection: proc patch(conn: Connection; url: string; body: JsonNode): Future[JsonNode]
pollQueryJob:
bigquery: proc pollQueryJob(conn: Connection; projectId: string; jobId: string; maxResults: int = 10000000; pageToken: string = ""): Future[ JsonNode]
post:
connection: proc post(conn: Connection; url: string; body: JsonNode): Future[JsonNode]
put:
connection: proc put(conn: Connection; url: string; body: JsonNode): Future[JsonNode]
runQuery:
datastore: proc runQuery(conn: Connection; projectId, queryString: string): Future[JsonNode]
setValues:
sheets: proc setValues(conn: Connection; spreadsheetId, valueRange: string; data: JsonNode): Future[ JsonNode]
Table:
bigquery: type Table
tableDelete:
bigquery: proc tableDelete(conn: Connection; projectId, datasetId, tableId: string): Future[ JsonNode]
tableInsert:
bigquery: proc tableInsert(conn: Connection; projectId, datasetId: string; table: JsonNode): Future[ JsonNode]
tableInsertAll:
bigquery: proc tableInsertAll(conn: Connection; projectId, datasetId, tableId: string; rows: seq[JsonNode]): Future[JsonNode]
tablePatch:
bigquery: proc tablePatch(conn: Connection; projectId, datasetId, tableId: string; table: JsonNode): Future[JsonNode]
TableReference:
bigquery: type TableReference
tableUpdate:
bigquery: proc tableUpdate(conn: Connection; projectId, datasetId, tableId: string; table: JsonNode): Future[JsonNode]
upload:
storage: proc upload(conn: Connection; bucketId: string; objectId: string; data: string): Future[ JsonNode]