Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class DebugInstanceRequest.
Request message forInstances.DebugInstance.
Generated from protobuf messagegoogle.appengine.v1.DebugInstanceRequest
Namespace
Google \ Cloud \ AppEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the resource requested. Example:apps/myapp/services/default/versions/v1/instances/instance-1.
↳ ssh_key
string
Public SSH key to add to the instance. Examples: * *[USERNAME]:ssh-rsa <xref uid="\\USERNAME">KEY_VALUE</xref>* *[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, seeAdding and Removing SSH Keys.
getName
Name of the resource requested. Example:apps/myapp/services/default/versions/v1/instances/instance-1.
Returns
Type
Description
string
setName
Name of the resource requested. Example:apps/myapp/services/default/versions/v1/instances/instance-1.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Appengine Admin V1 Client - Class DebugInstanceRequest (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-appengine-admin/latest/V1.DebugInstanceRequest)\n- [2.0.3](/php/docs/reference/cloud-appengine-admin/2.0.3/V1.DebugInstanceRequest)\n- [1.3.5](/php/docs/reference/cloud-appengine-admin/1.3.5/V1.DebugInstanceRequest)\n- [1.2.2](/php/docs/reference/cloud-appengine-admin/1.2.2/V1.DebugInstanceRequest)\n- [1.1.1](/php/docs/reference/cloud-appengine-admin/1.1.1/V1.DebugInstanceRequest)\n- [1.0.6](/php/docs/reference/cloud-appengine-admin/1.0.6/V1.DebugInstanceRequest) \nReference documentation and code samples for the Google Cloud Appengine Admin V1 Client class DebugInstanceRequest.\n\nRequest message for `Instances.DebugInstance`.\n\nGenerated from protobuf message `google.appengine.v1.DebugInstanceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nName of the resource requested. Example:\n`apps/myapp/services/default/versions/v1/instances/instance-1`.\n\n### setName\n\nName of the resource requested. Example:\n`apps/myapp/services/default/versions/v1/instances/instance-1`.\n\n### getSshKey\n\nPublic SSH key to add to the instance. Examples:\n\n- `[USERNAME]:ssh-rsa \u003cxref uid=\"\\\\USERNAME\"\u003eKEY_VALUE\u003c/xref\u003e`\n- `[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).\n\n### setSshKey\n\nPublic SSH key to add to the instance. Examples:\n\n- `[USERNAME]:ssh-rsa \u003cxref uid=\"\\\\USERNAME\"\u003eKEY_VALUE\u003c/xref\u003e`\n- `[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)."]]