blob: ec5f36ee65ddb89eb45e905c255332b91be58139 [file] [log] [blame]
Takashi Matsuo06694102015-09-11 13:55:40 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="clouddebugger_v2.html">Cloud Debugger API</a> . <a href="clouddebugger_v2.controller.html">controller</a> . <a href="clouddebugger_v2.controller.debuggees.html">debuggees</a></h1>
Takashi Matsuo06694102015-09-11 13:55:40 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="clouddebugger_v2.controller.debuggees.breakpoints.html">breakpoints()</a></code>
79</p>
80<p class="firstline">Returns the breakpoints Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#register">register(body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040084<p class="firstline">Registers the debuggee with the controller service.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070085<h3>Method Details</h3>
86<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code class="details" id="register">register(body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040088 <pre>Registers the debuggee with the controller service.
89
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090All agents attached to the same application must call this method with
91exactly the same request content to get back the same stable `debuggee_id`.
92Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
93is returned from any controller method.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040094
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095This protocol allows the controller service to disable debuggees, recover
96from data loss, or change the `debuggee_id` format. Agents must handle
97`debuggee_id` value changing upon re-registration.
Takashi Matsuo06694102015-09-11 13:55:40 -070098
99Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700100 body: object, The request body.
Takashi Matsuo06694102015-09-11 13:55:40 -0700101 The object takes the form of:
102
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800103{ # Request to register a debuggee.
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 &quot;debuggee&quot;: { # Represents the debugged application. The application may include one or more # Required. Debuggee information to register.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400105 # The fields `project`, `uniquifier`, `description` and `agent_version`
106 # of the debuggee must be set.
107 # replicated processes executing the same code. Each of these processes is
108 # attached with a debugger agent, carrying out the debugging commands.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109 # Agents attached to the same debuggee identify themselves as such by using
110 # exactly the same Debuggee message value when registering.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700111 &quot;sourceContexts&quot;: [ # References to the locations and revisions of the source code used in the
112 # deployed application.
113 { # A SourceContext is a reference to a tree of files. A SourceContext together
114 # with a path point to a unique revision of a single file or directory.
115 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g. GitHub).
116 # repository (e.g. GitHub).
117 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
118 # required.
119 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
120 },
121 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
122 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
123 # &quot;project/subproject&quot; is a valid project name.
124 # The &quot;repo name&quot; is hostURI/project.
125 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
126 &quot;name&quot;: &quot;A String&quot;, # The alias name.
127 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
128 },
129 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
130 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
131 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
132 },
133 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a cloud # A SourceContext referring to a revision in a cloud repo.
134 # repo (a repo hosted by the Google Cloud Platform).
135 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
136 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
137 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
138 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
139 # (e.g. winged-cargo-31) and a repo name within that project.
140 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
141 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
142 },
143 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
144 },
145 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
146 &quot;name&quot;: &quot;A String&quot;, # The alias name.
147 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
148 },
149 },
150 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
151 &quot;workspaceId&quot;: { # A CloudWorkspaceId is a unique identifier for a cloud workspace. # The ID of the workspace.
152 # A cloud workspace is a place associated with a repo where modified files
153 # can be stored before they are committed.
154 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name
155 # chosen by the client in the Source API&#x27;s CreateWorkspace method.
156 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
157 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
158 # (e.g. winged-cargo-31) and a repo name within that project.
159 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
160 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
161 },
162 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
163 },
164 },
165 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot.
166 # An empty snapshot_id refers to the most recent snapshot.
167 },
168 },
169 ],
170 &quot;labels&quot;: { # A set of custom debuggee properties, populated by the agent, to be
171 # displayed to the user.
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;project&quot;: &quot;A String&quot;, # Project the debuggee is associated with.
175 # Use project number or id when registering a Google Cloud Platform project.
176 &quot;isDisabled&quot;: True or False, # If set to `true`, indicates that the agent should disable itself and
177 # detach from the debuggee.
178 &quot;uniquifier&quot;: &quot;A String&quot;, # Uniquifier to further distinguish the application.
179 # It is possible that different applications might have identical values in
180 # the debuggee message, thus, incorrectly identified as a single application
181 # by the Controller service. This field adds salt to further distinguish the
182 # application. Agents should consider seeding this field with value that
183 # identifies the code, binary, configuration and environment.
184 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the debuggee.
185 # Including a human-readable project name, environment name and version
186 # information is recommended.
187 &quot;extSourceContexts&quot;: [ # References to the locations and revisions of the source code used in the
188 # deployed application.
189 { # An ExtendedSourceContext is a SourceContext combined with additional
190 # details describing the context.
Bu Sun Kim65020912020-05-20 12:08:20 -0700191 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together # Any source context.
192 # with a path point to a unique revision of a single file or directory.
193 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g. GitHub).
194 # repository (e.g. GitHub).
195 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
196 # required.
197 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
198 },
199 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
201 # &quot;project/subproject&quot; is a valid project name.
202 # The &quot;repo name&quot; is hostURI/project.
203 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Bu Sun Kim65020912020-05-20 12:08:20 -0700204 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700205 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700207 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
208 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
209 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 },
211 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a cloud # A SourceContext referring to a revision in a cloud repo.
212 # repo (a repo hosted by the Google Cloud Platform).
213 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
214 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
215 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
216 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
217 # (e.g. winged-cargo-31) and a repo name within that project.
218 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
219 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
220 },
221 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
222 },
223 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700225 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Bu Sun Kim65020912020-05-20 12:08:20 -0700226 },
227 },
228 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
Bu Sun Kim65020912020-05-20 12:08:20 -0700229 &quot;workspaceId&quot;: { # A CloudWorkspaceId is a unique identifier for a cloud workspace. # The ID of the workspace.
230 # A cloud workspace is a place associated with a repo where modified files
231 # can be stored before they are committed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700232 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name
233 # chosen by the client in the Source API&#x27;s CreateWorkspace method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
235 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
236 # (e.g. winged-cargo-31) and a repo name within that project.
237 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
238 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
239 },
240 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
241 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700243 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot.
244 # An empty snapshot_id refers to the most recent snapshot.
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 },
246 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700247 &quot;labels&quot;: { # Labels with user defined metadata.
248 &quot;a_key&quot;: &quot;A String&quot;,
249 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700250 },
251 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700252 &quot;status&quot;: { # Represents a contextual status message. # Human readable message to be displayed to the user about this debuggee.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400253 # Absence of this field indicates no status. The message can be either
254 # informational or an error status.
255 # The message can indicate an error or informational status, and refer to
256 # specific parts of the containing object.
257 # For example, the `Breakpoint.status` field can indicate an error referring
258 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
260 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700261 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400262 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
263 # character.
264 #
265 # Examples:
266 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700267 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400268 # is loaded. Again, $0 is very important.`
269 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700270 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
271 &quot;A String&quot;,
272 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700273 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700275 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700276 &quot;isInactive&quot;: True or False, # If set to `true`, indicates that Controller service does not detect any
277 # activity from the debuggee agents and the application is possibly stopped.
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;canaryMode&quot;: &quot;A String&quot;, # Used when setting breakpoint canary for this debuggee.
279 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the debuggee generated by the controller service.
280 &quot;agentVersion&quot;: &quot;A String&quot;, # Version ID of the agent.
281 # Schema: `domain/language-platform/vmajor.minor` (for example
282 # `google.com/java-gcp/v1.1`).
Takashi Matsuo06694102015-09-11 13:55:40 -0700283 },
284 }
285
286 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700290
291Returns:
292 An object of the form:
293
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800294 { # Response for registering a debuggee.
Bu Sun Kim65020912020-05-20 12:08:20 -0700295 &quot;debuggee&quot;: { # Represents the debugged application. The application may include one or more # Debuggee resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700296 # The field `id` is guaranteed to be set (in addition to the echoed fields).
297 # If the field `is_disabled` is set to `true`, the agent should disable
298 # itself by removing all breakpoints and detaching from the application.
299 # It should however continue to poll `RegisterDebuggee` until reenabled.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400300 # replicated processes executing the same code. Each of these processes is
301 # attached with a debugger agent, carrying out the debugging commands.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700302 # Agents attached to the same debuggee identify themselves as such by using
303 # exactly the same Debuggee message value when registering.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700304 &quot;sourceContexts&quot;: [ # References to the locations and revisions of the source code used in the
305 # deployed application.
306 { # A SourceContext is a reference to a tree of files. A SourceContext together
307 # with a path point to a unique revision of a single file or directory.
308 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g. GitHub).
309 # repository (e.g. GitHub).
310 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
311 # required.
312 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
313 },
314 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
315 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
316 # &quot;project/subproject&quot; is a valid project name.
317 # The &quot;repo name&quot; is hostURI/project.
318 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
319 &quot;name&quot;: &quot;A String&quot;, # The alias name.
320 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
321 },
322 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
323 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
324 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
325 },
326 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a cloud # A SourceContext referring to a revision in a cloud repo.
327 # repo (a repo hosted by the Google Cloud Platform).
328 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
329 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
330 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
331 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
332 # (e.g. winged-cargo-31) and a repo name within that project.
333 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
334 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
335 },
336 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
337 },
338 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
339 &quot;name&quot;: &quot;A String&quot;, # The alias name.
340 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
341 },
342 },
343 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
344 &quot;workspaceId&quot;: { # A CloudWorkspaceId is a unique identifier for a cloud workspace. # The ID of the workspace.
345 # A cloud workspace is a place associated with a repo where modified files
346 # can be stored before they are committed.
347 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name
348 # chosen by the client in the Source API&#x27;s CreateWorkspace method.
349 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
350 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
351 # (e.g. winged-cargo-31) and a repo name within that project.
352 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
353 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
354 },
355 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
356 },
357 },
358 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot.
359 # An empty snapshot_id refers to the most recent snapshot.
360 },
361 },
362 ],
363 &quot;labels&quot;: { # A set of custom debuggee properties, populated by the agent, to be
364 # displayed to the user.
365 &quot;a_key&quot;: &quot;A String&quot;,
366 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;project&quot;: &quot;A String&quot;, # Project the debuggee is associated with.
368 # Use project number or id when registering a Google Cloud Platform project.
369 &quot;isDisabled&quot;: True or False, # If set to `true`, indicates that the agent should disable itself and
370 # detach from the debuggee.
371 &quot;uniquifier&quot;: &quot;A String&quot;, # Uniquifier to further distinguish the application.
372 # It is possible that different applications might have identical values in
373 # the debuggee message, thus, incorrectly identified as a single application
374 # by the Controller service. This field adds salt to further distinguish the
375 # application. Agents should consider seeding this field with value that
376 # identifies the code, binary, configuration and environment.
377 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the debuggee.
378 # Including a human-readable project name, environment name and version
379 # information is recommended.
380 &quot;extSourceContexts&quot;: [ # References to the locations and revisions of the source code used in the
381 # deployed application.
382 { # An ExtendedSourceContext is a SourceContext combined with additional
383 # details describing the context.
Bu Sun Kim65020912020-05-20 12:08:20 -0700384 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together # Any source context.
385 # with a path point to a unique revision of a single file or directory.
386 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g. GitHub).
387 # repository (e.g. GitHub).
388 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
389 # required.
390 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
391 },
392 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
394 # &quot;project/subproject&quot; is a valid project name.
395 # The &quot;repo name&quot; is hostURI/project.
396 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Bu Sun Kim65020912020-05-20 12:08:20 -0700397 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700398 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Bu Sun Kim65020912020-05-20 12:08:20 -0700399 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700400 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
401 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
402 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Bu Sun Kim65020912020-05-20 12:08:20 -0700403 },
404 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a cloud # A SourceContext referring to a revision in a cloud repo.
405 # repo (a repo hosted by the Google Cloud Platform).
406 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
407 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
408 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
409 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
410 # (e.g. winged-cargo-31) and a repo name within that project.
411 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
412 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
413 },
414 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
415 },
416 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Bu Sun Kim65020912020-05-20 12:08:20 -0700417 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700418 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Bu Sun Kim65020912020-05-20 12:08:20 -0700419 },
420 },
421 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
Bu Sun Kim65020912020-05-20 12:08:20 -0700422 &quot;workspaceId&quot;: { # A CloudWorkspaceId is a unique identifier for a cloud workspace. # The ID of the workspace.
423 # A cloud workspace is a place associated with a repo where modified files
424 # can be stored before they are committed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700425 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name
426 # chosen by the client in the Source API&#x27;s CreateWorkspace method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
428 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID # A combination of a project ID and a repo name.
429 # (e.g. winged-cargo-31) and a repo name within that project.
430 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
431 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
432 },
433 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
434 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700435 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700436 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot.
437 # An empty snapshot_id refers to the most recent snapshot.
Bu Sun Kim65020912020-05-20 12:08:20 -0700438 },
439 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700440 &quot;labels&quot;: { # Labels with user defined metadata.
441 &quot;a_key&quot;: &quot;A String&quot;,
442 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700443 },
444 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700445 &quot;status&quot;: { # Represents a contextual status message. # Human readable message to be displayed to the user about this debuggee.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400446 # Absence of this field indicates no status. The message can be either
447 # informational or an error status.
448 # The message can indicate an error or informational status, and refer to
449 # specific parts of the containing object.
450 # For example, the `Breakpoint.status` field can indicate an error referring
451 # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700452 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
453 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 &quot;format&quot;: &quot;A String&quot;, # Format template for the message. The `format` uses placeholders `$0`,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400455 # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
456 # character.
457 #
458 # Examples:
459 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700460 # * `Failed to load &#x27;$0&#x27; which helps debug $1 the first time it
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400461 # is loaded. Again, $0 is very important.`
462 # * `Please pay $$10 to use $0 instead of $1.`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700463 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
464 &quot;A String&quot;,
465 ],
Takashi Matsuo06694102015-09-11 13:55:40 -0700466 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700467 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700468 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700469 &quot;isInactive&quot;: True or False, # If set to `true`, indicates that Controller service does not detect any
470 # activity from the debuggee agents and the application is possibly stopped.
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;canaryMode&quot;: &quot;A String&quot;, # Used when setting breakpoint canary for this debuggee.
472 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the debuggee generated by the controller service.
473 &quot;agentVersion&quot;: &quot;A String&quot;, # Version ID of the agent.
474 # Schema: `domain/language-platform/vmajor.minor` (for example
475 # `google.com/java-gcp/v1.1`).
Takashi Matsuo06694102015-09-11 13:55:40 -0700476 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 &quot;agentId&quot;: &quot;A String&quot;, # A unique ID generated for the agent.
Dan O'Mearadd494642020-05-01 07:42:23 -0700478 # Each RegisterDebuggee request will generate a new agent ID.
Takashi Matsuo06694102015-09-11 13:55:40 -0700479 }</pre>
480</div>
481
482</body></html>