public class Bigquery.Datasets.List extends BigqueryRequest<DatasetList>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Datasets.List(java.lang.String projectId)
Lists all datasets in the specified project to which you have been granted the READER dataset
role.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Boolean |
getAll()
Whether to list all datasets, including hidden ones
|
java.lang.Long |
getMaxResults()
The maximum number of results to return
|
java.lang.String |
getPageToken()
Page token, returned by a previous call, to request the next page of results
|
java.lang.String |
getProjectId()
Project ID of the datasets to be listed
|
Bigquery.Datasets.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Datasets.List |
setAll(java.lang.Boolean all)
Whether to list all datasets, including hidden ones
|
Bigquery.Datasets.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Datasets.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Datasets.List |
setKey(java.lang.String key)
API key.
|
Bigquery.Datasets.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of results to return
|
Bigquery.Datasets.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Datasets.List |
setPageToken(java.lang.String pageToken)
Page token, returned by a previous call, to request the next page of results
|
Bigquery.Datasets.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Datasets.List |
setProjectId(java.lang.String projectId)
Project ID of the datasets to be listed
|
Bigquery.Datasets.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Datasets.List |
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.List(java.lang.String projectId)
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 datasets to be listedpublic com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<DatasetList>
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<DatasetList>
java.io.IOException
public Bigquery.Datasets.List setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<DatasetList>
public java.lang.String getProjectId()
public Bigquery.Datasets.List setProjectId(java.lang.String projectId)
public java.lang.String getPageToken()
public Bigquery.Datasets.List setPageToken(java.lang.String pageToken)
public java.lang.Boolean getAll()
public Bigquery.Datasets.List setAll(java.lang.Boolean all)
public java.lang.Long getMaxResults()
public Bigquery.Datasets.List setMaxResults(java.lang.Long maxResults)
public Bigquery.Datasets.List set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<DatasetList>