Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 75 | <h1><a href="clouddebugger_v2.html">Cloud Debugger API</a> . <a href="clouddebugger_v2.debugger.html">debugger</a> . <a href="clouddebugger_v2.debugger.debuggees.html">debuggees</a></h1> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="clouddebugger_v2.debugger.debuggees.breakpoints.html">breakpoints()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the breakpoints Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 83 | <code><a href="#close">close()</a></code></p> |
| 84 | <p class="firstline">Close httplib2 connections.</p> |
| 85 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 86 | <code><a href="#list">list(clientVersion=None, project=None, includeInactive=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 87 | <p class="firstline">Lists all the debuggees that the user has access to.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 88 | <h3>Method Details</h3> |
| 89 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 90 | <code class="details" id="close">close()</code> |
| 91 | <pre>Close httplib2 connections.</pre> |
| 92 | </div> |
| 93 | |
| 94 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 95 | <code class="details" id="list">list(clientVersion=None, project=None, includeInactive=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 96 | <pre>Lists all the debuggees that the user has access to. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 97 | |
| 98 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 99 | clientVersion: string, Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 100 | project: string, Required. Project number of a Google Cloud project whose debuggees to list. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 101 | includeInactive: boolean, When set to `true`, the result includes all debuggees. Otherwise, the result includes only debuggees that are active. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 102 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 103 | Allowed values |
| 104 | 1 - v1 error format |
| 105 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 106 | |
| 107 | Returns: |
| 108 | An object of the form: |
| 109 | |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 110 | { # Response for listing debuggees. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 111 | "debuggees": [ # List of debuggees accessible to the calling user. The fields `debuggee.id` and `description` are guaranteed to be set. The `description` field is a human readable field provided by agents and can be displayed to users. |
| 112 | { # Represents the debugged application. 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. Agents attached to the same debuggee identify themselves as such by using exactly the same Debuggee message value when registering. |
| 113 | "isDisabled": True or False, # If set to `true`, indicates that the agent should disable itself and detach from the debuggee. |
| 114 | "labels": { # A set of custom debuggee properties, populated by the agent, to be displayed to the user. |
| 115 | "a_key": "A String", |
| 116 | }, |
| 117 | "id": "A String", # Unique identifier for the debuggee generated by the controller service. |
| 118 | "uniquifier": "A String", # Uniquifier to further distinguish the application. It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment. |
| 119 | "status": { # 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`. # Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status. |
| 120 | "refersTo": "A String", # Reference to which the message applies. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | "description": { # Represents a message with parameters. # Status message text. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 122 | "parameters": [ # Optional parameters to be embedded into the message. |
| 123 | "A String", |
| 124 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 125 | "format": "A String", # Format template for 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.` |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 126 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 127 | "isError": True or False, # Distinguishes errors from informational messages. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 128 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 129 | "canaryMode": "A String", # Used when setting breakpoint canary for this debuggee. |
| 130 | "agentVersion": "A String", # Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for example `google.com/java-gcp/v1.1`). |
| 131 | "project": "A String", # Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project. |
| 132 | "description": "A String", # Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended. |
| 133 | "sourceContexts": [ # References to the locations and revisions of the source code used in the deployed application. |
| 134 | { # 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. |
| 135 | "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project. |
| 136 | "aliasName": "A String", # The name of an alias (branch, tag, etc.). |
| 137 | "revisionId": "A String", # A revision (commit) ID. |
| 138 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 139 | "name": "A String", # The alias name. |
| 140 | "kind": "A String", # The alias kind. |
| 141 | }, |
| 142 | "hostUri": "A String", # The URI of a running Gerrit instance. |
| 143 | "gerritProject": "A String", # 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. |
| 144 | }, |
| 145 | "git": { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub). # A SourceContext referring to any third party Git repo (e.g. GitHub). |
| 146 | "revisionId": "A String", # Git commit hash. required. |
| 147 | "url": "A String", # Git repository URL. |
| 148 | }, |
| 149 | "cloudWorkspace": { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace. |
| 150 | "snapshotId": "A String", # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot. |
| 151 | "workspaceId": { # 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. # The ID of the workspace. |
| 152 | "name": "A String", # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method. |
| 153 | "repoId": { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 154 | "uid": "A String", # A server-assigned, globally unique identifier. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 155 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 156 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 157 | "projectId": "A String", # The ID of the project. |
| 158 | }, |
| 159 | }, |
| 160 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 161 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 162 | "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform). # A SourceContext referring to a revision in a cloud repo. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 163 | "aliasName": "A String", # The name of an alias (branch, tag, etc.). |
| 164 | "revisionId": "A String", # A revision ID. |
| 165 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 166 | "name": "A String", # The alias name. |
| 167 | "kind": "A String", # The alias kind. |
| 168 | }, |
| 169 | "repoId": { # A unique identifier for a cloud repo. # The ID of the repo. |
| 170 | "uid": "A String", # A server-assigned, globally unique identifier. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 171 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 172 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 173 | "projectId": "A String", # The ID of the project. |
| 174 | }, |
| 175 | }, |
| 176 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 177 | }, |
| 178 | ], |
| 179 | "isInactive": True or False, # If set to `true`, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped. |
| 180 | "extSourceContexts": [ # References to the locations and revisions of the source code used in the deployed application. |
| 181 | { # An ExtendedSourceContext is a SourceContext combined with additional details describing the context. |
| 182 | "context": { # 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. # Any source context. |
| 183 | "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project. |
| 184 | "aliasName": "A String", # The name of an alias (branch, tag, etc.). |
| 185 | "revisionId": "A String", # A revision (commit) ID. |
| 186 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 187 | "name": "A String", # The alias name. |
| 188 | "kind": "A String", # The alias kind. |
| 189 | }, |
| 190 | "hostUri": "A String", # The URI of a running Gerrit instance. |
| 191 | "gerritProject": "A String", # 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. |
| 192 | }, |
| 193 | "git": { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub). # A SourceContext referring to any third party Git repo (e.g. GitHub). |
| 194 | "revisionId": "A String", # Git commit hash. required. |
| 195 | "url": "A String", # Git repository URL. |
| 196 | }, |
| 197 | "cloudWorkspace": { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace. |
| 198 | "snapshotId": "A String", # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot. |
| 199 | "workspaceId": { # 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. # The ID of the workspace. |
| 200 | "name": "A String", # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method. |
| 201 | "repoId": { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace. |
| 202 | "uid": "A String", # A server-assigned, globally unique identifier. |
| 203 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name. |
| 204 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 205 | "projectId": "A String", # The ID of the project. |
| 206 | }, |
| 207 | }, |
| 208 | }, |
| 209 | }, |
| 210 | "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform). # A SourceContext referring to a revision in a cloud repo. |
| 211 | "aliasName": "A String", # The name of an alias (branch, tag, etc.). |
| 212 | "revisionId": "A String", # A revision ID. |
| 213 | "aliasContext": { # An alias to a repo revision. # An alias, which may be a branch or tag. |
| 214 | "name": "A String", # The alias name. |
| 215 | "kind": "A String", # The alias kind. |
| 216 | }, |
| 217 | "repoId": { # A unique identifier for a cloud repo. # The ID of the repo. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 218 | "uid": "A String", # A server-assigned, globally unique identifier. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 219 | "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 220 | "repoName": "A String", # The name of the repo. Leave empty for the default repo. |
| 221 | "projectId": "A String", # The ID of the project. |
| 222 | }, |
| 223 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 224 | }, |
| 225 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 226 | "labels": { # Labels with user defined metadata. |
| 227 | "a_key": "A String", |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 228 | }, |
| 229 | }, |
| 230 | ], |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 231 | }, |
| 232 | ], |
| 233 | }</pre> |
| 234 | </div> |
| 235 | |
| 236 | </body></html> |