Method: apps.services.versions.patch Stay organized with collections Save and categorize content based on your preferences.
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
automatic scaling in the standard environment:
automaticScaling.min_idle_instancesautomaticScaling.max_idle_instancesautomaticScaling.standard_scheduler_settings.max_instancesautomaticScaling.standard_scheduler_settings.min_instancesautomaticScaling.standard_scheduler_settings.target_cpu_utilizationautomaticScaling.standard_scheduler_settings.target_throughput_utilization
basic scaling ormanual scaling in the standard environment:
Flexible environment
automatic scaling in the flexible environment:
automaticScaling.min_total_instancesautomaticScaling.max_total_instancesautomaticScaling.cool_down_period_secautomaticScaling.cpu_utilization.target_utilization
manual scaling in the flexible environment:
HTTP request
PATCH https://appengine.googleapis.com/v1/{name=apps/*/services/*/versions/*}
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Name of the resource to update. Example: Authorization requires the followingIAM permission on the specified resource
|
Query parameters
| Parameters | |
|---|---|
updateMask |
Standard field mask for the set of fields to be updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance ofVersion.
Response body
If successful, the response body contains an instance ofOperation.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.