target.apidocs.com.google.api.services.run.v1.CloudRun.Namespaces.Jobs.Run.html Maven / Gradle / Ivy
CloudRun.Namespaces.Jobs.Run (Cloud Run Admin API v1-rev20221016-2.0.0)
com.google.api.services.run.v1
Class CloudRun.Namespaces.Jobs.Run
- 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.run.v1.CloudRunRequest<Execution>
-
- com.google.api.services.run.v1.CloudRun.Namespaces.Jobs.Run
-
- Enclosing class:
- CloudRun.Namespaces.Jobs
public class CloudRun.Namespaces.Jobs.Run
extends CloudRunRequest<Execution>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Field Summary
-
Fields inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
USER_AGENT_SUFFIX
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Run(String name,
RunJobRequest content)
Trigger creation of a new execution of this job.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
String
getName()
Required.
CloudRun.Namespaces.Jobs.Run
set(String parameterName,
Object value)
CloudRun.Namespaces.Jobs.Run
set$Xgafv(String $Xgafv)
V1 error format.
CloudRun.Namespaces.Jobs.Run
setAccessToken(String accessToken)
OAuth access token.
CloudRun.Namespaces.Jobs.Run
setAlt(String alt)
Data format for response.
CloudRun.Namespaces.Jobs.Run
setCallback(String callback)
JSONP
CloudRun.Namespaces.Jobs.Run
setFields(String fields)
Selector specifying which fields to include in a partial response.
CloudRun.Namespaces.Jobs.Run
setKey(String key)
API key.
CloudRun.Namespaces.Jobs.Run
setName(String name)
Required.
CloudRun.Namespaces.Jobs.Run
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
CloudRun.Namespaces.Jobs.Run
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
CloudRun.Namespaces.Jobs.Run
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
CloudRun.Namespaces.Jobs.Run
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
CloudRun.Namespaces.Jobs.Run
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
-
Methods inherited from class com.google.api.services.run.v1.CloudRunRequest
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
-
Run
protected Run(String name,
RunJobRequest content)
Trigger creation of a new execution of this job.
Create a request for the method "jobs.run".
This request holds the parameters needed by the the run server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation. CloudRun.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
- Parameters:
name
- Required. The name of the job to run. Replace {namespace} with the project ID or number. It takes
the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
content
- the RunJobRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public CloudRun.Namespaces.Jobs.Run set$Xgafv(String $Xgafv)
Description copied from class: CloudRunRequest
V1 error format.
- Overrides:
set$Xgafv
in class CloudRunRequest<Execution>
-
setAccessToken
public CloudRun.Namespaces.Jobs.Run setAccessToken(String accessToken)
Description copied from class: CloudRunRequest
OAuth access token.
- Overrides:
setAccessToken
in class CloudRunRequest<Execution>
-
setAlt
public CloudRun.Namespaces.Jobs.Run setAlt(String alt)
Description copied from class: CloudRunRequest
Data format for response.
- Overrides:
setAlt
in class CloudRunRequest<Execution>
-
setCallback
public CloudRun.Namespaces.Jobs.Run setCallback(String callback)
Description copied from class: CloudRunRequest
JSONP
- Overrides:
setCallback
in class CloudRunRequest<Execution>
-
setFields
public CloudRun.Namespaces.Jobs.Run setFields(String fields)
Description copied from class: CloudRunRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class CloudRunRequest<Execution>
-
setKey
public CloudRun.Namespaces.Jobs.Run setKey(String key)
Description copied from class: CloudRunRequest
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 CloudRunRequest<Execution>
-
setOauthToken
public CloudRun.Namespaces.Jobs.Run setOauthToken(String oauthToken)
Description copied from class: CloudRunRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class CloudRunRequest<Execution>
-
setPrettyPrint
public CloudRun.Namespaces.Jobs.Run setPrettyPrint(Boolean prettyPrint)
Description copied from class: CloudRunRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class CloudRunRequest<Execution>
-
setQuotaUser
public CloudRun.Namespaces.Jobs.Run setQuotaUser(String quotaUser)
Description copied from class: CloudRunRequest
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 CloudRunRequest<Execution>
-
setUploadType
public CloudRun.Namespaces.Jobs.Run setUploadType(String uploadType)
Description copied from class: CloudRunRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class CloudRunRequest<Execution>
-
setUploadProtocol
public CloudRun.Namespaces.Jobs.Run setUploadProtocol(String uploadProtocol)
Description copied from class: CloudRunRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class CloudRunRequest<Execution>
-
getName
public String getName()
Required. The name of the job to run. Replace {namespace} with the project ID or number. It takes
the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
-
setName
public CloudRun.Namespaces.Jobs.Run setName(String name)
Required. The name of the job to run. Replace {namespace} with the project ID or number.
It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
-
set
public CloudRun.Namespaces.Jobs.Run set(String parameterName,
Object value)
- Overrides:
set
in class CloudRunRequest<Execution>
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy