public class Bigquery.Datasets.Get extends BigqueryRequest<Dataset>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Datasets.Get(java.lang.String projectId,
java.lang.String datasetId)
Returns the dataset specified by datasetID.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getDatasetId()
Dataset ID of the requested dataset
|
java.lang.String |
getProjectId()
Project ID of the requested dataset
|
Bigquery.Datasets.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Datasets.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Datasets.Get |
setDatasetId(java.lang.String datasetId)
Dataset ID of the requested dataset
|
Bigquery.Datasets.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Datasets.Get |
setKey(java.lang.String key)
API key.
|
Bigquery.Datasets.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Datasets.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Datasets.Get |
setProjectId(java.lang.String projectId)
Project ID of the requested dataset
|
Bigquery.Datasets.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Datasets.Get |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Bigquery.Datasets.Get(java.lang.String projectId, java.lang.String datasetId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId
- Project ID of the requested datasetdatasetId
- Dataset ID of the requested datasetpublic com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Dataset>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Dataset>
java.io.IOException
public Bigquery.Datasets.Get setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<Dataset>
public Bigquery.Datasets.Get setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<Dataset>
public java.lang.String getProjectId()
public Bigquery.Datasets.Get setProjectId(java.lang.String projectId)
public java.lang.String getDatasetId()
public Bigquery.Datasets.Get setDatasetId(java.lang.String datasetId)
public Bigquery.Datasets.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<Dataset>