v1

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

Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.

post/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug

Path parameters

appsIdstring required

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

servicesIdstring required

Part of name. See documentation of appsId.

versionsIdstring required

Part of name. See documentation of appsId.

instancesIdstring required

Part of name. See documentation of appsId.

Request body

sshKeystring

Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).

Response

Successful response