
target.apidocs.com.google.api.services.appengine.v1.Appengine.Apps.Services.Versions.Patch.html Maven / Gradle / Ivy
Appengine.Apps.Services.Versions.Patch (App Engine Admin API v1-rev20241205-2.0.0)
com.google.api.services.appengine.v1
Class Appengine.Apps.Services.Versions.Patch
- 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.appengine.v1.AppengineRequest<Operation>
-
- com.google.api.services.appengine.v1.Appengine.Apps.Services.Versions.Patch
-
- Enclosing class:
- Appengine.Apps.Services.Versions
public class Appengine.Apps.Services.Versions.Patch
extends AppengineRequest<Operation>
-
-
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
Patch(String appsId,
String servicesId,
String versionsId,
Version content)
Updates the specified Version resource.
-
Method Summary
-
Methods inherited from class com.google.api.services.appengine.v1.AppengineRequest
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
-
Patch
protected Patch(String appsId,
String servicesId,
String versionsId,
Version content)
Updates the specified Version resource. You can specify the following fields depending on the
App Engine environment and type of scaling that the version resource uses:Standard environment
instance_class (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in
the standard environment: automatic_scaling.min_idle_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automaticScaling.standard_scheduler_settings.max_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.min_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.target_cpu_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.target_throughput_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual
scaling in the standard environment: serving_status
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in
the flexible environment: automatic_scaling.min_total_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.cpu_utilization.target_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in
the flexible environment: manual_scaling.instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#manualscaling)
Create a request for the method "versions.patch".
This request holds the parameters needed by the the appengine server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Appengine.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
appsId
- Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.
servicesId
- Part of `name`. See documentation of `appsId`.
versionsId
- Part of `name`. See documentation of `appsId`.
content
- the Version
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Appengine.Apps.Services.Versions.Patch set$Xgafv(String $Xgafv)
Description copied from class: AppengineRequest
V1 error format.
- Overrides:
set$Xgafv
in class AppengineRequest<Operation>
-
setAccessToken
public Appengine.Apps.Services.Versions.Patch setAccessToken(String accessToken)
Description copied from class: AppengineRequest
OAuth access token.
- Overrides:
setAccessToken
in class AppengineRequest<Operation>
-
setAlt
public Appengine.Apps.Services.Versions.Patch setAlt(String alt)
Description copied from class: AppengineRequest
Data format for response.
- Overrides:
setAlt
in class AppengineRequest<Operation>
-
setCallback
public Appengine.Apps.Services.Versions.Patch setCallback(String callback)
Description copied from class: AppengineRequest
JSONP
- Overrides:
setCallback
in class AppengineRequest<Operation>
-
setFields
public Appengine.Apps.Services.Versions.Patch setFields(String fields)
Description copied from class: AppengineRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class AppengineRequest<Operation>
-
setKey
public Appengine.Apps.Services.Versions.Patch setKey(String key)
Description copied from class: AppengineRequest
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 AppengineRequest<Operation>
-
setOauthToken
public Appengine.Apps.Services.Versions.Patch setOauthToken(String oauthToken)
Description copied from class: AppengineRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class AppengineRequest<Operation>
-
setPrettyPrint
public Appengine.Apps.Services.Versions.Patch setPrettyPrint(Boolean prettyPrint)
Description copied from class: AppengineRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class AppengineRequest<Operation>
-
setQuotaUser
public Appengine.Apps.Services.Versions.Patch setQuotaUser(String quotaUser)
Description copied from class: AppengineRequest
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 AppengineRequest<Operation>
-
setUploadType
public Appengine.Apps.Services.Versions.Patch setUploadType(String uploadType)
Description copied from class: AppengineRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class AppengineRequest<Operation>
-
setUploadProtocol
public Appengine.Apps.Services.Versions.Patch setUploadProtocol(String uploadProtocol)
Description copied from class: AppengineRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class AppengineRequest<Operation>
-
getAppsId
public String getAppsId()
Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.
-
setAppsId
public Appengine.Apps.Services.Versions.Patch setAppsId(String appsId)
Part of `name`. Name of the resource to update. Example:
apps/myapp/services/default/versions/1.
-
getServicesId
public String getServicesId()
Part of `name`. See documentation of `appsId`.
-
setServicesId
public Appengine.Apps.Services.Versions.Patch setServicesId(String servicesId)
Part of `name`. See documentation of `appsId`.
-
getVersionsId
public String getVersionsId()
Part of `name`. See documentation of `appsId`.
-
setVersionsId
public Appengine.Apps.Services.Versions.Patch setVersionsId(String versionsId)
Part of `name`. See documentation of `appsId`.
-
getUpdateMask
public String getUpdateMask()
Standard field mask for the set of fields to be updated.
-
setUpdateMask
public Appengine.Apps.Services.Versions.Patch setUpdateMask(String updateMask)
Standard field mask for the set of fields to be updated.
-
set
public Appengine.Apps.Services.Versions.Patch set(String parameterName,
Object value)
- Overrides:
set
in class AppengineRequest<Operation>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy