public final class Dataset extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Modifier and Type | Class and Description |
---|---|
static class |
Dataset.Access
Model definition for DatasetAccess.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
List<Dataset.Access> |
getAccess()
[Optional] Describes users' rights on the dataset.
|
Long |
getCreationTime()
[Output-only] The time when this dataset was created, in milliseconds since the epoch.
|
DatasetReference |
getDatasetReference()
[Required] Reference identifying dataset.
|
String |
getDescription()
[Optional] A user-friendly string description for the dataset.
|
String |
getEtag()
[Output-only] A hash of this resource.
|
String |
getFriendlyName()
[Optional] A descriptive name for this dataset, which might be shown in any BigQuery user
interfaces for browsing the dataset.
|
String |
getId()
[Output-only] The fully-qualified unique name of this dataset in the format
projectId:datasetId.
|
String |
getKind()
[Output-only] The resource type.
|
Long |
getLastModifiedTime()
[Output-only] The date when this dataset or any of its tables was last modified, in
milliseconds since the epoch.
|
String |
getSelfLink()
[Output-only] An URL that can be used to access this resource again.
|
Dataset |
setAccess(List<Dataset.Access> access)
[Optional] Describes users' rights on the dataset.
|
Dataset |
setCreationTime(Long creationTime)
[Output-only] The time when this dataset was created, in milliseconds since the epoch.
|
Dataset |
setDatasetReference(DatasetReference datasetReference)
[Required] Reference identifying dataset.
|
Dataset |
setDescription(String description)
[Optional] A user-friendly string description for the dataset.
|
Dataset |
setEtag(String etag)
[Output-only] A hash of this resource.
|
Dataset |
setFriendlyName(String friendlyName)
[Optional] A descriptive name for this dataset, which might be shown in any BigQuery user
interfaces for browsing the dataset.
|
Dataset |
setId(String id)
[Output-only] The fully-qualified unique name of this dataset in the format
projectId:datasetId.
|
Dataset |
setKind(String kind)
[Output-only] The resource type.
|
Dataset |
setLastModifiedTime(Long lastModifiedTime)
[Output-only] The date when this dataset or any of its tables was last modified, in
milliseconds since the epoch.
|
Dataset |
setSelfLink(String selfLink)
[Output-only] An URL that can be used to access this resource again.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<Dataset.Access> getAccess()
null
.public Dataset setAccess(List<Dataset.Access> access)
null
.public Long getCreationTime()
null
.public Dataset setCreationTime(Long creationTime)
null
.public DatasetReference getDatasetReference()
null
.public Dataset setDatasetReference(DatasetReference datasetReference)
null
.public String getDescription()
null
.public Dataset setDescription(String description)
null
.public String getEtag()
null
.public Dataset setEtag(String etag)
null
.public String getFriendlyName()
null
.public Dataset setFriendlyName(String friendlyName)
null
.public String getId()
null
.public Dataset setId(String id)
null
.public String getKind()
null
.public Dataset setKind(String kind)
null
.public Long getLastModifiedTime()
null
.public Dataset setLastModifiedTime(Long lastModifiedTime)
null
.public String getSelfLink()
null
.