public class Dataflow.Projects.Locations.Jobs.WorkItems.Lease extends DataflowRequest<LeaseWorkItemResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Lease(java.lang.String projectId,
java.lang.String location,
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 |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains the WorkItem's job.
|
java.lang.String |
getProjectId()
Identifies the project this worker belongs to.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
set(java.lang.String parameterName,
java.lang.Object value) |
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setAlt(java.lang.String alt)
Data format for response.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setCallback(java.lang.String callback)
JSONP
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setJobId(java.lang.String jobId)
Identifies the workflow job this worker belongs to.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setKey(java.lang.String key)
API key.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setLocation(java.lang.String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) that contains the WorkItem's job.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setProjectId(java.lang.String projectId)
Identifies the project this worker belongs to.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Locations.Jobs.WorkItems.Lease |
setUploadType(java.lang.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, 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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Lease(java.lang.String projectId, java.lang.String location, 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.location
- The [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains the WorkItem's job.jobId
- Identifies the workflow job this worker belongs to.content
- the LeaseWorkItemRequest
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease set$Xgafv(java.lang.String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setAccessToken(java.lang.String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setAlt(java.lang.String alt)
DataflowRequest
setAlt
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setCallback(java.lang.String callback)
DataflowRequest
setCallback
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setFields(java.lang.String fields)
DataflowRequest
setFields
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setKey(java.lang.String key)
DataflowRequest
setKey
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setOauthToken(java.lang.String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setPrettyPrint(java.lang.Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setQuotaUser(java.lang.String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setUploadType(java.lang.String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<LeaseWorkItemResponse>
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setUploadProtocol(java.lang.String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<LeaseWorkItemResponse>
public java.lang.String getProjectId()
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setProjectId(java.lang.String projectId)
public java.lang.String getLocation()
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setLocation(java.lang.String location)
public java.lang.String getJobId()
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease setJobId(java.lang.String jobId)
public Dataflow.Projects.Locations.Jobs.WorkItems.Lease set(java.lang.String parameterName, java.lang.Object value)
set
in class DataflowRequest<LeaseWorkItemResponse>