public class Dataflow.Projects.Jobs.WorkItems.Lease extends DataflowRequest<LeaseWorkItemResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Dataflow.Projects.Jobs.WorkItems.Lease(java.lang.String projectId,
java.lang.String jobId,
LeaseWorkItemRequest content)
Leases a dataflow WorkItem to run.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJobId()
Identifies the workflow job this worker belongs to.
|
java.lang.String |
getProjectId()
Identifies the project this worker belongs to.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
set(java.lang.String parameterName,
java.lang.Object value) |
Dataflow.Projects.Jobs.WorkItems.Lease |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setAlt(java.lang.String alt)
Data format for response.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setBearerToken(java.lang.String bearerToken)
OAuth bearer token.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setCallback(java.lang.String callback)
JSONP
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setJobId(java.lang.String jobId)
Identifies the workflow job this worker belongs to.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setKey(java.lang.String key)
API key.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setPp(java.lang.Boolean pp)
Pretty-print response.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setProjectId(java.lang.String projectId)
Identifies the project this worker belongs to.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Jobs.WorkItems.Lease |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getBearerToken, getCallback, getFields, getKey, getOauthToken, getPp, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Dataflow.Projects.Jobs.WorkItems.Lease(java.lang.String projectId, java.lang.String jobId, LeaseWorkItemRequest content)
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
- Identifies the project this worker belongs to.jobId
- Identifies the workflow job this worker belongs to.content
- the LeaseWorkItemRequest
public Dataflow.Projects.Jobs.WorkItems.Lease set$Xgafv(java.lang.String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setAccessToken(java.lang.String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setAlt(java.lang.String alt)
DataflowRequest
setAlt
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setBearerToken(java.lang.String bearerToken)
DataflowRequest
setBearerToken
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setCallback(java.lang.String callback)
DataflowRequest
setCallback
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setFields(java.lang.String fields)
DataflowRequest
setFields
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setKey(java.lang.String key)
DataflowRequest
setKey
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setOauthToken(java.lang.String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setPp(java.lang.Boolean pp)
DataflowRequest
setPp
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setPrettyPrint(java.lang.Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setQuotaUser(java.lang.String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setUploadType(java.lang.String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Jobs.WorkItems.Lease setUploadProtocol(java.lang.String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<LeaseWorkItemResponse>
public java.lang.String getProjectId()
public Dataflow.Projects.Jobs.WorkItems.Lease setProjectId(java.lang.String projectId)
public java.lang.String getJobId()
public Dataflow.Projects.Jobs.WorkItems.Lease setJobId(java.lang.String jobId)
public Dataflow.Projects.Jobs.WorkItems.Lease set(java.lang.String parameterName, java.lang.Object value)
set
in class DataflowRequest<LeaseWorkItemResponse>