BigQuery API v2 (revision 86)
com.google.api.services.bigquery.model
Class ProjectReference
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.bigquery.model.ProjectReference
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
public final class ProjectReference
- extends GenericJson
Model definition for ProjectReference.
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-http-java-client/wiki/JSON
- Author:
- Google, Inc.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
ProjectReference
public ProjectReference()
getProjectId
public String getProjectId()
- [Required] ID of the project. Can be either the numeric ID or the assigned ID of the project.
- Returns:
- value or
null
for none
setProjectId
public ProjectReference setProjectId(String projectId)
- [Required] ID of the project. Can be either the numeric ID or the assigned ID of the project.
- Parameters:
projectId
- projectId or null
for none
set
public ProjectReference set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
clone
public ProjectReference clone()
- Overrides:
clone
in class GenericJson