google-cloud-debugger 0.36.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +2 -1
  3. data/CHANGELOG.md +47 -0
  4. data/CONTRIBUTING.md +4 -4
  5. data/LOGGING.md +1 -1
  6. data/OVERVIEW.md +28 -59
  7. data/TROUBLESHOOTING.md +2 -8
  8. data/ext/google/cloud/debugger/debugger_c/tracer.c +8 -33
  9. data/lib/google-cloud-debugger.rb +14 -15
  10. data/lib/google/cloud/debugger.rb +18 -16
  11. data/lib/google/cloud/debugger/agent.rb +4 -1
  12. data/lib/google/cloud/debugger/breakpoint.rb +9 -9
  13. data/lib/google/cloud/debugger/breakpoint/evaluator.rb +19 -25
  14. data/lib/google/cloud/debugger/breakpoint/source_location.rb +6 -6
  15. data/lib/google/cloud/debugger/breakpoint/stack_frame.rb +5 -5
  16. data/lib/google/cloud/debugger/breakpoint/status_message.rb +4 -6
  17. data/lib/google/cloud/debugger/breakpoint/variable.rb +8 -11
  18. data/lib/google/cloud/debugger/breakpoint/variable_table.rb +1 -1
  19. data/lib/google/cloud/debugger/credentials.rb +9 -6
  20. data/lib/google/cloud/debugger/debuggee.rb +4 -4
  21. data/lib/google/cloud/debugger/middleware.rb +1 -1
  22. data/lib/google/cloud/debugger/rails.rb +2 -2
  23. data/lib/google/cloud/debugger/service.rb +28 -66
  24. data/lib/google/cloud/debugger/snappoint.rb +4 -7
  25. data/lib/google/cloud/debugger/transmitter.rb +1 -1
  26. data/lib/google/cloud/debugger/version.rb +1 -1
  27. metadata +14 -72
  28. data/lib/google/cloud/debugger/v2.rb +0 -243
  29. data/lib/google/cloud/debugger/v2/controller2_client.rb +0 -373
  30. data/lib/google/cloud/debugger/v2/controller2_client_config.json +0 -41
  31. data/lib/google/cloud/debugger/v2/credentials.rb +0 -42
  32. data/lib/google/cloud/debugger/v2/debugger2_client.rb +0 -481
  33. data/lib/google/cloud/debugger/v2/debugger2_client_config.json +0 -51
  34. data/lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/controller.rb +0 -91
  35. data/lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb +0 -443
  36. data/lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/debugger.rb +0 -151
  37. data/lib/google/cloud/debugger/v2/doc/google/devtools/source/v1/source_context.rb +0 -162
  38. data/lib/google/cloud/debugger/v2/doc/google/protobuf/empty.rb +0 -29
  39. data/lib/google/cloud/debugger/v2/doc/google/protobuf/timestamp.rb +0 -113
  40. data/lib/google/devtools/clouddebugger/v2/controller_pb.rb +0 -50
  41. data/lib/google/devtools/clouddebugger/v2/controller_services_pb.rb +0 -98
  42. data/lib/google/devtools/clouddebugger/v2/data_pb.rb +0 -108
  43. data/lib/google/devtools/clouddebugger/v2/debugger_pb.rb +0 -77
  44. data/lib/google/devtools/clouddebugger/v2/debugger_services_pb.rb +0 -66
  45. data/lib/google/devtools/source/v1/source_context_pb.rb +0 -90
