public class Dataproc.Projects.Regions.WorkflowTemplates.Get extends DataprocRequest<WorkflowTemplate>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Get(String name)
Retrieves the latest workflow template.Can retrieve previously instantiated template by
specifying optional version parameter.
|
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Get(String name)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Dataproc.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
name
- Required. The resource name of the workflow template, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates.get, the resource name of the template has the
following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.get, the resource name of the template has the
following format:
projects/{project_id}/locations/{location}/workflowTemplates/{template_id}public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<WorkflowTemplate>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<WorkflowTemplate>
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.Get set$Xgafv(String $Xgafv)
DataprocRequest
set$Xgafv
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setAccessToken(String accessToken)
DataprocRequest
setAccessToken
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setAlt(String alt)
DataprocRequest
setAlt
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setCallback(String callback)
DataprocRequest
setCallback
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setFields(String fields)
DataprocRequest
setFields
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setKey(String key)
DataprocRequest
setKey
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setOauthToken(String oauthToken)
DataprocRequest
setOauthToken
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setPrettyPrint(Boolean prettyPrint)
DataprocRequest
setPrettyPrint
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setQuotaUser(String quotaUser)
DataprocRequest
setQuotaUser
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setUploadType(String uploadType)
DataprocRequest
setUploadType
in class DataprocRequest<WorkflowTemplate>
public Dataproc.Projects.Regions.WorkflowTemplates.Get setUploadProtocol(String uploadProtocol)
DataprocRequest
setUploadProtocol
in class DataprocRequest<WorkflowTemplate>
public String getName()
public Dataproc.Projects.Regions.WorkflowTemplates.Get setName(String name)
public Integer getVersion()
public Dataproc.Projects.Regions.WorkflowTemplates.Get setVersion(Integer version)
public Dataproc.Projects.Regions.WorkflowTemplates.Get set(String parameterName, Object value)
set
in class DataprocRequest<WorkflowTemplate>
Copyright © 2011–2021 Google. All rights reserved.