{ "kind": "discovery#restDescription", "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IirqKiawPBlWznB4XZKKLikRaQQ\"", "discoveryVersion": "v1", "id": "clouddebugger:v2", "name": "clouddebugger", "version": "v2", "revision": "20150725", "title": "Google Cloud Debugger API", "description": "Lets you examine the stack and variables of your running application without stopping or slowing it down.", "ownerDomain": "google.com", "ownerName": "Google", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "documentationLink": "https://cloud.google.com/tools/cloud-debugger", "protocol": "rest", "baseUrl": "https://clouddebugger.googleapis.com/", "basePath": "/", "rootUrl": "https://clouddebugger.googleapis.com/", "servicePath": "", "batchPath": "batch", "parameters": { "access_token": { "type": "string", "description": "OAuth access token.", "location": "query" }, "alt": { "type": "string", "description": "Data format for response.", "default": "json", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query" }, "bearer_token": { "type": "string", "description": "OAuth bearer token.", "location": "query" }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "pp": { "type": "boolean", "description": "Pretty-print response.", "default": "true", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", "location": "query" }, "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "uploadType": { "type": "string", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query" }, "$.xgafv": { "type": "string", "description": "V1 error format.", "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query" } }, "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { "description": "View and manage your data across Google Cloud Platform services" }, "https://www.googleapis.com/auth/cloud_debugger": { "description": "Manage cloud debugger" }, "https://www.googleapis.com/auth/cloud_debugletcontroller": { "description": "Manage active breakpoints in cloud debugger" } } } }, "schemas": { "RegisterDebuggeeRequest": { "id": "RegisterDebuggeeRequest", "type": "object", "description": "The request to register a debuggee.", "properties": { "debuggee": { "$ref": "Debuggee", "description": "The debuggee information to register. The fields 'project', 'uniquifier', 'description' and 'agent_version' of the debuggee must be set." } } }, "Debuggee": { "id": "Debuggee", "type": "object", "description": "Represents the application to debug. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. The agents attached to the same debuggee are identified by using exactly the same fields' values when registering.", "properties": { "id": { "type": "string", "description": "Debuggee unique identifer generated by the server." }, "project": { "type": "string", "description": "The project the debuggee is associated with. Use the project number when registering a Google Cloud Platform project." }, "uniquifier": { "type": "string", "description": "The debuggee uniqifier within the project. Any string that id the application within the project can be used. Recomended to include environement and version or build id's." }, "description": { "type": "string", "description": "A human readable description of the debuggee. Recommended to include human readable project name, environment name, and version information ." }, "isInactive": { "type": "boolean", "description": "If set to true indicates that the debuggee has not been seen by the Controller service in the last active time period (defined by the server)." }, "agentVersion": { "type": "string", "description": "Version ID of the agent release. The version ID is structured as following: \"domain/type/vmajor.minor\" (for example \"google.com/gcp-java/v1.1\")." }, "isDisabled": { "type": "boolean", "description": "If set to true, indicates that the agent should disable itself and detach from the debuggee." }, "status": { "$ref": "StatusMessage", "description": "Human readable message to be displayed to the user about this debuggee. Absense of this field indicates no message. The message can be either informational or error." }, "sourceContexts": { "type": "array", "description": "Repository snapshots containing the source code of the project.", "items": { "$ref": "SourceContext" } }, "labels": { "type": "object", "description": "A set of custom debuggee properties, populated by the agent, to be displayed to the user.", "additionalProperties": { "type": "string" } } } }, "StatusMessage": { "id": "StatusMessage", "type": "object", "description": "Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message \"Location not found\".", "properties": { "isError": { "type": "boolean", "description": "Distinguishes errors from informational messages." }, "refersTo": { "type": "string", "description": "Reference to which the message applies.", "enum": [ "UNSPECIFIED", "BREAKPOINT_SOURCE_LOCATION", "BREAKPOINT_CONDITION", "BREAKPOINT_EXPRESSION", "VARIABLE_NAME", "VARIABLE_VALUE" ] }, "description": { "$ref": "FormatMessage", "description": "Status message text." } } }, "FormatMessage": { "id": "FormatMessage", "type": "object", "description": "Represents a message with parameters.", "properties": { "format": { "type": "string", "description": "Format template of the message. The \"format\" uses placeholders \"$0\", \"$1\", etc. to reference parameters. \"$$\" can be used to denote the '$' character. Examples: \"Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.\" \"Please pay $$10 to use $0 instead of $1.\"" }, "parameters": { "type": "array", "description": "Optional parameters to be embedded into the message.", "items": { "type": "string" } } } }, "SourceContext": { "id": "SourceContext", "type": "object", "description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.", "properties": { "cloudRepo": { "$ref": "CloudRepoSourceContext", "description": "A SourceContext referring to a revision in a cloud repo." }, "cloudWorkspace": { "$ref": "CloudWorkspaceSourceContext", "description": "A SourceContext referring to a snapshot in a cloud workspace." }, "gerrit": { "$ref": "GerritSourceContext", "description": "A SourceContext referring to a Gerrit project." }, "git": { "$ref": "GitSourceContext", "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." } } }, "CloudRepoSourceContext": { "id": "CloudRepoSourceContext", "type": "object", "description": "A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).", "properties": { "repoId": { "$ref": "RepoId", "description": "The ID of the repo." }, "revisionId": { "type": "string", "description": "A revision ID." }, "aliasName": { "type": "string", "description": "The name of an alias (branch, tag, etc.)." } } }, "RepoId": { "id": "RepoId", "type": "object", "description": "A unique identifier for a cloud repo.", "properties": { "projectRepoId": { "$ref": "ProjectRepoId", "description": "A combination of a project ID and a repo name." }, "uid": { "type": "string", "description": "A server-assigned, globally unique identifier." } } }, "ProjectRepoId": { "id": "ProjectRepoId", "type": "object", "description": "Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project.", "properties": { "projectId": { "type": "string", "description": "The ID of the project." }, "repoName": { "type": "string", "description": "The name of the repo. Leave empty for the default repo." } } }, "CloudWorkspaceSourceContext": { "id": "CloudWorkspaceSourceContext", "type": "object", "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.", "properties": { "workspaceId": { "$ref": "CloudWorkspaceId", "description": "The ID of the workspace." }, "snapshotId": { "type": "string", "description": "The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot." } } }, "CloudWorkspaceId": { "id": "CloudWorkspaceId", "type": "object", "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.", "properties": { "repoId": { "$ref": "RepoId", "description": "The ID of the repo containing the workspace." }, "name": { "type": "string", "description": "The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method." } } }, "GerritSourceContext": { "id": "GerritSourceContext", "type": "object", "description": "A SourceContext referring to a Gerrit project.", "properties": { "hostUri": { "type": "string", "description": "The URI of a running Gerrit instance." }, "gerritProject": { "type": "string", "description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is hostURI/project." }, "revisionId": { "type": "string", "description": "A revision (commit) ID." }, "aliasName": { "type": "string", "description": "The name of an alias (branch, tag, etc.)." } } }, "GitSourceContext": { "id": "GitSourceContext", "type": "object", "description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).", "properties": { "url": { "type": "string", "description": "Git repository URL." }, "revisionId": { "type": "string", "description": "Git commit hash. required." } } }, "RegisterDebuggeeResponse": { "id": "RegisterDebuggeeResponse", "type": "object", "description": "The response of registering a debuggee.", "properties": { "debuggee": { "$ref": "Debuggee", "description": "The debuggee resource. The field 'id' is guranteed to be set (in addition to the echoed fields)." } } }, "ListActiveBreakpointsResponse": { "id": "ListActiveBreakpointsResponse", "type": "object", "description": "The response of listing active breakpoints.", "properties": { "breakpoints": { "type": "array", "description": "List of all active breakpoints. The fields 'id' and 'location' are guranteed to be set on each breakpoint.", "items": { "$ref": "Breakpoint" } }, "nextWaitToken": { "type": "string", "description": "A wait token that can be used in the next method call to block until the list of breakpoints changes." } } }, "Breakpoint": { "id": "Breakpoint", "type": "object", "description": "Represents the breakpoint specification, status and results.", "properties": { "id": { "type": "string", "description": "Breakpoint identifier, unique in the scope of the debuggee." }, "action": { "type": "string", "description": "Defines what to do when the breakpoint hits.", "enum": [ "CAPTURE", "LOG" ] }, "location": { "$ref": "SourceLocation", "description": "The breakpoint source location." }, "condition": { "type": "string", "description": "A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location." }, "expressions": { "type": "array", "description": "A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is \"LOG\", the evaluated expressions are included in log statements.", "items": { "type": "string" } }, "logMessageFormat": { "type": "string", "description": "Only relevant when action is \"LOG\". Defines the message to log when the breakpoint hits. The message may include parameter placeholders \"$0\", \"$1\", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in \"log_message_format\" will not be logged. Example: \"Poisonous message received, id = $0, count = $1\" with expressions = [ \"message.id\", \"message.count\" ]." }, "logLevel": { "type": "string", "description": "Indicates the severity of the log. Only relevant when action is \"LOG\".", "enum": [ "INFO", "WARNING", "ERROR" ] }, "isFinalState": { "type": "boolean", "description": "When true, indicates that this is a final result and the breakpoint state will not change from here on." }, "createTime": { "type": "string", "description": "The time this breakpoint was created by the server. The value is in seconds resolution." }, "finalTime": { "type": "string", "description": "The time this breakpoint was finalized as seen by the server. The value is in seconds resolution." }, "userEmail": { "type": "string", "description": "The e-mail of the user that created this breakpoint" }, "status": { "$ref": "StatusMessage", "description": "Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ..." }, "stackFrames": { "type": "array", "description": "The stack at breakpoint time.", "items": { "$ref": "StackFrame" } }, "evaluatedExpressions": { "type": "array", "description": "The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.", "items": { "$ref": "Variable" } }, "variableTable": { "type": "array", "description": "The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.", "items": { "$ref": "Variable" } } } }, "SourceLocation": { "id": "SourceLocation", "type": "object", "description": "Represents a location in the source code.", "properties": { "path": { "type": "string", "description": "A path to the source file within the source context of the target binary." }, "line": { "type": "integer", "description": "The line inside the file (first line value is '1').", "format": "int32" } } }, "StackFrame": { "id": "StackFrame", "type": "object", "description": "Represents a stack frame context.", "properties": { "function": { "type": "string", "description": "The unmangled function name at the call site." }, "location": { "$ref": "SourceLocation", "description": "The source location of the call site." }, "arguments": { "type": "array", "description": "The set of arguments passed to this function Note that this might not be populated for all stack frames.", "items": { "$ref": "Variable" } }, "locals": { "type": "array", "description": "The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.", "items": { "$ref": "Variable" } } } }, "Variable": { "id": "Variable", "type": "object", "description": "Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: \"x\", value: \"5\" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: \"x\", members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: \"p\", value: \"0x00500500\", members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: \"p\", value: \"0x00400400\", members { value: \"\" } } the value text should decribe the reason for the missing value. such as , ,\n. note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: \"p\", value: \"0x00500500\", members { value: \"7\" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: \"pp\", value: \"0x00500500\", members { value: \"0x00400400\", members { value: \"\" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: \"x\", var_index: 3 } { name: \"p\", value \"0x00500500\", var_index: 3 } { name: \"r\", var_index: 3 } with shared variable table entry #3: { members { name: \"m1\", value: \"3\" }, members { name: \"m2\", value: \"7\" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.", "properties": { "name": { "type": "string", "description": "The name of the variable, if any." }, "value": { "type": "string", "description": "The simple value of the variable." }, "members": { "type": "array", "description": "The members contained or pointed to by the variable.", "items": { "$ref": "Variable" } }, "varTableIndex": { "type": "integer", "description": "This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.", "format": "int32" }, "status": { "$ref": "StatusMessage", "description": "Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with \"refers_to\" set to \"VARIABLE_NAME\". Alternatively \"refers_to\" will be set to \"VARIABLE_VALUE\". In either case variable value and members will be unset. Example of error message applied to name: \"Invalid expression syntax\". Example of information message applied to value: \"Not captured\". Examples of error message applied to value: \"Malformed string\", \"Field f not found in class C\", \"Null pointer dereference\"." } } }, "UpdateActiveBreakpointRequest": { "id": "UpdateActiveBreakpointRequest", "type": "object", "description": "The request to update an active breakpoint.", "properties": { "breakpoint": { "$ref": "Breakpoint", "description": "The updated breakpoint information. The field 'id' must be set." } } }, "UpdateActiveBreakpointResponse": { "id": "UpdateActiveBreakpointResponse", "type": "object", "description": "The response of updating an active breakpoint. The message is defined to allow future extensions." }, "SetBreakpointResponse": { "id": "SetBreakpointResponse", "type": "object", "description": "The response of setting a breakpoint.", "properties": { "breakpoint": { "$ref": "Breakpoint", "description": "The breakpoint resource. The field 'id' is guranteed to be set (in addition to the echoed fileds)." } } }, "GetBreakpointResponse": { "id": "GetBreakpointResponse", "type": "object", "description": "The response of getting breakpoint information.", "properties": { "breakpoint": { "$ref": "Breakpoint", "description": "The complete breakpoint state. The fields 'id' and 'location' are guranteed to be set." } } }, "Empty": { "id": "Empty", "type": "object", "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`." }, "ListBreakpointsResponse": { "id": "ListBreakpointsResponse", "type": "object", "description": "The response of listing breakpoints.", "properties": { "breakpoints": { "type": "array", "description": "List of all breakpoints with complete state. The fields 'id' and 'location' are guranteed to be set on each breakpoint.", "items": { "$ref": "Breakpoint" } }, "nextWaitToken": { "type": "string", "description": "A wait token that can be used in the next call to ListBreakpoints to block until the list of breakpoints has changes." } } }, "ListDebuggeesResponse": { "id": "ListDebuggeesResponse", "type": "object", "description": "The response of listing debuggees.", "properties": { "debuggees": { "type": "array", "description": "The list of debuggees accessible to the calling user. Note that the description field is the only human readable field that should be displayed to the user. The fields 'debuggee.id' and 'description' are guranteed to be set on each debuggee.", "items": { "$ref": "Debuggee" } } } } }, "resources": { "controller": { "resources": { "debuggees": { "methods": { "register": { "id": "clouddebugger.controller.debuggees.register", "path": "v2/controller/debuggees/register", "httpMethod": "POST", "description": "Registers the debuggee with the controller. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.", "request": { "$ref": "RegisterDebuggeeRequest" }, "response": { "$ref": "RegisterDebuggeeResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugletcontroller" ] } }, "resources": { "breakpoints": { "methods": { "list": { "id": "clouddebugger.controller.debuggees.breakpoints.list", "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", "httpMethod": "GET", "description": "Returns the list of all active breakpoints for the specified debuggee. The breakpoint specification (location, condition, and expression fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line the breakpoint was set to, but that doesn't change the breakpoint semantics. Thus, an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember breakpoints that are complete until the controller removes them from the active list to avoid setting those breakpoints again.", "parameters": { "debuggeeId": { "type": "string", "description": "Identifies the debuggee.", "required": true, "location": "path" }, "waitToken": { "type": "string", "description": "A wait token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server selected timeout has expired. The value should be set from the last returned response. The error code google.rpc.Code.ABORTED is returned on wait timeout (which does not require the agent to re-register with the server)", "location": "query" } }, "parameterOrder": [ "debuggeeId" ], "response": { "$ref": "ListActiveBreakpointsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugletcontroller" ] }, "update": { "id": "clouddebugger.controller.debuggees.breakpoints.update", "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", "httpMethod": "PUT", "description": "Updates the breakpoint state or mutable fields. The entire Breakpoint protobuf must be sent back to the controller. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the 'location', 'condition' and 'expression' fields should not alter the breakpoint semantics. They are restricted to changes such as canonicalizing a value or snapping the location to the correct line of code.", "parameters": { "debuggeeId": { "type": "string", "description": "Identifies the debuggee being debugged.", "required": true, "location": "path" }, "id": { "type": "string", "description": "Breakpoint identifier, unique in the scope of the debuggee.", "required": true, "location": "path" } }, "parameterOrder": [ "debuggeeId", "id" ], "request": { "$ref": "UpdateActiveBreakpointRequest" }, "response": { "$ref": "UpdateActiveBreakpointResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugletcontroller" ] } } } } } } }, "debugger": { "resources": { "debuggees": { "methods": { "list": { "id": "clouddebugger.debugger.debuggees.list", "path": "v2/debugger/debuggees", "httpMethod": "GET", "description": "Lists all the debuggees that the user can set breakpoints to.", "parameters": { "project": { "type": "string", "description": "Set to the project number of the Google Cloud Platform to list the debuggees that are part of that project.", "location": "query" }, "includeInactive": { "type": "boolean", "description": "When set to true the result includes all debuggees, otherwise only debugees that are active.", "location": "query" } }, "response": { "$ref": "ListDebuggeesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ] } }, "resources": { "breakpoints": { "methods": { "set": { "id": "clouddebugger.debugger.debuggees.breakpoints.set", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", "httpMethod": "POST", "description": "Sets the breakpoint to the debuggee.", "parameters": { "debuggeeId": { "type": "string", "description": "The debuggee id to set the breakpoint to.", "required": true, "location": "path" } }, "parameterOrder": [ "debuggeeId" ], "request": { "$ref": "Breakpoint" }, "response": { "$ref": "SetBreakpointResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ] }, "get": { "id": "clouddebugger.debugger.debuggees.breakpoints.get", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "httpMethod": "GET", "description": "Gets breakpoint information.", "parameters": { "debuggeeId": { "type": "string", "description": "The debuggee id to get the breakpoint from.", "required": true, "location": "path" }, "breakpointId": { "type": "string", "description": "The breakpoint to get.", "required": true, "location": "path" } }, "parameterOrder": [ "debuggeeId", "breakpointId" ], "response": { "$ref": "GetBreakpointResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ] }, "delete": { "id": "clouddebugger.debugger.debuggees.breakpoints.delete", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "httpMethod": "DELETE", "description": "Deletes the breakpoint from the debuggee.", "parameters": { "debuggeeId": { "type": "string", "description": "The debuggee id to delete the breakpoint from.", "required": true, "location": "path" }, "breakpointId": { "type": "string", "description": "The breakpoint to delete.", "required": true, "location": "path" } }, "parameterOrder": [ "debuggeeId", "breakpointId" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ] }, "list": { "id": "clouddebugger.debugger.debuggees.breakpoints.list", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints", "httpMethod": "GET", "description": "Lists all breakpoints of the debuggee that the user has access to.", "parameters": { "debuggeeId": { "type": "string", "description": "The debuggee id to list breakpoint from.", "required": true, "location": "path" }, "includeAllUsers": { "type": "boolean", "description": "When set to true the response includes the list of breakpoints set by any user, otherwise only breakpoints set by the caller.", "location": "query" }, "includeInactive": { "type": "boolean", "description": "When set to true the response includes active and inactive breakpoints, otherwise only active breakpoints are returned.", "location": "query" }, "action.value": { "type": "string", "description": "Only breakpoints with the specified action will pass the filter.", "enum": [ "CAPTURE", "LOG" ], "location": "query" }, "stripResults": { "type": "boolean", "description": "When set to true the response breakpoints will be stripped of the results fields: stack_frames, evaluated_expressions and variable_table.", "location": "query" }, "waitToken": { "type": "string", "description": "A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response to ListBreakpoints. The error code ABORTED is returned on wait timeout, which should be called again with the same wait_token.", "location": "query" } }, "parameterOrder": [ "debuggeeId" ], "response": { "$ref": "ListBreakpointsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ] } } } } } } } } }