public class Bigquery.Datasets.List extends BigqueryRequest<DatasetList>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Datasets.List(String projectId)
Lists all the datasets in the specified project to which the caller has read access; however, a
project owner can list (but not necessarily get) all datasets in his project.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
Boolean |
getAll()
Whether to list all datasets, including hidden ones
|
Long |
getMaxResults()
The maximum number of results to return
|
String |
getPageToken()
Page token, returned by a previous call, to request the next page of results
|
String |
getProjectId()
Project ID of the datasets to be listed
|
Bigquery.Datasets.List |
set(String parameterName,
Object value) |
Bigquery.Datasets.List |
setAll(Boolean all)
Whether to list all datasets, including hidden ones
|
Bigquery.Datasets.List |
setAlt(String alt)
Data format for the response.
|
Bigquery.Datasets.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Datasets.List |
setKey(String key)
API key.
|
Bigquery.Datasets.List |
setMaxResults(Long maxResults)
The maximum number of results to return
|
Bigquery.Datasets.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Datasets.List |
setPageToken(String pageToken)
Page token, returned by a previous call, to request the next page of results
|
Bigquery.Datasets.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Datasets.List |
setProjectId(String projectId)
Project ID of the datasets to be listed
|
Bigquery.Datasets.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Datasets.List |
setUserIp(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Bigquery.Datasets.List(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 HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<DatasetList>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<DatasetList>
IOException
public Bigquery.Datasets.List setAlt(String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setFields(String fields)
BigqueryRequest
setFields
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setKey(String key)
BigqueryRequest
setKey
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setOauthToken(String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setPrettyPrint(Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setQuotaUser(String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<DatasetList>
public Bigquery.Datasets.List setUserIp(String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<DatasetList>
public String getProjectId()
public Bigquery.Datasets.List setProjectId(String projectId)
public String getPageToken()
public Bigquery.Datasets.List setPageToken(String pageToken)
public Boolean getAll()
public Bigquery.Datasets.List setAll(Boolean all)
public Long getMaxResults()
public Bigquery.Datasets.List setMaxResults(Long maxResults)
public Bigquery.Datasets.List set(String parameterName, Object value)
set
in class BigqueryRequest<DatasetList>