Method: controller.debuggees.register

Registers the debuggee with the controller service.

All agents attached to the same application should call this method with the same request content to get back the same stable debuggeeId. Agents should call this method again whenever google.rpc.Code.NOT_FOUND is returned from any controller method.

This allows the controller service to disable the agent or recover from any data loss. If the debuggee is disabled by the server, the response will have isDisabled set to true.

HTTP request

POST https://clouddebugger.googleapis.com/v2/controller/debuggees/register

(This URI uses URI Template syntax.)

Request body

The request body contains data with the following structure:

JSON representation
{
  "debuggee": {
    object(Debuggee)
  },
}
Field name Type Description
debuggee object(Debuggee) Debuggee information to register. The fields project, uniquifier, description and agentVersion of the debuggee must be set.

Response body

If successful, the response body contains data with the following structure:

Response for registering a debuggee.

JSON representation
{
  "debuggee": {
    object(Debuggee)
  },
}
Field name Type Description
debuggee object(Debuggee) Debuggee resource. The field id is guranteed to be set (in addition to the echoed fields).

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud_debugger
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Send feedback about...

Stackdriver Debugger Documentation