google-api-client 0.9.28 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
|
@@ -26,13 +26,13 @@ module Google
|
|
|
26
26
|
# @see http://cloud.google.com/debugger
|
|
27
27
|
module ClouddebuggerV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
30
|
-
|
|
31
|
-
# Manage cloud debugger
|
|
32
|
-
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
|
29
|
+
REVISION = '20170208'
|
|
33
30
|
|
|
34
31
|
# View and manage your data across Google Cloud Platform services
|
|
35
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
33
|
+
|
|
34
|
+
# Manage cloud debugger
|
|
35
|
+
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
end
|
|
@@ -22,109 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ClouddebuggerV2
|
|
24
24
|
|
|
25
|
-
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
|
26
|
-
# repo (a repo hosted by the Google Cloud Platform).
|
|
27
|
-
class CloudRepoSourceContext
|
|
28
|
-
include Google::Apis::Core::Hashable
|
|
29
|
-
|
|
30
|
-
# A revision ID.
|
|
31
|
-
# Corresponds to the JSON property `revisionId`
|
|
32
|
-
# @return [String]
|
|
33
|
-
attr_accessor :revision_id
|
|
34
|
-
|
|
35
|
-
# The name of an alias (branch, tag, etc.).
|
|
36
|
-
# Corresponds to the JSON property `aliasName`
|
|
37
|
-
# @return [String]
|
|
38
|
-
attr_accessor :alias_name
|
|
39
|
-
|
|
40
|
-
# A unique identifier for a cloud repo.
|
|
41
|
-
# Corresponds to the JSON property `repoId`
|
|
42
|
-
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
|
43
|
-
attr_accessor :repo_id
|
|
44
|
-
|
|
45
|
-
# An alias to a repo revision.
|
|
46
|
-
# Corresponds to the JSON property `aliasContext`
|
|
47
|
-
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
|
48
|
-
attr_accessor :alias_context
|
|
49
|
-
|
|
50
|
-
def initialize(**args)
|
|
51
|
-
update!(**args)
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
# Update properties of this object
|
|
55
|
-
def update!(**args)
|
|
56
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
57
|
-
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
|
58
|
-
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
|
59
|
-
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# Request to register a debuggee.
|
|
64
|
-
class RegisterDebuggeeRequest
|
|
65
|
-
include Google::Apis::Core::Hashable
|
|
66
|
-
|
|
67
|
-
# Represents the application to debug. The application may include one or more
|
|
68
|
-
# replicated processes executing the same code. Each of these processes is
|
|
69
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
|
70
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
|
71
|
-
# same field values when registering.
|
|
72
|
-
# Corresponds to the JSON property `debuggee`
|
|
73
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
74
|
-
attr_accessor :debuggee
|
|
75
|
-
|
|
76
|
-
def initialize(**args)
|
|
77
|
-
update!(**args)
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
# Update properties of this object
|
|
81
|
-
def update!(**args)
|
|
82
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
# Response for registering a debuggee.
|
|
87
|
-
class RegisterDebuggeeResponse
|
|
88
|
-
include Google::Apis::Core::Hashable
|
|
89
|
-
|
|
90
|
-
# Represents the application to debug. The application may include one or more
|
|
91
|
-
# replicated processes executing the same code. Each of these processes is
|
|
92
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
|
93
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
|
94
|
-
# same field values when registering.
|
|
95
|
-
# Corresponds to the JSON property `debuggee`
|
|
96
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
97
|
-
attr_accessor :debuggee
|
|
98
|
-
|
|
99
|
-
def initialize(**args)
|
|
100
|
-
update!(**args)
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
# Update properties of this object
|
|
104
|
-
def update!(**args)
|
|
105
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
106
|
-
end
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
# Response for getting breakpoint information.
|
|
110
|
-
class GetBreakpointResponse
|
|
111
|
-
include Google::Apis::Core::Hashable
|
|
112
|
-
|
|
113
|
-
# Represents the breakpoint specification, status and results.
|
|
114
|
-
# Corresponds to the JSON property `breakpoint`
|
|
115
|
-
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
|
116
|
-
attr_accessor :breakpoint
|
|
117
|
-
|
|
118
|
-
def initialize(**args)
|
|
119
|
-
update!(**args)
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
# Update properties of this object
|
|
123
|
-
def update!(**args)
|
|
124
|
-
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
|
125
|
-
end
|
|
126
|
-
end
|
|
127
|
-
|
|
128
25
|
# Represents a contextual status message.
|
|
129
26
|
# The message can indicate an error or informational status, and refer to
|
|
130
27
|
# specific parts of the containing object.
|
|
@@ -273,18 +170,6 @@ module Google
|
|
|
273
170
|
class Variable
|
|
274
171
|
include Google::Apis::Core::Hashable
|
|
275
172
|
|
|
276
|
-
# Reference to a variable in the shared variable table. More than
|
|
277
|
-
# one variable can reference the same variable in the table. The
|
|
278
|
-
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
|
279
|
-
# Corresponds to the JSON property `varTableIndex`
|
|
280
|
-
# @return [Fixnum]
|
|
281
|
-
attr_accessor :var_table_index
|
|
282
|
-
|
|
283
|
-
# Simple value of the variable.
|
|
284
|
-
# Corresponds to the JSON property `value`
|
|
285
|
-
# @return [String]
|
|
286
|
-
attr_accessor :value
|
|
287
|
-
|
|
288
173
|
# Members contained or pointed to by the variable.
|
|
289
174
|
# Corresponds to the JSON property `members`
|
|
290
175
|
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
@@ -312,18 +197,30 @@ module Google
|
|
|
312
197
|
# @return [String]
|
|
313
198
|
attr_accessor :type
|
|
314
199
|
|
|
200
|
+
# Reference to a variable in the shared variable table. More than
|
|
201
|
+
# one variable can reference the same variable in the table. The
|
|
202
|
+
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
|
203
|
+
# Corresponds to the JSON property `varTableIndex`
|
|
204
|
+
# @return [Fixnum]
|
|
205
|
+
attr_accessor :var_table_index
|
|
206
|
+
|
|
207
|
+
# Simple value of the variable.
|
|
208
|
+
# Corresponds to the JSON property `value`
|
|
209
|
+
# @return [String]
|
|
210
|
+
attr_accessor :value
|
|
211
|
+
|
|
315
212
|
def initialize(**args)
|
|
316
213
|
update!(**args)
|
|
317
214
|
end
|
|
318
215
|
|
|
319
216
|
# Update properties of this object
|
|
320
217
|
def update!(**args)
|
|
321
|
-
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
|
322
|
-
@value = args[:value] if args.key?(:value)
|
|
323
218
|
@members = args[:members] if args.key?(:members)
|
|
324
219
|
@status = args[:status] if args.key?(:status)
|
|
325
220
|
@name = args[:name] if args.key?(:name)
|
|
326
221
|
@type = args[:type] if args.key?(:type)
|
|
222
|
+
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
|
223
|
+
@value = args[:value] if args.key?(:value)
|
|
327
224
|
end
|
|
328
225
|
end
|
|
329
226
|
|
|
@@ -370,25 +267,25 @@ module Google
|
|
|
370
267
|
class RepoId
|
|
371
268
|
include Google::Apis::Core::Hashable
|
|
372
269
|
|
|
270
|
+
# A server-assigned, globally unique identifier.
|
|
271
|
+
# Corresponds to the JSON property `uid`
|
|
272
|
+
# @return [String]
|
|
273
|
+
attr_accessor :uid
|
|
274
|
+
|
|
373
275
|
# Selects a repo using a Google Cloud Platform project ID
|
|
374
276
|
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
375
277
|
# Corresponds to the JSON property `projectRepoId`
|
|
376
278
|
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
|
377
279
|
attr_accessor :project_repo_id
|
|
378
280
|
|
|
379
|
-
# A server-assigned, globally unique identifier.
|
|
380
|
-
# Corresponds to the JSON property `uid`
|
|
381
|
-
# @return [String]
|
|
382
|
-
attr_accessor :uid
|
|
383
|
-
|
|
384
281
|
def initialize(**args)
|
|
385
282
|
update!(**args)
|
|
386
283
|
end
|
|
387
284
|
|
|
388
285
|
# Update properties of this object
|
|
389
286
|
def update!(**args)
|
|
390
|
-
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
|
391
287
|
@uid = args[:uid] if args.key?(:uid)
|
|
288
|
+
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
|
392
289
|
end
|
|
393
290
|
end
|
|
394
291
|
|
|
@@ -450,6 +347,29 @@ module Google
|
|
|
450
347
|
end
|
|
451
348
|
end
|
|
452
349
|
|
|
350
|
+
# Response for listing debuggees.
|
|
351
|
+
class ListDebuggeesResponse
|
|
352
|
+
include Google::Apis::Core::Hashable
|
|
353
|
+
|
|
354
|
+
# List of debuggees accessible to the calling user.
|
|
355
|
+
# Note that the `description` field is the only human readable field
|
|
356
|
+
# that should be displayed to the user.
|
|
357
|
+
# The fields `debuggee.id` and `description` fields are guaranteed to be
|
|
358
|
+
# set on each debuggee.
|
|
359
|
+
# Corresponds to the JSON property `debuggees`
|
|
360
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
|
361
|
+
attr_accessor :debuggees
|
|
362
|
+
|
|
363
|
+
def initialize(**args)
|
|
364
|
+
update!(**args)
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
# Update properties of this object
|
|
368
|
+
def update!(**args)
|
|
369
|
+
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
|
|
453
373
|
# An alias to a repo revision.
|
|
454
374
|
class AliasContext
|
|
455
375
|
include Google::Apis::Core::Hashable
|
|
@@ -475,29 +395,6 @@ module Google
|
|
|
475
395
|
end
|
|
476
396
|
end
|
|
477
397
|
|
|
478
|
-
# Response for listing debuggees.
|
|
479
|
-
class ListDebuggeesResponse
|
|
480
|
-
include Google::Apis::Core::Hashable
|
|
481
|
-
|
|
482
|
-
# List of debuggees accessible to the calling user.
|
|
483
|
-
# Note that the `description` field is the only human readable field
|
|
484
|
-
# that should be displayed to the user.
|
|
485
|
-
# The fields `debuggee.id` and `description` fields are guaranteed to be
|
|
486
|
-
# set on each debuggee.
|
|
487
|
-
# Corresponds to the JSON property `debuggees`
|
|
488
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
|
489
|
-
attr_accessor :debuggees
|
|
490
|
-
|
|
491
|
-
def initialize(**args)
|
|
492
|
-
update!(**args)
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
# Update properties of this object
|
|
496
|
-
def update!(**args)
|
|
497
|
-
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
|
498
|
-
end
|
|
499
|
-
end
|
|
500
|
-
|
|
501
398
|
# A generic empty message that you can re-use to avoid defining duplicated
|
|
502
399
|
# empty messages in your APIs. A typical example is to use it as the request
|
|
503
400
|
# or the response type of an API method. For instance:
|
|
@@ -550,16 +447,49 @@ module Google
|
|
|
550
447
|
class Debuggee
|
|
551
448
|
include Google::Apis::Core::Hashable
|
|
552
449
|
|
|
450
|
+
# References to the locations and revisions of the source code used in the
|
|
451
|
+
# deployed application.
|
|
452
|
+
# Contexts describing a remote repo related to the source code
|
|
453
|
+
# have a `category` label of `remote_repo`. Source snapshot source
|
|
454
|
+
# contexts have a `category` of `snapshot`.
|
|
455
|
+
# Corresponds to the JSON property `extSourceContexts`
|
|
456
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
|
457
|
+
attr_accessor :ext_source_contexts
|
|
458
|
+
|
|
459
|
+
# A set of custom debuggee properties, populated by the agent, to be
|
|
460
|
+
# displayed to the user.
|
|
461
|
+
# Corresponds to the JSON property `labels`
|
|
462
|
+
# @return [Hash<String,String>]
|
|
463
|
+
attr_accessor :labels
|
|
464
|
+
|
|
465
|
+
# If set to `true`, indicates that the debuggee is considered as inactive by
|
|
466
|
+
# the Controller service.
|
|
467
|
+
# Corresponds to the JSON property `isInactive`
|
|
468
|
+
# @return [Boolean]
|
|
469
|
+
attr_accessor :is_inactive
|
|
470
|
+
alias_method :is_inactive?, :is_inactive
|
|
471
|
+
|
|
472
|
+
# Represents a contextual status message.
|
|
473
|
+
# The message can indicate an error or informational status, and refer to
|
|
474
|
+
# specific parts of the containing object.
|
|
475
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
|
476
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
|
477
|
+
# Corresponds to the JSON property `status`
|
|
478
|
+
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
479
|
+
attr_accessor :status
|
|
480
|
+
|
|
553
481
|
# Project the debuggee is associated with.
|
|
554
482
|
# Use the project number when registering a Google Cloud Platform project.
|
|
555
483
|
# Corresponds to the JSON property `project`
|
|
556
484
|
# @return [String]
|
|
557
485
|
attr_accessor :project
|
|
558
486
|
|
|
559
|
-
#
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
|
|
487
|
+
# If set to `true`, indicates that the agent should disable itself and
|
|
488
|
+
# detach from the debuggee.
|
|
489
|
+
# Corresponds to the JSON property `isDisabled`
|
|
490
|
+
# @return [Boolean]
|
|
491
|
+
attr_accessor :is_disabled
|
|
492
|
+
alias_method :is_disabled?, :is_disabled
|
|
563
493
|
|
|
564
494
|
# Version ID of the agent release. The version ID is structured as
|
|
565
495
|
# following: `domain/type/vmajor.minor` (for example
|
|
@@ -568,19 +498,10 @@ module Google
|
|
|
568
498
|
# @return [String]
|
|
569
499
|
attr_accessor :agent_version
|
|
570
500
|
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
# Corresponds to the JSON property `isDisabled`
|
|
574
|
-
# @return [Boolean]
|
|
575
|
-
attr_accessor :is_disabled
|
|
576
|
-
alias_method :is_disabled?, :is_disabled
|
|
577
|
-
|
|
578
|
-
# Human readable description of the debuggee.
|
|
579
|
-
# Including a human-readable project name, environment name and version
|
|
580
|
-
# information is recommended.
|
|
581
|
-
# Corresponds to the JSON property `description`
|
|
501
|
+
# Unique identifier for the debuggee generated by the controller service.
|
|
502
|
+
# Corresponds to the JSON property `id`
|
|
582
503
|
# @return [String]
|
|
583
|
-
attr_accessor :
|
|
504
|
+
attr_accessor :id
|
|
584
505
|
|
|
585
506
|
# Debuggee uniquifier within the project.
|
|
586
507
|
# Any string that identifies the application within the project can be used.
|
|
@@ -589,6 +510,13 @@ module Google
|
|
|
589
510
|
# @return [String]
|
|
590
511
|
attr_accessor :uniquifier
|
|
591
512
|
|
|
513
|
+
# Human readable description of the debuggee.
|
|
514
|
+
# Including a human-readable project name, environment name and version
|
|
515
|
+
# information is recommended.
|
|
516
|
+
# Corresponds to the JSON property `description`
|
|
517
|
+
# @return [String]
|
|
518
|
+
attr_accessor :description
|
|
519
|
+
|
|
592
520
|
# References to the locations and revisions of the source code used in the
|
|
593
521
|
# deployed application.
|
|
594
522
|
# NOTE: This field is deprecated. Consumers should use
|
|
@@ -598,80 +526,23 @@ module Google
|
|
|
598
526
|
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
|
599
527
|
attr_accessor :source_contexts
|
|
600
528
|
|
|
601
|
-
# References to the locations and revisions of the source code used in the
|
|
602
|
-
# deployed application.
|
|
603
|
-
# Contexts describing a remote repo related to the source code
|
|
604
|
-
# have a `category` label of `remote_repo`. Source snapshot source
|
|
605
|
-
# contexts have a `category` of `snapshot`.
|
|
606
|
-
# Corresponds to the JSON property `extSourceContexts`
|
|
607
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
|
608
|
-
attr_accessor :ext_source_contexts
|
|
609
|
-
|
|
610
|
-
# A set of custom debuggee properties, populated by the agent, to be
|
|
611
|
-
# displayed to the user.
|
|
612
|
-
# Corresponds to the JSON property `labels`
|
|
613
|
-
# @return [Hash<String,String>]
|
|
614
|
-
attr_accessor :labels
|
|
615
|
-
|
|
616
|
-
# Represents a contextual status message.
|
|
617
|
-
# The message can indicate an error or informational status, and refer to
|
|
618
|
-
# specific parts of the containing object.
|
|
619
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
|
620
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
|
621
|
-
# Corresponds to the JSON property `status`
|
|
622
|
-
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
623
|
-
attr_accessor :status
|
|
624
|
-
|
|
625
|
-
# If set to `true`, indicates that the debuggee is considered as inactive by
|
|
626
|
-
# the Controller service.
|
|
627
|
-
# Corresponds to the JSON property `isInactive`
|
|
628
|
-
# @return [Boolean]
|
|
629
|
-
attr_accessor :is_inactive
|
|
630
|
-
alias_method :is_inactive?, :is_inactive
|
|
631
|
-
|
|
632
529
|
def initialize(**args)
|
|
633
530
|
update!(**args)
|
|
634
531
|
end
|
|
635
532
|
|
|
636
533
|
# Update properties of this object
|
|
637
534
|
def update!(**args)
|
|
535
|
+
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
|
536
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
537
|
+
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
|
538
|
+
@status = args[:status] if args.key?(:status)
|
|
638
539
|
@project = args[:project] if args.key?(:project)
|
|
639
|
-
@id = args[:id] if args.key?(:id)
|
|
640
|
-
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
|
641
540
|
@is_disabled = args[:is_disabled] if args.key?(:is_disabled)
|
|
642
|
-
@
|
|
541
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
|
542
|
+
@id = args[:id] if args.key?(:id)
|
|
643
543
|
@uniquifier = args[:uniquifier] if args.key?(:uniquifier)
|
|
544
|
+
@description = args[:description] if args.key?(:description)
|
|
644
545
|
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
|
645
|
-
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
|
646
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
647
|
-
@status = args[:status] if args.key?(:status)
|
|
648
|
-
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
|
649
|
-
end
|
|
650
|
-
end
|
|
651
|
-
|
|
652
|
-
# Selects a repo using a Google Cloud Platform project ID
|
|
653
|
-
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
654
|
-
class ProjectRepoId
|
|
655
|
-
include Google::Apis::Core::Hashable
|
|
656
|
-
|
|
657
|
-
# The ID of the project.
|
|
658
|
-
# Corresponds to the JSON property `projectId`
|
|
659
|
-
# @return [String]
|
|
660
|
-
attr_accessor :project_id
|
|
661
|
-
|
|
662
|
-
# The name of the repo. Leave empty for the default repo.
|
|
663
|
-
# Corresponds to the JSON property `repoName`
|
|
664
|
-
# @return [String]
|
|
665
|
-
attr_accessor :repo_name
|
|
666
|
-
|
|
667
|
-
def initialize(**args)
|
|
668
|
-
update!(**args)
|
|
669
|
-
end
|
|
670
|
-
|
|
671
|
-
# Update properties of this object
|
|
672
|
-
def update!(**args)
|
|
673
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
674
|
-
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
|
675
546
|
end
|
|
676
547
|
end
|
|
677
548
|
|
|
@@ -679,12 +550,6 @@ module Google
|
|
|
679
550
|
class ListActiveBreakpointsResponse
|
|
680
551
|
include Google::Apis::Core::Hashable
|
|
681
552
|
|
|
682
|
-
# A wait token that can be used in the next method call to block until
|
|
683
|
-
# the list of breakpoints changes.
|
|
684
|
-
# Corresponds to the JSON property `nextWaitToken`
|
|
685
|
-
# @return [String]
|
|
686
|
-
attr_accessor :next_wait_token
|
|
687
|
-
|
|
688
553
|
# List of all active breakpoints.
|
|
689
554
|
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
690
555
|
# Corresponds to the JSON property `breakpoints`
|
|
@@ -698,15 +563,47 @@ module Google
|
|
|
698
563
|
attr_accessor :wait_expired
|
|
699
564
|
alias_method :wait_expired?, :wait_expired
|
|
700
565
|
|
|
566
|
+
# A wait token that can be used in the next method call to block until
|
|
567
|
+
# the list of breakpoints changes.
|
|
568
|
+
# Corresponds to the JSON property `nextWaitToken`
|
|
569
|
+
# @return [String]
|
|
570
|
+
attr_accessor :next_wait_token
|
|
571
|
+
|
|
701
572
|
def initialize(**args)
|
|
702
573
|
update!(**args)
|
|
703
574
|
end
|
|
704
575
|
|
|
705
576
|
# Update properties of this object
|
|
706
577
|
def update!(**args)
|
|
707
|
-
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
708
578
|
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
709
579
|
@wait_expired = args[:wait_expired] if args.key?(:wait_expired)
|
|
580
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
581
|
+
end
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
# Selects a repo using a Google Cloud Platform project ID
|
|
585
|
+
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
586
|
+
class ProjectRepoId
|
|
587
|
+
include Google::Apis::Core::Hashable
|
|
588
|
+
|
|
589
|
+
# The ID of the project.
|
|
590
|
+
# Corresponds to the JSON property `projectId`
|
|
591
|
+
# @return [String]
|
|
592
|
+
attr_accessor :project_id
|
|
593
|
+
|
|
594
|
+
# The name of the repo. Leave empty for the default repo.
|
|
595
|
+
# Corresponds to the JSON property `repoName`
|
|
596
|
+
# @return [String]
|
|
597
|
+
attr_accessor :repo_name
|
|
598
|
+
|
|
599
|
+
def initialize(**args)
|
|
600
|
+
update!(**args)
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
# Update properties of this object
|
|
604
|
+
def update!(**args)
|
|
605
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
606
|
+
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
|
710
607
|
end
|
|
711
608
|
end
|
|
712
609
|
|
|
@@ -829,6 +726,12 @@ module Google
|
|
|
829
726
|
class ListBreakpointsResponse
|
|
830
727
|
include Google::Apis::Core::Hashable
|
|
831
728
|
|
|
729
|
+
# A wait token that can be used in the next call to `list` (REST) or
|
|
730
|
+
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
|
731
|
+
# Corresponds to the JSON property `nextWaitToken`
|
|
732
|
+
# @return [String]
|
|
733
|
+
attr_accessor :next_wait_token
|
|
734
|
+
|
|
832
735
|
# List of breakpoints matching the request.
|
|
833
736
|
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
834
737
|
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
|
@@ -837,20 +740,14 @@ module Google
|
|
|
837
740
|
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
|
838
741
|
attr_accessor :breakpoints
|
|
839
742
|
|
|
840
|
-
# A wait token that can be used in the next call to `list` (REST) or
|
|
841
|
-
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
|
842
|
-
# Corresponds to the JSON property `nextWaitToken`
|
|
843
|
-
# @return [String]
|
|
844
|
-
attr_accessor :next_wait_token
|
|
845
|
-
|
|
846
743
|
def initialize(**args)
|
|
847
744
|
update!(**args)
|
|
848
745
|
end
|
|
849
746
|
|
|
850
747
|
# Update properties of this object
|
|
851
748
|
def update!(**args)
|
|
852
|
-
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
853
749
|
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
750
|
+
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
854
751
|
end
|
|
855
752
|
end
|
|
856
753
|
|
|
@@ -858,6 +755,59 @@ module Google
|
|
|
858
755
|
class Breakpoint
|
|
859
756
|
include Google::Apis::Core::Hashable
|
|
860
757
|
|
|
758
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
759
|
+
# Corresponds to the JSON property `id`
|
|
760
|
+
# @return [String]
|
|
761
|
+
attr_accessor :id
|
|
762
|
+
|
|
763
|
+
# Represents a location in the source code.
|
|
764
|
+
# Corresponds to the JSON property `location`
|
|
765
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
|
766
|
+
attr_accessor :location
|
|
767
|
+
|
|
768
|
+
# Time this breakpoint was finalized as seen by the server in seconds
|
|
769
|
+
# resolution.
|
|
770
|
+
# Corresponds to the JSON property `finalTime`
|
|
771
|
+
# @return [String]
|
|
772
|
+
attr_accessor :final_time
|
|
773
|
+
|
|
774
|
+
# The `variable_table` exists to aid with computation, memory and network
|
|
775
|
+
# traffic optimization. It enables storing a variable once and reference
|
|
776
|
+
# it from multiple variables, including variables stored in the
|
|
777
|
+
# `variable_table` itself.
|
|
778
|
+
# For example, the same `this` object, which may appear at many levels of
|
|
779
|
+
# the stack, can have all of its data stored once in this table. The
|
|
780
|
+
# stack frame variables then would hold only a reference to it.
|
|
781
|
+
# The variable `var_table_index` field is an index into this repeated field.
|
|
782
|
+
# The stored objects are nameless and get their name from the referencing
|
|
783
|
+
# variable. The effective variable is a merge of the referencing variable
|
|
784
|
+
# and the referenced variable.
|
|
785
|
+
# Corresponds to the JSON property `variableTable`
|
|
786
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
787
|
+
attr_accessor :variable_table
|
|
788
|
+
|
|
789
|
+
# A set of custom breakpoint properties, populated by the agent, to be
|
|
790
|
+
# displayed to the user.
|
|
791
|
+
# Corresponds to the JSON property `labels`
|
|
792
|
+
# @return [Hash<String,String>]
|
|
793
|
+
attr_accessor :labels
|
|
794
|
+
|
|
795
|
+
# Only relevant when action is `LOG`. Defines the message to log when
|
|
796
|
+
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
|
797
|
+
# `$1`, etc. These placeholders are replaced with the evaluated value
|
|
798
|
+
# of the appropriate expression. Expressions not referenced in
|
|
799
|
+
# `log_message_format` are not logged.
|
|
800
|
+
# Example: `Message received, id = $0, count = $1` with
|
|
801
|
+
# `expressions` = `[ message.id, message.count ]`.
|
|
802
|
+
# Corresponds to the JSON property `logMessageFormat`
|
|
803
|
+
# @return [String]
|
|
804
|
+
attr_accessor :log_message_format
|
|
805
|
+
|
|
806
|
+
# Time this breakpoint was created by the server in seconds resolution.
|
|
807
|
+
# Corresponds to the JSON property `createTime`
|
|
808
|
+
# @return [String]
|
|
809
|
+
attr_accessor :create_time
|
|
810
|
+
|
|
861
811
|
# List of read-only expressions to evaluate at the breakpoint location.
|
|
862
812
|
# The expressions are composed using expressions in the programming language
|
|
863
813
|
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
|
@@ -921,65 +871,19 @@ module Google
|
|
|
921
871
|
# @return [String]
|
|
922
872
|
attr_accessor :log_level
|
|
923
873
|
|
|
924
|
-
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
925
|
-
# Corresponds to the JSON property `id`
|
|
926
|
-
# @return [String]
|
|
927
|
-
attr_accessor :id
|
|
928
|
-
|
|
929
|
-
# Represents a location in the source code.
|
|
930
|
-
# Corresponds to the JSON property `location`
|
|
931
|
-
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
|
932
|
-
attr_accessor :location
|
|
933
|
-
|
|
934
|
-
# Time this breakpoint was finalized as seen by the server in seconds
|
|
935
|
-
# resolution.
|
|
936
|
-
# Corresponds to the JSON property `finalTime`
|
|
937
|
-
# @return [String]
|
|
938
|
-
attr_accessor :final_time
|
|
939
|
-
|
|
940
|
-
# The `variable_table` exists to aid with computation, memory and network
|
|
941
|
-
# traffic optimization. It enables storing a variable once and reference
|
|
942
|
-
# it from multiple variables, including variables stored in the
|
|
943
|
-
# `variable_table` itself.
|
|
944
|
-
# For example, the same `this` object, which may appear at many levels of
|
|
945
|
-
# the stack, can have all of its data stored once in this table. The
|
|
946
|
-
# stack frame variables then would hold only a reference to it.
|
|
947
|
-
# The variable `var_table_index` field is an index into this repeated field.
|
|
948
|
-
# The stored objects are nameless and get their name from the referencing
|
|
949
|
-
# variable. The effective variable is a merge of the referencing variable
|
|
950
|
-
# and the referenced variable.
|
|
951
|
-
# Corresponds to the JSON property `variableTable`
|
|
952
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
953
|
-
attr_accessor :variable_table
|
|
954
|
-
|
|
955
|
-
# A set of custom breakpoint properties, populated by the agent, to be
|
|
956
|
-
# displayed to the user.
|
|
957
|
-
# Corresponds to the JSON property `labels`
|
|
958
|
-
# @return [Hash<String,String>]
|
|
959
|
-
attr_accessor :labels
|
|
960
|
-
|
|
961
|
-
# Time this breakpoint was created by the server in seconds resolution.
|
|
962
|
-
# Corresponds to the JSON property `createTime`
|
|
963
|
-
# @return [String]
|
|
964
|
-
attr_accessor :create_time
|
|
965
|
-
|
|
966
|
-
# Only relevant when action is `LOG`. Defines the message to log when
|
|
967
|
-
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
|
968
|
-
# `$1`, etc. These placeholders are replaced with the evaluated value
|
|
969
|
-
# of the appropriate expression. Expressions not referenced in
|
|
970
|
-
# `log_message_format` are not logged.
|
|
971
|
-
# Example: `Message received, id = $0, count = $1` with
|
|
972
|
-
# `expressions` = `[ message.id, message.count ]`.
|
|
973
|
-
# Corresponds to the JSON property `logMessageFormat`
|
|
974
|
-
# @return [String]
|
|
975
|
-
attr_accessor :log_message_format
|
|
976
|
-
|
|
977
874
|
def initialize(**args)
|
|
978
875
|
update!(**args)
|
|
979
876
|
end
|
|
980
877
|
|
|
981
878
|
# Update properties of this object
|
|
982
879
|
def update!(**args)
|
|
880
|
+
@id = args[:id] if args.key?(:id)
|
|
881
|
+
@location = args[:location] if args.key?(:location)
|
|
882
|
+
@final_time = args[:final_time] if args.key?(:final_time)
|
|
883
|
+
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
|
884
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
885
|
+
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
|
886
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
983
887
|
@expressions = args[:expressions] if args.key?(:expressions)
|
|
984
888
|
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
|
985
889
|
@is_final_state = args[:is_final_state] if args.key?(:is_final_state)
|
|
@@ -989,18 +893,11 @@ module Google
|
|
|
989
893
|
@user_email = args[:user_email] if args.key?(:user_email)
|
|
990
894
|
@action = args[:action] if args.key?(:action)
|
|
991
895
|
@log_level = args[:log_level] if args.key?(:log_level)
|
|
992
|
-
@id = args[:id] if args.key?(:id)
|
|
993
|
-
@location = args[:location] if args.key?(:location)
|
|
994
|
-
@final_time = args[:final_time] if args.key?(:final_time)
|
|
995
|
-
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
|
996
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
997
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
998
|
-
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
|
999
896
|
end
|
|
1000
897
|
end
|
|
1001
898
|
|
|
1002
|
-
#
|
|
1003
|
-
class
|
|
899
|
+
# Request to update an active breakpoint.
|
|
900
|
+
class UpdateActiveBreakpointRequest
|
|
1004
901
|
include Google::Apis::Core::Hashable
|
|
1005
902
|
|
|
1006
903
|
# Represents the breakpoint specification, status and results.
|
|
@@ -1018,8 +915,8 @@ module Google
|
|
|
1018
915
|
end
|
|
1019
916
|
end
|
|
1020
917
|
|
|
1021
|
-
#
|
|
1022
|
-
class
|
|
918
|
+
# Response for setting a breakpoint.
|
|
919
|
+
class SetBreakpointResponse
|
|
1023
920
|
include Google::Apis::Core::Hashable
|
|
1024
921
|
|
|
1025
922
|
# Represents the breakpoint specification, status and results.
|
|
@@ -1042,12 +939,6 @@ module Google
|
|
|
1042
939
|
class SourceContext
|
|
1043
940
|
include Google::Apis::Core::Hashable
|
|
1044
941
|
|
|
1045
|
-
# A GitSourceContext denotes a particular revision in a third party Git
|
|
1046
|
-
# repository (e.g. GitHub).
|
|
1047
|
-
# Corresponds to the JSON property `git`
|
|
1048
|
-
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
|
1049
|
-
attr_accessor :git
|
|
1050
|
-
|
|
1051
942
|
# A SourceContext referring to a Gerrit project.
|
|
1052
943
|
# Corresponds to the JSON property `gerrit`
|
|
1053
944
|
# @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
|
|
@@ -1064,16 +955,125 @@ module Google
|
|
|
1064
955
|
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
|
|
1065
956
|
attr_accessor :cloud_workspace
|
|
1066
957
|
|
|
958
|
+
# A GitSourceContext denotes a particular revision in a third party Git
|
|
959
|
+
# repository (e.g. GitHub).
|
|
960
|
+
# Corresponds to the JSON property `git`
|
|
961
|
+
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
|
962
|
+
attr_accessor :git
|
|
963
|
+
|
|
1067
964
|
def initialize(**args)
|
|
1068
965
|
update!(**args)
|
|
1069
966
|
end
|
|
1070
967
|
|
|
1071
968
|
# Update properties of this object
|
|
1072
969
|
def update!(**args)
|
|
1073
|
-
@git = args[:git] if args.key?(:git)
|
|
1074
970
|
@gerrit = args[:gerrit] if args.key?(:gerrit)
|
|
1075
971
|
@cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
|
|
1076
972
|
@cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
|
|
973
|
+
@git = args[:git] if args.key?(:git)
|
|
974
|
+
end
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
|
978
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
|
979
|
+
class CloudRepoSourceContext
|
|
980
|
+
include Google::Apis::Core::Hashable
|
|
981
|
+
|
|
982
|
+
# A revision ID.
|
|
983
|
+
# Corresponds to the JSON property `revisionId`
|
|
984
|
+
# @return [String]
|
|
985
|
+
attr_accessor :revision_id
|
|
986
|
+
|
|
987
|
+
# The name of an alias (branch, tag, etc.).
|
|
988
|
+
# Corresponds to the JSON property `aliasName`
|
|
989
|
+
# @return [String]
|
|
990
|
+
attr_accessor :alias_name
|
|
991
|
+
|
|
992
|
+
# A unique identifier for a cloud repo.
|
|
993
|
+
# Corresponds to the JSON property `repoId`
|
|
994
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
|
995
|
+
attr_accessor :repo_id
|
|
996
|
+
|
|
997
|
+
# An alias to a repo revision.
|
|
998
|
+
# Corresponds to the JSON property `aliasContext`
|
|
999
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
|
1000
|
+
attr_accessor :alias_context
|
|
1001
|
+
|
|
1002
|
+
def initialize(**args)
|
|
1003
|
+
update!(**args)
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
# Update properties of this object
|
|
1007
|
+
def update!(**args)
|
|
1008
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
1009
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
|
1010
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
|
1011
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
1012
|
+
end
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# Response for registering a debuggee.
|
|
1016
|
+
class RegisterDebuggeeResponse
|
|
1017
|
+
include Google::Apis::Core::Hashable
|
|
1018
|
+
|
|
1019
|
+
# Represents the application to debug. The application may include one or more
|
|
1020
|
+
# replicated processes executing the same code. Each of these processes is
|
|
1021
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
|
1022
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
|
1023
|
+
# same field values when registering.
|
|
1024
|
+
# Corresponds to the JSON property `debuggee`
|
|
1025
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
1026
|
+
attr_accessor :debuggee
|
|
1027
|
+
|
|
1028
|
+
def initialize(**args)
|
|
1029
|
+
update!(**args)
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
# Update properties of this object
|
|
1033
|
+
def update!(**args)
|
|
1034
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
1035
|
+
end
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
# Request to register a debuggee.
|
|
1039
|
+
class RegisterDebuggeeRequest
|
|
1040
|
+
include Google::Apis::Core::Hashable
|
|
1041
|
+
|
|
1042
|
+
# Represents the application to debug. The application may include one or more
|
|
1043
|
+
# replicated processes executing the same code. Each of these processes is
|
|
1044
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
|
1045
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
|
1046
|
+
# same field values when registering.
|
|
1047
|
+
# Corresponds to the JSON property `debuggee`
|
|
1048
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
1049
|
+
attr_accessor :debuggee
|
|
1050
|
+
|
|
1051
|
+
def initialize(**args)
|
|
1052
|
+
update!(**args)
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
# Update properties of this object
|
|
1056
|
+
def update!(**args)
|
|
1057
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
1058
|
+
end
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
# Response for getting breakpoint information.
|
|
1062
|
+
class GetBreakpointResponse
|
|
1063
|
+
include Google::Apis::Core::Hashable
|
|
1064
|
+
|
|
1065
|
+
# Represents the breakpoint specification, status and results.
|
|
1066
|
+
# Corresponds to the JSON property `breakpoint`
|
|
1067
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
|
1068
|
+
attr_accessor :breakpoint
|
|
1069
|
+
|
|
1070
|
+
def initialize(**args)
|
|
1071
|
+
update!(**args)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# Update properties of this object
|
|
1075
|
+
def update!(**args)
|
|
1076
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
|
1077
1077
|
end
|
|
1078
1078
|
end
|
|
1079
1079
|
end
|