google-apis-clouddebugger_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
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
+ # http://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
+ module Google
16
+ module Apis
17
+ module ClouddebuggerV2
18
+ # Version of the google-apis-clouddebugger_v2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20200807"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,470 @@
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
+ # http://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
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ClouddebuggerV2
24
+
25
+ class AliasContext
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Breakpoint
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CloudRepoSourceContext
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CloudWorkspaceId
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CloudWorkspaceSourceContext
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Debuggee
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Empty
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ExtendedSourceContext
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class FormatMessage
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GerritSourceContext
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GetBreakpointResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GitSourceContext
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListActiveBreakpointsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListBreakpointsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListDebuggeesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ProjectRepoId
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class RegisterDebuggeeRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class RegisterDebuggeeResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class RepoId
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class SetBreakpointResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class SourceContext
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class SourceLocation
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class StackFrame
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class StatusMessage
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class UpdateActiveBreakpointRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class UpdateActiveBreakpointResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Variable
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class AliasContext
188
+ # @private
189
+ class Representation < Google::Apis::Core::JsonRepresentation
190
+ property :kind, as: 'kind'
191
+ property :name, as: 'name'
192
+ end
193
+ end
194
+
195
+ class Breakpoint
196
+ # @private
197
+ class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :action, as: 'action'
199
+ property :canary_expire_time, as: 'canaryExpireTime'
200
+ property :condition, as: 'condition'
201
+ property :create_time, as: 'createTime'
202
+ collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
203
+
204
+ collection :expressions, as: 'expressions'
205
+ property :final_time, as: 'finalTime'
206
+ property :id, as: 'id'
207
+ property :is_final_state, as: 'isFinalState'
208
+ hash :labels, as: 'labels'
209
+ property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
210
+
211
+ property :log_level, as: 'logLevel'
212
+ property :log_message_format, as: 'logMessageFormat'
213
+ collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
214
+
215
+ property :state, as: 'state'
216
+ property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
217
+
218
+ property :user_email, as: 'userEmail'
219
+ collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
220
+
221
+ end
222
+ end
223
+
224
+ class CloudRepoSourceContext
225
+ # @private
226
+ class Representation < Google::Apis::Core::JsonRepresentation
227
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
228
+
229
+ property :alias_name, as: 'aliasName'
230
+ property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
231
+
232
+ property :revision_id, as: 'revisionId'
233
+ end
234
+ end
235
+
236
+ class CloudWorkspaceId
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :name, as: 'name'
240
+ property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
241
+
242
+ end
243
+ end
244
+
245
+ class CloudWorkspaceSourceContext
246
+ # @private
247
+ class Representation < Google::Apis::Core::JsonRepresentation
248
+ property :snapshot_id, as: 'snapshotId'
249
+ property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
250
+
251
+ end
252
+ end
253
+
254
+ class Debuggee
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ property :agent_version, as: 'agentVersion'
258
+ property :canary_mode, as: 'canaryMode'
259
+ property :description, as: 'description'
260
+ collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation
261
+
262
+ property :id, as: 'id'
263
+ property :is_disabled, as: 'isDisabled'
264
+ property :is_inactive, as: 'isInactive'
265
+ hash :labels, as: 'labels'
266
+ property :project, as: 'project'
267
+ collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
268
+
269
+ property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
270
+
271
+ property :uniquifier, as: 'uniquifier'
272
+ end
273
+ end
274
+
275
+ class Empty
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ end
279
+ end
280
+
281
+ class ExtendedSourceContext
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ property :context, as: 'context', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
285
+
286
+ hash :labels, as: 'labels'
287
+ end
288
+ end
289
+
290
+ class FormatMessage
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ property :format, as: 'format'
294
+ collection :parameters, as: 'parameters'
295
+ end
296
+ end
297
+
298
+ class GerritSourceContext
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
302
+
303
+ property :alias_name, as: 'aliasName'
304
+ property :gerrit_project, as: 'gerritProject'
305
+ property :host_uri, as: 'hostUri'
306
+ property :revision_id, as: 'revisionId'
307
+ end
308
+ end
309
+
310
+ class GetBreakpointResponse
311
+ # @private
312
+ class Representation < Google::Apis::Core::JsonRepresentation
313
+ property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
314
+
315
+ end
316
+ end
317
+
318
+ class GitSourceContext
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :revision_id, as: 'revisionId'
322
+ property :url, as: 'url'
323
+ end
324
+ end
325
+
326
+ class ListActiveBreakpointsResponse
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
330
+
331
+ property :next_wait_token, as: 'nextWaitToken'
332
+ property :wait_expired, as: 'waitExpired'
333
+ end
334
+ end
335
+
336
+ class ListBreakpointsResponse
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
340
+
341
+ property :next_wait_token, as: 'nextWaitToken'
342
+ end
343
+ end
344
+
345
+ class ListDebuggeesResponse
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
349
+
350
+ end
351
+ end
352
+
353
+ class ProjectRepoId
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ property :project_id, as: 'projectId'
357
+ property :repo_name, as: 'repoName'
358
+ end
359
+ end
360
+
361
+ class RegisterDebuggeeRequest
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
365
+
366
+ end
367
+ end
368
+
369
+ class RegisterDebuggeeResponse
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :agent_id, as: 'agentId'
373
+ property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
374
+
375
+ end
376
+ end
377
+
378
+ class RepoId
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
382
+
383
+ property :uid, as: 'uid'
384
+ end
385
+ end
386
+
387
+ class SetBreakpointResponse
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class SourceContext
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
399
+
400
+ property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
401
+
402
+ property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
403
+
404
+ property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
405
+
406
+ end
407
+ end
408
+
409
+ class SourceLocation
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :column, as: 'column'
413
+ property :line, as: 'line'
414
+ property :path, as: 'path'
415
+ end
416
+ end
417
+
418
+ class StackFrame
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
422
+
423
+ property :function, as: 'function'
424
+ collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
425
+
426
+ property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
427
+
428
+ end
429
+ end
430
+
431
+ class StatusMessage
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :description, as: 'description', class: Google::Apis::ClouddebuggerV2::FormatMessage, decorator: Google::Apis::ClouddebuggerV2::FormatMessage::Representation
435
+
436
+ property :is_error, as: 'isError'
437
+ property :refers_to, as: 'refersTo'
438
+ end
439
+ end
440
+
441
+ class UpdateActiveBreakpointRequest
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class UpdateActiveBreakpointResponse
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ end
453
+ end
454
+
455
+ class Variable
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
459
+
460
+ property :name, as: 'name'
461
+ property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
462
+
463
+ property :type, as: 'type'
464
+ property :value, as: 'value'
465
+ property :var_table_index, as: 'varTableIndex'
466
+ end
467
+ end
468
+ end
469
+ end
470
+ end