Database Reference
In-Depth Information
"role": "READER",
"specialGroup": "projectReaders"
},
{
"role": "WRITER",
"specialGroup": "projectWriters"
},
{
"role": "OWNER",
"specialGroup": "projectOwners"
}
],
"creationTime": "1376367421192",
"lastModifiedTime": "1376367421192"
}
Datasets.get()
The Datasets.get() API returns the current state of the dataset. You
can use field projections to return only certain fields, or use the
If-None-Match header to return only the result if the dataset has changed.
Both of these options are described earlier in this chapter. Following is an
example that reads the scratch dataset object but limits the returned fields
to the dataset ID and the creation time:
$ DATASET_URL=${DATASETS_URL}/scratch
$ curl -H "$(python auth.py)" \
"${DATASET_URL}?fields=creationTime,datasetReference(datasetId)"
{
"datasetReference": {
"datasetId": "scratch"
},
"creationTime": "1374439672882"
}
Datasets.list()
The Datasets.list() operation returns the datasets in the project. This
is an eventually consistent operation—that is, if you create a dataset and do
Search WWH ::




Custom Search