public class Dataflow.Projects.Locations.Sql.Validate extends DataflowRequest<ValidateResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Validate(String projectId,
String location)
Validates a GoogleSQL query for Cloud Dataflow syntax.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
|
String |
getProjectId()
Required.
|
String |
getQuery()
The sql query to validate.
|
Dataflow.Projects.Locations.Sql.Validate |
set(String parameterName,
Object value) |
Dataflow.Projects.Locations.Sql.Validate |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Locations.Sql.Validate |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Locations.Sql.Validate |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Locations.Sql.Validate |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Locations.Sql.Validate |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Locations.Sql.Validate |
setKey(String key)
API key.
|
Dataflow.Projects.Locations.Sql.Validate |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) to which to direct the request.
|
Dataflow.Projects.Locations.Sql.Validate |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Locations.Sql.Validate |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Locations.Sql.Validate |
setProjectId(String projectId)
Required.
|
Dataflow.Projects.Locations.Sql.Validate |
setQuery(String query)
The sql query to validate.
|
Dataflow.Projects.Locations.Sql.Validate |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Locations.Sql.Validate |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Locations.Sql.Validate |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Validate(String projectId, String location)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Dataflow.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId
- Required. The ID of the Cloud Platform project that the job belongs to.location
- The [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ValidateResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ValidateResponse>
IOException
public Dataflow.Projects.Locations.Sql.Validate set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<ValidateResponse>
public Dataflow.Projects.Locations.Sql.Validate setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<ValidateResponse>
public String getProjectId()
public Dataflow.Projects.Locations.Sql.Validate setProjectId(String projectId)
public String getLocation()
public Dataflow.Projects.Locations.Sql.Validate setLocation(String location)
public String getQuery()
public Dataflow.Projects.Locations.Sql.Validate setQuery(String query)
public Dataflow.Projects.Locations.Sql.Validate set(String parameterName, Object value)
set
in class DataflowRequest<ValidateResponse>
Copyright © 2011–2019 Google. All rights reserved.