blob: c0dcde2d08740bfd1102b29db1ed1f590c14ffe1 [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#register">register(body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087<p class="firstline">Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070088<h3>Method Details</h3>
89<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070090 <code class="details" id="close">close()</code>
91 <pre>Close httplib2 connections.</pre>
92</div>
93
94<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070095 <code class="details" id="register">register(body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070096 <pre>Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.
Takashi Matsuo06694102015-09-11 13:55:40 -070097
98Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070099 body: object, The request body.
Takashi Matsuo06694102015-09-11 13:55:40 -0700100 The object takes the form of:
101
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800102{ # Request to register a debuggee.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800103 &quot;debuggee&quot;: { # 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. # Required. Debuggee information to register. The fields `project`, `uniquifier`, `description` and `agent_version` of the debuggee must be set.
104 &quot;agentVersion&quot;: &quot;A String&quot;, # Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for example `google.com/java-gcp/v1.1`).
105 &quot;canaryMode&quot;: &quot;A String&quot;, # Used when setting breakpoint canary for this debuggee.
106 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.
107 &quot;extSourceContexts&quot;: [ # References to the locations and revisions of the source code used in the deployed application.
108 { # An ExtendedSourceContext is a SourceContext combined with additional details describing the context.
109 &quot;context&quot;: { # 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.
110 &quot;cloudRepo&quot;: { # 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800111 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800112 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800113 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800114 },
115 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800116 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
117 &quot;projectRepoId&quot;: { # 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.
118 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
119 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
120 },
121 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
122 },
123 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800124 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800125 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800126 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800127 &quot;workspaceId&quot;: { # 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.
128 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API&#x27;s CreateWorkspace method.
129 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800130 &quot;projectRepoId&quot;: { # 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.
131 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
132 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
133 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800134 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800135 },
136 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800137 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800138 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
139 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
140 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
141 &quot;name&quot;: &quot;A String&quot;, # The alias name.
142 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800143 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is hostURI/project.
145 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
146 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
147 },
148 &quot;git&quot;: { # 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).
149 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash. required.
150 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
151 },
152 },
153 &quot;labels&quot;: { # Labels with user defined metadata.
154 &quot;a_key&quot;: &quot;A String&quot;,
155 },
156 },
157 ],
158 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the debuggee generated by the controller service.
159 &quot;isDisabled&quot;: True or False, # If set to `true`, indicates that the agent should disable itself and detach from the debuggee.
160 &quot;isInactive&quot;: 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.
161 &quot;labels&quot;: { # A set of custom debuggee properties, populated by the agent, to be displayed to the user.
162 &quot;a_key&quot;: &quot;A String&quot;,
163 },
164 &quot;project&quot;: &quot;A String&quot;, # Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.
165 &quot;sourceContexts&quot;: [ # References to the locations and revisions of the source code used in the deployed application.
166 { # 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.
167 &quot;cloudRepo&quot;: { # 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.
168 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
169 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
170 &quot;name&quot;: &quot;A String&quot;, # The alias name.
171 },
172 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
173 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
174 &quot;projectRepoId&quot;: { # 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.
175 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
176 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
177 },
178 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
179 },
180 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
181 },
182 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
183 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
184 &quot;workspaceId&quot;: { # 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.
185 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API&#x27;s CreateWorkspace method.
186 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800187 &quot;projectRepoId&quot;: { # 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.
188 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
189 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
190 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800191 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800192 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800193 },
194 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800195 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
196 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
197 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
198 &quot;name&quot;: &quot;A String&quot;, # The alias name.
199 },
200 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
201 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is hostURI/project.
202 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
203 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
204 },
205 &quot;git&quot;: { # 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).
206 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash. required.
207 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
208 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800209 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800210 ],
211 &quot;status&quot;: { # 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.
212 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
213 &quot;format&quot;: &quot;A String&quot;, # 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 &#x27;$0&#x27; which helps debug $1 the first time it is loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $1.`
214 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
215 &quot;A String&quot;,
216 ],
217 },
218 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
219 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700220 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800221 &quot;uniquifier&quot;: &quot;A String&quot;, # 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.
222 },
223}
Takashi Matsuo06694102015-09-11 13:55:40 -0700224
225 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400226 Allowed values
227 1 - v1 error format
228 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700229
230Returns:
231 An object of the form:
232
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800233 { # Response for registering a debuggee.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800234 &quot;agentId&quot;: &quot;A String&quot;, # A unique ID generated for the agent. Each RegisterDebuggee request will generate a new agent ID.
235 &quot;debuggee&quot;: { # 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. # Debuggee resource. The field `id` is guaranteed to be set (in addition to the echoed fields). If the field `is_disabled` is set to `true`, the agent should disable itself by removing all breakpoints and detaching from the application. It should however continue to poll `RegisterDebuggee` until reenabled.
236 &quot;agentVersion&quot;: &quot;A String&quot;, # Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for example `google.com/java-gcp/v1.1`).
237 &quot;canaryMode&quot;: &quot;A String&quot;, # Used when setting breakpoint canary for this debuggee.
238 &quot;description&quot;: &quot;A String&quot;, # Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.
239 &quot;extSourceContexts&quot;: [ # References to the locations and revisions of the source code used in the deployed application.
240 { # An ExtendedSourceContext is a SourceContext combined with additional details describing the context.
241 &quot;context&quot;: { # 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.
242 &quot;cloudRepo&quot;: { # 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800243 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800244 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 &quot;name&quot;: &quot;A String&quot;, # The alias name.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800246 },
247 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800248 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
249 &quot;projectRepoId&quot;: { # 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.
250 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
251 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
252 },
253 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
254 },
255 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800256 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800257 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800258 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800259 &quot;workspaceId&quot;: { # 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.
260 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API&#x27;s CreateWorkspace method.
261 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800262 &quot;projectRepoId&quot;: { # 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.
263 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
264 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
265 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800266 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800267 },
268 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800269 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800270 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
271 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
272 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
273 &quot;name&quot;: &quot;A String&quot;, # The alias name.
274 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800275 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800276 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is hostURI/project.
277 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
278 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
279 },
280 &quot;git&quot;: { # 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).
281 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash. required.
282 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
283 },
284 },
285 &quot;labels&quot;: { # Labels with user defined metadata.
286 &quot;a_key&quot;: &quot;A String&quot;,
287 },
288 },
289 ],
290 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for the debuggee generated by the controller service.
291 &quot;isDisabled&quot;: True or False, # If set to `true`, indicates that the agent should disable itself and detach from the debuggee.
292 &quot;isInactive&quot;: 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.
293 &quot;labels&quot;: { # A set of custom debuggee properties, populated by the agent, to be displayed to the user.
294 &quot;a_key&quot;: &quot;A String&quot;,
295 },
296 &quot;project&quot;: &quot;A String&quot;, # Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.
297 &quot;sourceContexts&quot;: [ # References to the locations and revisions of the source code used in the deployed application.
298 { # 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.
299 &quot;cloudRepo&quot;: { # 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.
300 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
301 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
302 &quot;name&quot;: &quot;A String&quot;, # The alias name.
303 },
304 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
305 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo.
306 &quot;projectRepoId&quot;: { # 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.
307 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
308 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
309 },
310 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
311 },
312 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
313 },
314 &quot;cloudWorkspace&quot;: { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
315 &quot;snapshotId&quot;: &quot;A String&quot;, # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
316 &quot;workspaceId&quot;: { # 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.
317 &quot;name&quot;: &quot;A String&quot;, # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API&#x27;s CreateWorkspace method.
318 &quot;repoId&quot;: { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800319 &quot;projectRepoId&quot;: { # 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.
320 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
321 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
322 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800323 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800324 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800325 },
326 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800327 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
328 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
329 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
330 &quot;name&quot;: &quot;A String&quot;, # The alias name.
331 },
332 &quot;aliasName&quot;: &quot;A String&quot;, # The name of an alias (branch, tag, etc.).
333 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is hostURI/project.
334 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
335 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
336 },
337 &quot;git&quot;: { # 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).
338 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash. required.
339 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
340 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800341 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800342 ],
343 &quot;status&quot;: { # 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.
344 &quot;description&quot;: { # Represents a message with parameters. # Status message text.
345 &quot;format&quot;: &quot;A String&quot;, # 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 &#x27;$0&#x27; which helps debug $1 the first time it is loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $1.`
346 &quot;parameters&quot;: [ # Optional parameters to be embedded into the message.
347 &quot;A String&quot;,
348 ],
349 },
350 &quot;isError&quot;: True or False, # Distinguishes errors from informational messages.
351 &quot;refersTo&quot;: &quot;A String&quot;, # Reference to which the message applies.
Takashi Matsuo06694102015-09-11 13:55:40 -0700352 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800353 &quot;uniquifier&quot;: &quot;A String&quot;, # 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.
354 },
355}</pre>
Takashi Matsuo06694102015-09-11 13:55:40 -0700356</div>
357
358</body></html>