Database Reference
In-Depth Information
still a response in the range 200-299, it is still a successful response code,
but naïve code may assume that anything that isn't a 200 is a failure.
The following curl command deletes the scratch dataset:
$ curl -H "$(python auth.py)" \
- X DELETE \
- w "%{http_code}\\n" \
"${DATASET_URL}"
204
That's it—bye-bye dataset!
Tables
The Tables collection contains metadata about BigQuery tables. Table data
is not accessible via the Tables collection; if you want to access the contents
of a table, use the TableData collection instead. Tables offer all the common
REST operations: insert() , get() , list() , update() , patch() , and
delete() . Just as datasets belong to a project, tables belong to a dataset.
Tables do not have their own access control; all access control decisions are
made via the containing dataset.
The URL for the Tables collection is nested underneath the datasets
collection.
For
example,
the
URL
to
read
the
table
is
bigquery-e2e:application_logs.usage_log
https://www.googleapis.com/bigquery/v2/projects/
bigquery-e2e/datasets/application_logs/tables/
usage_logs . Table 5.6 shows the available REST methods and their
relative URLs. Several of the URLs are identical; the only difference is the
HTTP verb used.
 
Search WWH ::




Custom Search