v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-135982176.0 KB
projects

Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see "How Instances are Managed" (standard environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.

delete/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}

Path parameters

projectsIdstring required

Part of name. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

locationsIdstring required

Part of name. See documentation of projectsId.

applicationsIdstring required

Part of name. See documentation of projectsId.

servicesIdstring required

Part of name. See documentation of projectsId.

versionsIdstring required

Part of name. See documentation of projectsId.

instancesIdstring required

Part of name. See documentation of projectsId.

Response

Successful response