@@ -1,51 +0,0 @@
1
- {
2
- "interfaces": {
3
- "google.devtools.clouddebugger.v2.Debugger2": {
4
- "retry_codes": {
5
- "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
8
- ],
9
- "non_idempotent": []
10
- },
11
- "retry_params": {
12
- "default": {
13
- "initial_retry_delay_millis": 100,
14
- "retry_delay_multiplier": 1.3,
15
- "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 60000,
17
- "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 60000,
19
- "total_timeout_millis": 600000
20
- }
21
- },
22
- "methods": {
23
- "DeleteBreakpoint": {
24
- "timeout_millis": 60000,
25
- "retry_codes_name": "idempotent",
26
- "retry_params_name": "default"
27
- },
28
- "SetBreakpoint": {
29
- "timeout_millis": 60000,
30
- "retry_codes_name": "non_idempotent",
31
- "retry_params_name": "default"
32
- },
33
- "GetBreakpoint": {
34
- "timeout_millis": 60000,
35
- "retry_codes_name": "idempotent",
36
- "retry_params_name": "default"
37
- },
38
- "ListBreakpoints": {
39
- "timeout_millis": 60000,
40
- "retry_codes_name": "idempotent",
41
- "retry_params_name": "default"
42
- },
43
- "ListDebuggees": {
44
- "timeout_millis": 60000,
45
- "retry_codes_name": "idempotent",
46
- "retry_params_name": "default"
47
- }
48
- }
49
- }
50
- }
51
- }
@@ -1,91 +0,0 @@
1
- # Copyright 2020 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
-
16
- module Google
17
- module Devtools
18
- module Clouddebugger
19
- module V2
20
- # Request to register a debuggee.
21
- # @!attribute [rw] debuggee
22
- # @return [Google::Devtools::Clouddebugger::V2::Debuggee]
23
- # Required. Debuggee information to register.
24
- # The fields `project`, `uniquifier`, `description` and `agent_version`
25
- # of the debuggee must be set.
26
- class RegisterDebuggeeRequest; end
27
-
28
- # Response for registering a debuggee.
29
- # @!attribute [rw] debuggee
30
- # @return [Google::Devtools::Clouddebugger::V2::Debuggee]
31
- # Debuggee resource.
32
- # The field `id` is guaranteed to be set (in addition to the echoed fields).
33
- # If the field `is_disabled` is set to `true`, the agent should disable
34
- # itself by removing all breakpoints and detaching from the application.
35
- # It should however continue to poll `RegisterDebuggee` until reenabled.
36
- class RegisterDebuggeeResponse; end
37
-
38
- # Request to list active breakpoints.
39
- # @!attribute [rw] debuggee_id
40
- # @return [String]
41
- # Required. Identifies the debuggee.
42
- # @!attribute [rw] wait_token
43
- # @return [String]
44
- # A token that, if specified, blocks the method call until the list
45
- # of active breakpoints has changed, or a server-selected timeout has
46
- # expired. The value should be set from the `next_wait_token` field in
47
- # the last response. The initial value should be set to `"init"`.
48
- # @!attribute [rw] success_on_timeout
49
- # @return [true, false]
50
- # If set to `true` (recommended), returns `google.rpc.Code.OK` status and
51
- # sets the `wait_expired` response field to `true` when the server-selected
52
- # timeout has expired.
53
- #
54
- # If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
55
- # when the server-selected timeout has expired.
56
- class ListActiveBreakpointsRequest; end
57
-
58
- # Response for listing active breakpoints.
59
- # @!attribute [rw] breakpoints
60
- # @return [Array<Google::Devtools::Clouddebugger::V2::Breakpoint>]
61
- # List of all active breakpoints.
62
- # The fields `id` and `location` are guaranteed to be set on each breakpoint.
63
- # @!attribute [rw] next_wait_token
64
- # @return [String]
65
- # A token that can be used in the next method call to block until
66
- # the list of breakpoints changes.
67
- # @!attribute [rw] wait_expired
68
- # @return [true, false]
69
- # If set to `true`, indicates that there is no change to the
70
- # list of active breakpoints and the server-selected timeout has expired.
71
- # The `breakpoints` field would be empty and should be ignored.
72
- class ListActiveBreakpointsResponse; end
73
-
74
- # Request to update an active breakpoint.
75
- # @!attribute [rw] debuggee_id
76
- # @return [String]
77
- # Required. Identifies the debuggee being debugged.
78
- # @!attribute [rw] breakpoint
79
- # @return [Google::Devtools::Clouddebugger::V2::Breakpoint]
80
- # Required. Updated breakpoint information.
81
- # The field `id` must be set.
82
- # The agent must echo all Breakpoint specification fields in the update.
83
- class UpdateActiveBreakpointRequest; end
84
-
85
- # Response for updating an active breakpoint.
86
- # The message is defined to allow future extensions.
87
- class UpdateActiveBreakpointResponse; end
88
- end
89
- end
90
- end
91
- end
@@ -1,443 +0,0 @@
1
- # Copyright 2020 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
-
16
- module Google
17
- module Devtools
18
- module Clouddebugger
19
- module V2
20
- # Represents a message with parameters.
21
- # @!attribute [rw] format
22
- # @return [String]
23
- # Format template for the message. The `format` uses placeholders `$0`,
24
- # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
25
- # character.
26
- #
27
- # Examples:
28
- #
29
- # * `Failed to load '$0' which helps debug $1 the first time it
30
- # is loaded. Again, $0 is very important.`
31
- # * `Please pay $$10 to use $0 instead of $1.`
32
- # @!attribute [rw] parameters
33
- # @return [Array<String>]
34
- # Optional parameters to be embedded into the message.
35
- class FormatMessage; end
36
-
37
- # Represents a contextual status message.
38
- # The message can indicate an error or informational status, and refer to
39
- # specific parts of the containing object.
40
- # For example, the `Breakpoint.status` field can indicate an error referring
41
- # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
42
- # @!attribute [rw] is_error
43
- # @return [true, false]
44
- # Distinguishes errors from informational messages.
45
- # @!attribute [rw] refers_to
46
- # @return [Google::Devtools::Clouddebugger::V2::StatusMessage::Reference]
47
- # Reference to which the message applies.
48
- # @!attribute [rw] description
49
- # @return [Google::Devtools::Clouddebugger::V2::FormatMessage]
50
- # Status message text.
51
- class StatusMessage
52
- # Enumerates references to which the message applies.
53
- module Reference
54
- # Status doesn't refer to any particular input.
55
- UNSPECIFIED = 0
56
-
57
- # Status applies to the breakpoint and is related to its location.
58
- BREAKPOINT_SOURCE_LOCATION = 3
59
-
60
- # Status applies to the breakpoint and is related to its condition.
61
- BREAKPOINT_CONDITION = 4
62
-
63
- # Status applies to the breakpoint and is related to its expressions.
64
- BREAKPOINT_EXPRESSION = 7
65
-
66
- # Status applies to the breakpoint and is related to its age.
67
- BREAKPOINT_AGE = 8
68
-
69
- # Status applies to the entire variable.
70
- VARIABLE_NAME = 5
71
-
72
- # Status applies to variable value (variable name is valid).
73
- VARIABLE_VALUE = 6
74
- end
75
- end
76
-
77
- # Represents a location in the source code.
78
- # @!attribute [rw] path
79
- # @return [String]
80
- # Path to the source file within the source context of the target binary.
81
- # @!attribute [rw] line
82
- # @return [Integer]
83
- # Line inside the file. The first line in the file has the value `1`.
84
- # @!attribute [rw] column
85
- # @return [Integer]
86
- # Column within a line. The first column in a line as the value `1`.
87
- # Agents that do not support setting breakpoints on specific columns ignore
88
- # this field.
89
- class SourceLocation; end
90
-
91
- # Represents a variable or an argument possibly of a compound object type.
92
- # Note how the following variables are represented:
93
- #
94
- # 1) A simple variable:
95
- #
96
- # int x = 5
97
- #
98
- # { name: "x", value: "5", type: "int" } // Captured variable
99
- #
100
- # 2) A compound object:
101
- #
102
- # struct T {
103
- # int m1;
104
- # int m2;
105
- # };
106
- # T x = { 3, 7 };
107
- #
108
- # { // Captured variable
109
- # name: "x",
110
- # type: "T",
111
- # members { name: "m1", value: "3", type: "int" },
112
- # members { name: "m2", value: "7", type: "int" }
113
- # }
114
- #
115
- # 3) A pointer where the pointee was captured:
116
- #
117
- # T x = { 3, 7 };
118
- # T* p = &x;
119
- #
120
- # { // Captured variable
121
- # name: "p",
122
- # type: "T*",
123
- # value: "0x00500500",
124
- # members { name: "m1", value: "3", type: "int" },
125
- # members { name: "m2", value: "7", type: "int" }
126
- # }
127
- #
128
- # 4) A pointer where the pointee was not captured:
129
- #
130
- # T* p = new T;
131
- #
132
- # { // Captured variable
133
- # name: "p",
134
- # type: "T*",
135
- # value: "0x00400400"
136
- # status { is_error: true, description { format: "unavailable" } }
137
- # }
138
- #
139
- # The status should describe the reason for the missing value,
140
- # such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
141
- #
142
- # Note that a null pointer should not have members.
143
- #
144
- # 5) An unnamed value:
145
- #
146
- # int* p = new int(7);
147
- #
148
- # { // Captured variable
149
- # name: "p",
150
- # value: "0x00500500",
151
- # type: "int*",
152
- # members { value: "7", type: "int" } }
153
- #
154
- # 6) An unnamed pointer where the pointee was not captured:
155
- #
156
- # int* p = new int(7);
157
- # int** pp = &p;
158
- #
159
- # { // Captured variable
160
- # name: "pp",
161
- # value: "0x00500500",
162
- # type: "int**",
163
- # members {
164
- # value: "0x00400400",
165
- # type: "int*"
166
- # status {
167
- # is_error: true,
168
- # description: { format: "unavailable" } }
169
- # }
170
- # }
171
- # }
172
- #
173
- # To optimize computation, memory and network traffic, variables that
174
- # repeat in the output multiple times can be stored once in a shared
175
- # variable table and be referenced using the `var_table_index` field. The
176
- # variables stored in the shared table are nameless and are essentially
177
- # a partition of the complete variable. To reconstruct the complete
178
- # variable, merge the referencing variable with the referenced variable.
179
- #
180
- # When using the shared variable table, the following variables:
181
- #
182
- # T x = { 3, 7 };
183
- # T* p = &x;
184
- # T& r = x;
185
- #
186
- # { name: "x", var_table_index: 3, type: "T" } // Captured variables
187
- # { name: "p", value "0x00500500", type="T*", var_table_index: 3 }
188
- # { name: "r", type="T&", var_table_index: 3 }
189
- #
190
- # { // Shared variable table entry #3:
191
- # members { name: "m1", value: "3", type: "int" },
192
- # members { name: "m2", value: "7", type: "int" }
193
- # }
194
- #
195
- # Note that the pointer address is stored with the referencing variable
196
- # and not with the referenced variable. This allows the referenced variable
197
- # to be shared between pointers and references.
198
- #
199
- # The type field is optional. The debugger agent may or may not support it.
200
- # @!attribute [rw] name
201
- # @return [String]
202
- # Name of the variable, if any.
203
- # @!attribute [rw] value
204
- # @return [String]
205
- # Simple value of the variable.
206
- # @!attribute [rw] type
207
- # @return [String]
208
- # Variable type (e.g. `MyClass`). If the variable is split with
209
- # `var_table_index`, `type` goes next to `value`. The interpretation of
210
- # a type is agent specific. It is recommended to include the dynamic type
211
- # rather than a static type of an object.
212
- # @!attribute [rw] members
213
- # @return [Array<Google::Devtools::Clouddebugger::V2::Variable>]
214
- # Members contained or pointed to by the variable.
215
- # @!attribute [rw] var_table_index
216
- # @return [Google::Protobuf::Int32Value]
217
- # Reference to a variable in the shared variable table. More than
218
- # one variable can reference the same variable in the table. The
219
- # `var_table_index` field is an index into `variable_table` in Breakpoint.
220
- # @!attribute [rw] status
221
- # @return [Google::Devtools::Clouddebugger::V2::StatusMessage]
222
- # Status associated with the variable. This field will usually stay
223
- # unset. A status of a single variable only applies to that variable or
224
- # expression. The rest of breakpoint data still remains valid. Variables
225
- # might be reported in error state even when breakpoint is not in final
226
- # state.
227
- #
228
- # The message may refer to variable name with `refers_to` set to
229
- # `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
230
- # In either case variable value and members will be unset.
231
- #
232
- # Example of error message applied to name: `Invalid expression syntax`.
233
- #
234
- # Example of information message applied to value: `Not captured`.
235
- #
236
- # Examples of error message applied to value:
237
- #
238
- # * `Malformed string`,
239
- # * `Field f not found in class C`
240
- # * `Null pointer dereference`
241
- class Variable; end
242
-
243
- # Represents a stack frame context.
244
- # @!attribute [rw] function
245
- # @return [String]
246
- # Demangled function name at the call site.
247
- # @!attribute [rw] location
248
- # @return [Google::Devtools::Clouddebugger::V2::SourceLocation]
249
- # Source location of the call site.
250
- # @!attribute [rw] arguments
251
- # @return [Array<Google::Devtools::Clouddebugger::V2::Variable>]
252
- # Set of arguments passed to this function.
253
- # Note that this might not be populated for all stack frames.
254
- # @!attribute [rw] locals
255
- # @return [Array<Google::Devtools::Clouddebugger::V2::Variable>]
256
- # Set of local variables at the stack frame location.
257
- # Note that this might not be populated for all stack frames.
258
- class StackFrame; end
259
-
260
- # Represents the breakpoint specification, status and results.
261
- # @!attribute [rw] id
262
- # @return [String]
263
- # Breakpoint identifier, unique in the scope of the debuggee.
264
- # @!attribute [rw] action
265
- # @return [Google::Devtools::Clouddebugger::V2::Breakpoint::Action]
266
- # Action that the agent should perform when the code at the
267
- # breakpoint location is hit.
268
- # @!attribute [rw] location
269
- # @return [Google::Devtools::Clouddebugger::V2::SourceLocation]
270
- # Breakpoint source location.
271
- # @!attribute [rw] condition
272
- # @return [String]
273
- # Condition that triggers the breakpoint.
274
- # The condition is a compound boolean expression composed using expressions
275
- # in a programming language at the source location.
276
- # @!attribute [rw] expressions
277
- # @return [Array<String>]
278
- # List of read-only expressions to evaluate at the breakpoint location.
279
- # The expressions are composed using expressions in the programming language
280
- # at the source location. If the breakpoint action is `LOG`, the evaluated
281
- # expressions are included in log statements.
282
- # @!attribute [rw] log_message_format
283
- # @return [String]
284
- # Only relevant when action is `LOG`. Defines the message to log when
285
- # the breakpoint hits. The message may include parameter placeholders `$0`,
286
- # `$1`, etc. These placeholders are replaced with the evaluated value
287
- # of the appropriate expression. Expressions not referenced in
288
- # `log_message_format` are not logged.
289
- #
290
- # Example: `Message received, id = $0, count = $1` with
291
- # `expressions` = `[ message.id, message.count ]`.
292
- # @!attribute [rw] log_level
293
- # @return [Google::Devtools::Clouddebugger::V2::Breakpoint::LogLevel]
294
- # Indicates the severity of the log. Only relevant when action is `LOG`.
295
- # @!attribute [rw] is_final_state
296
- # @return [true, false]
297
- # When true, indicates that this is a final result and the
298
- # breakpoint state will not change from here on.
299
- # @!attribute [rw] create_time
300
- # @return [Google::Protobuf::Timestamp]
301
- # Time this breakpoint was created by the server in seconds resolution.
302
- # @!attribute [rw] final_time
303
- # @return [Google::Protobuf::Timestamp]
304
- # Time this breakpoint was finalized as seen by the server in seconds
305
- # resolution.
306
- # @!attribute [rw] user_email
307
- # @return [String]
308
- # E-mail address of the user that created this breakpoint
309
- # @!attribute [rw] status
310
- # @return [Google::Devtools::Clouddebugger::V2::StatusMessage]
311
- # Breakpoint status.
312
- #
313
- # The status includes an error flag and a human readable message.
314
- # This field is usually unset. The message can be either
315
- # informational or an error message. Regardless, clients should always
316
- # display the text message back to the user.
317
- #
318
- # Error status indicates complete failure of the breakpoint.
319
- #
320
- # Example (non-final state): `Still loading symbols...`
321
- #
322
- # Examples (final state):
323
- #
324
- # * `Invalid line number` referring to location
325
- # * `Field f not found in class C` referring to condition
326
- # @!attribute [rw] stack_frames
327
- # @return [Array<Google::Devtools::Clouddebugger::V2::StackFrame>]
328
- # The stack at breakpoint time, where stack_frames[0] represents the most
329
- # recently entered function.
330
- # @!attribute [rw] evaluated_expressions
331
- # @return [Array<Google::Devtools::Clouddebugger::V2::Variable>]
332
- # Values of evaluated expressions at breakpoint time.
333
- # The evaluated expressions appear in exactly the same order they
334
- # are listed in the `expressions` field.
335
- # The `name` field holds the original expression text, the `value` or
336
- # `members` field holds the result of the evaluated expression.
337
- # If the expression cannot be evaluated, the `status` inside the `Variable`
338
- # will indicate an error and contain the error text.
339
- # @!attribute [rw] variable_table
340
- # @return [Array<Google::Devtools::Clouddebugger::V2::Variable>]
341
- # The `variable_table` exists to aid with computation, memory and network
342
- # traffic optimization. It enables storing a variable once and reference
343
- # it from multiple variables, including variables stored in the
344
- # `variable_table` itself.
345
- # For example, the same `this` object, which may appear at many levels of
346
- # the stack, can have all of its data stored once in this table. The
347
- # stack frame variables then would hold only a reference to it.
348
- #
349
- # The variable `var_table_index` field is an index into this repeated field.
350
- # The stored objects are nameless and get their name from the referencing
351
- # variable. The effective variable is a merge of the referencing variable
352
- # and the referenced variable.
353
- # @!attribute [rw] labels
354
- # @return [Hash{String => String}]
355
- # A set of custom breakpoint properties, populated by the agent, to be
356
- # displayed to the user.
357
- class Breakpoint
358
- # Actions that can be taken when a breakpoint hits.
359
- # Agents should reject breakpoints with unsupported or unknown action values.
360
- module Action
361
- # Capture stack frame and variables and update the breakpoint.
362
- # The data is only captured once. After that the breakpoint is set
363
- # in a final state.
364
- CAPTURE = 0
365
-
366
- # Log each breakpoint hit. The breakpoint remains active until
367
- # deleted or expired.
368
- LOG = 1
369
- end
370
-
371
- # Log severity levels.
372
- module LogLevel
373
- # Information log message.
374
- INFO = 0
375
-
376
- # Warning log message.
377
- WARNING = 1
378
-
379
- # Error log message.
380
- ERROR = 2
381
- end
382
- end
383
-
384
- # Represents the debugged application. The application may include one or more
385
- # replicated processes executing the same code. Each of these processes is
386
- # attached with a debugger agent, carrying out the debugging commands.
387
- # Agents attached to the same debuggee identify themselves as such by using
388
- # exactly the same Debuggee message value when registering.
389
- # @!attribute [rw] id
390
- # @return [String]
391
- # Unique identifier for the debuggee generated by the controller service.
392
- # @!attribute [rw] project
393
- # @return [String]
394
- # Project the debuggee is associated with.
395
- # Use project number or id when registering a Google Cloud Platform project.
396
- # @!attribute [rw] uniquifier
397
- # @return [String]
398
- # Uniquifier to further distinguish the application.
399
- # It is possible that different applications might have identical values in
400
- # the debuggee message, thus, incorrectly identified as a single application
401
- # by the Controller service. This field adds salt to further distinguish the
402
- # application. Agents should consider seeding this field with value that
403
- # identifies the code, binary, configuration and environment.
404
- # @!attribute [rw] description
405
- # @return [String]
406
- # Human readable description of the debuggee.
407
- # Including a human-readable project name, environment name and version
408
- # information is recommended.
409
- # @!attribute [rw] is_inactive
410
- # @return [true, false]
411
- # If set to `true`, indicates that Controller service does not detect any
412
- # activity from the debuggee agents and the application is possibly stopped.
413
- # @!attribute [rw] agent_version
414
- # @return [String]
415
- # Version ID of the agent.
416
- # Schema: `domain/language-platform/vmajor.minor` (for example
417
- # `google.com/java-gcp/v1.1`).
418
- # @!attribute [rw] is_disabled
419
- # @return [true, false]
420
- # If set to `true`, indicates that the agent should disable itself and
421
- # detach from the debuggee.
422
- # @!attribute [rw] status
423
- # @return [Google::Devtools::Clouddebugger::V2::StatusMessage]
424
- # Human readable message to be displayed to the user about this debuggee.
425
- # Absence of this field indicates no status. The message can be either
426
- # informational or an error status.
427
- # @!attribute [rw] source_contexts
428
- # @return [Array<Google::Devtools::Source::V1::SourceContext>]
429
- # References to the locations and revisions of the source code used in the
430
- # deployed application.
431
- # @!attribute [rw] ext_source_contexts
432
- # @return [Array<Google::Devtools::Source::V1::ExtendedSourceContext>]
433
- # References to the locations and revisions of the source code used in the
434
- # deployed application.
435
- # @!attribute [rw] labels
436
- # @return [Hash{String => String}]
437
- # A set of custom debuggee properties, populated by the agent, to be
438
- # displayed to the user.
439
- class Debuggee; end
440
- end
441
- end
442
- end
443
- end