target.apidocs.com.google.api.services.appengine.v1.Appengine.Apps.Services.Patch.html Maven / Gradle / Ivy
Appengine.Apps.Services.Patch (App Engine Admin API v1-rev20241118-2.0.0)
com.google.api.services.appengine.v1
Class Appengine.Apps.Services.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.Patch
-
- Enclosing class:
- Appengine.Apps.Services
public class Appengine.Apps.Services.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,
Service content)
Updates the configuration of the specified service.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
String
getAppsId()
Part of `name`.
Boolean
getMigrateTraffic()
Set to true to gradually shift traffic to one or more versions that you specify.
String
getServicesId()
Part of `name`.
String
getUpdateMask()
Required.
Appengine.Apps.Services.Patch
set(String parameterName,
Object value)
Appengine.Apps.Services.Patch
set$Xgafv(String $Xgafv)
V1 error format.
Appengine.Apps.Services.Patch
setAccessToken(String accessToken)
OAuth access token.
Appengine.Apps.Services.Patch
setAlt(String alt)
Data format for response.
Appengine.Apps.Services.Patch
setAppsId(String appsId)
Part of `name`.
Appengine.Apps.Services.Patch
setCallback(String callback)
JSONP
Appengine.Apps.Services.Patch
setFields(String fields)
Selector specifying which fields to include in a partial response.
Appengine.Apps.Services.Patch
setKey(String key)
API key.
Appengine.Apps.Services.Patch
setMigrateTraffic(Boolean migrateTraffic)
Set to true to gradually shift traffic to one or more versions that you specify.
Appengine.Apps.Services.Patch
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
Appengine.Apps.Services.Patch
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
Appengine.Apps.Services.Patch
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
Appengine.Apps.Services.Patch
setServicesId(String servicesId)
Part of `name`.
Appengine.Apps.Services.Patch
setUpdateMask(String updateMask)
Required.
Appengine.Apps.Services.Patch
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
Appengine.Apps.Services.Patch
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
-
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,
Service content)
Updates the configuration of the specified service.
Create a request for the method "services.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.
servicesId
- Part of `name`. See documentation of `appsId`.
content
- the Service
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Appengine.Apps.Services.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.Patch setAccessToken(String accessToken)
Description copied from class: AppengineRequest
OAuth access token.
- Overrides:
setAccessToken
in class AppengineRequest<Operation>
-
setAlt
public Appengine.Apps.Services.Patch setAlt(String alt)
Description copied from class: AppengineRequest
Data format for response.
- Overrides:
setAlt
in class AppengineRequest<Operation>
-
setCallback
public Appengine.Apps.Services.Patch setCallback(String callback)
Description copied from class: AppengineRequest
JSONP
- Overrides:
setCallback
in class AppengineRequest<Operation>
-
setFields
public Appengine.Apps.Services.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.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.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.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.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.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.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.
-
setAppsId
public Appengine.Apps.Services.Patch setAppsId(String appsId)
Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.
-
getServicesId
public String getServicesId()
Part of `name`. See documentation of `appsId`.
-
setServicesId
public Appengine.Apps.Services.Patch setServicesId(String servicesId)
Part of `name`. See documentation of `appsId`.
-
getMigrateTraffic
public Boolean getMigrateTraffic()
Set to true to gradually shift traffic to one or more versions that you specify. By default,
traffic is shifted immediately. For gradual traffic migration, the target versions must be located
within instances that are configured for both warmup requests
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy
(https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field
in the Service resource. Gradual traffic migration is not supported in the App Engine flexible
environment. For examples, see Migrating and Splitting Traffic
(https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
-
setMigrateTraffic
public Appengine.Apps.Services.Patch setMigrateTraffic(Boolean migrateTraffic)
Set to true to gradually shift traffic to one or more versions that you specify. By
default, traffic is shifted immediately. For gradual traffic migration, the target
versions must be located within instances that are configured for both warmup requests
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the
shardBy (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual
traffic migration is not supported in the App Engine flexible environment. For examples,
see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-
api/migrating-splitting-traffic).
-
getUpdateMask
public String getUpdateMask()
Required. Standard field mask for the set of fields to be updated.
-
setUpdateMask
public Appengine.Apps.Services.Patch setUpdateMask(String updateMask)
Required. Standard field mask for the set of fields to be updated.
-
set
public Appengine.Apps.Services.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