target.apidocs.com.google.api.services.cloudscheduler.v1.CloudScheduler.Projects.Locations.Jobs.Resume.html Maven / Gradle / Ivy
The newest version!
CloudScheduler.Projects.Locations.Jobs.Resume (Cloud Scheduler API v1-rev20241203-2.0.0)
com.google.api.services.cloudscheduler.v1
Class CloudScheduler.Projects.Locations.Jobs.Resume
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.cloudscheduler.v1.CloudSchedulerRequest<Job>
-
- com.google.api.services.cloudscheduler.v1.CloudScheduler.Projects.Locations.Jobs.Resume
-
- Enclosing class:
- CloudScheduler.Projects.Locations.Jobs
public class CloudScheduler.Projects.Locations.Jobs.Resume
extends CloudSchedulerRequest<Job>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Resume(String name,
ResumeJobRequest content)
Resume a job.
-
Method Summary
-
Methods inherited from class com.google.api.services.cloudscheduler.v1.CloudSchedulerRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Resume
protected Resume(String name,
ResumeJobRequest content)
Resume a job. This method reenables a job after it has been Job.State.PAUSED. The state of a
job is stored in Job.state; after calling this method it will be set to Job.State.ENABLED. A
job must be in Job.State.PAUSED to be resumed.
Create a request for the method "jobs.resume".
This request holds the parameters needed by the the cloudscheduler server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
CloudScheduler.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
name
- Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
content
- the ResumeJobRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public CloudScheduler.Projects.Locations.Jobs.Resume set$Xgafv(String $Xgafv)
Description copied from class: CloudSchedulerRequest
V1 error format.
- Overrides:
set$Xgafv
in class CloudSchedulerRequest<Job>
-
setAccessToken
public CloudScheduler.Projects.Locations.Jobs.Resume setAccessToken(String accessToken)
Description copied from class: CloudSchedulerRequest
OAuth access token.
- Overrides:
setAccessToken
in class CloudSchedulerRequest<Job>
-
setAlt
public CloudScheduler.Projects.Locations.Jobs.Resume setAlt(String alt)
Description copied from class: CloudSchedulerRequest
Data format for response.
- Overrides:
setAlt
in class CloudSchedulerRequest<Job>
-
setCallback
public CloudScheduler.Projects.Locations.Jobs.Resume setCallback(String callback)
Description copied from class: CloudSchedulerRequest
JSONP
- Overrides:
setCallback
in class CloudSchedulerRequest<Job>
-
setFields
public CloudScheduler.Projects.Locations.Jobs.Resume setFields(String fields)
Description copied from class: CloudSchedulerRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class CloudSchedulerRequest<Job>
-
setKey
public CloudScheduler.Projects.Locations.Jobs.Resume setKey(String key)
Description copied from class: CloudSchedulerRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class CloudSchedulerRequest<Job>
-
setOauthToken
public CloudScheduler.Projects.Locations.Jobs.Resume setOauthToken(String oauthToken)
Description copied from class: CloudSchedulerRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class CloudSchedulerRequest<Job>
-
setPrettyPrint
public CloudScheduler.Projects.Locations.Jobs.Resume setPrettyPrint(Boolean prettyPrint)
Description copied from class: CloudSchedulerRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class CloudSchedulerRequest<Job>
-
setQuotaUser
public CloudScheduler.Projects.Locations.Jobs.Resume setQuotaUser(String quotaUser)
Description copied from class: CloudSchedulerRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class CloudSchedulerRequest<Job>
-
setUploadType
public CloudScheduler.Projects.Locations.Jobs.Resume setUploadType(String uploadType)
Description copied from class: CloudSchedulerRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class CloudSchedulerRequest<Job>
-
setUploadProtocol
public CloudScheduler.Projects.Locations.Jobs.Resume setUploadProtocol(String uploadProtocol)
Description copied from class: CloudSchedulerRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class CloudSchedulerRequest<Job>
-
getName
public String getName()
Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-
setName
public CloudScheduler.Projects.Locations.Jobs.Resume setName(String name)
Required. The job name. For example:
`projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-
set
public CloudScheduler.Projects.Locations.Jobs.Resume set(String parameterName,
Object value)
- Overrides:
set
in class CloudSchedulerRequest<Job>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy