BigQuery API v2 (revision 84)



com.google.api.services.bigquery.model
Class DatasetReference

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.DatasetReference
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class DatasetReference
extends GenericJson

Model definition for DatasetReference.

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()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
DatasetReference()
           
 
Method Summary
 String getDatasetId()
          [Required] A unique ID for this dataset, without the project name.
 String getProjectId()
          [Optional] The ID of the container project.
 DatasetReference setDatasetId(String datasetId)
          [Required] A unique ID for this dataset, without the project name.
 DatasetReference setProjectId(String projectId)
          [Optional] The ID of the container project.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatasetReference

public DatasetReference()
Method Detail

getDatasetId

public String getDatasetId()
[Required] A unique ID for this dataset, without the project name. The value returned may be null.


setDatasetId

public DatasetReference setDatasetId(String datasetId)
[Required] A unique ID for this dataset, without the project name. The value set may be null.


getProjectId

public String getProjectId()
[Optional] The ID of the container project. The value returned may be null.


setProjectId

public DatasetReference setProjectId(String projectId)
[Optional] The ID of the container project. The value set may be null.