google-api-client 0.10.1 → 0.10.2
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/CHANGELOG.md +3 -0
- data/api_names.yaml +395 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +39 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
- data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -37
- data/generated/google/apis/bigquery_v2/service.rb +10 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +205 -0
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- 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 +164 -163
- data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
- data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
- data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
- data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
- data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
- data/generated/google/apis/cloudkms_v1/service.rb +228 -228
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
- data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +116 -0
- data/generated/google/apis/compute_beta/representations.rb +48 -0
- data/generated/google/apis/compute_beta/service.rb +46 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
- data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
- data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
- data/generated/google/apis/dataproc_v1/representations.rb +255 -253
- data/generated/google/apis/dataproc_v1/service.rb +100 -100
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +3 -1
- data/generated/google/apis/fusiontables_v2.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 +959 -959
- data/generated/google/apis/genomics_v1/representations.rb +238 -238
- data/generated/google/apis/genomics_v1/service.rb +996 -996
- data/generated/google/apis/iam_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 +170 -173
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +427 -427
- data/generated/google/apis/language_v1beta1/representations.rb +113 -113
- data/generated/google/apis/language_v1beta1/service.rb +25 -24
- data/generated/google/apis/licensing_v1.rb +2 -2
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +261 -261
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
- data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
- data/generated/google/apis/manufacturers_v1/service.rb +11 -11
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +668 -670
- data/generated/google/apis/monitoring_v3/representations.rb +140 -140
- data/generated/google/apis/monitoring_v3/service.rb +208 -208
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +505 -505
- data/generated/google/apis/partners_v2/representations.rb +118 -118
- data/generated/google/apis/partners_v2/service.rb +275 -275
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +1037 -1031
- data/generated/google/apis/people_v1/representations.rb +247 -246
- data/generated/google/apis/people_v1/service.rb +20 -20
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +131 -132
- data/generated/google/apis/pubsub_v1/representations.rb +35 -35
- data/generated/google/apis/pubsub_v1/service.rb +399 -408
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +9 -0
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +110 -110
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
- data/generated/google/apis/sheets_v4/representations.rb +856 -856
- data/generated/google/apis/sheets_v4/service.rb +106 -106
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2923 -2841
- data/generated/google/apis/slides_v1/representations.rb +722 -691
- data/generated/google/apis/slides_v1/service.rb +58 -15
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
- data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
- data/generated/google/apis/speech_v1beta1/service.rb +70 -70
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +151 -0
- data/generated/google/apis/storage_v1/representations.rb +45 -0
- data/generated/google/apis/storage_v1/service.rb +248 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1227 -1221
- data/generated/google/apis/vision_v1/representations.rb +217 -215
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -22,6 +22,60 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ClouddebuggerV2
|
|
24
24
|
|
|
25
|
+
class CloudWorkspaceSourceContext
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class UpdateActiveBreakpointResponse
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class GerritSourceContext
|
|
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 ListBreakpointsResponse
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class Breakpoint
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class UpdateActiveBreakpointRequest
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class SetBreakpointResponse
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class SourceContext
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
25
79
|
class CloudRepoSourceContext
|
|
26
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
81
|
|
|
@@ -88,13 +142,13 @@ module Google
|
|
|
88
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
143
|
end
|
|
90
144
|
|
|
91
|
-
class
|
|
145
|
+
class ListDebuggeesResponse
|
|
92
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
147
|
|
|
94
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
149
|
end
|
|
96
150
|
|
|
97
|
-
class
|
|
151
|
+
class AliasContext
|
|
98
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
153
|
|
|
100
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -118,81 +172,129 @@ module Google
|
|
|
118
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
173
|
end
|
|
120
174
|
|
|
121
|
-
class
|
|
175
|
+
class ProjectRepoId
|
|
122
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
177
|
|
|
124
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
179
|
end
|
|
126
180
|
|
|
127
|
-
class
|
|
181
|
+
class ListActiveBreakpointsResponse
|
|
128
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
183
|
|
|
130
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
185
|
end
|
|
132
186
|
|
|
133
187
|
class CloudWorkspaceSourceContext
|
|
134
|
-
|
|
188
|
+
# @private
|
|
189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
190
|
+
property :snapshot_id, as: 'snapshotId'
|
|
191
|
+
property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
|
|
135
192
|
|
|
136
|
-
|
|
193
|
+
end
|
|
137
194
|
end
|
|
138
195
|
|
|
139
|
-
class
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
196
|
+
class UpdateActiveBreakpointResponse
|
|
197
|
+
# @private
|
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
199
|
+
end
|
|
143
200
|
end
|
|
144
201
|
|
|
145
|
-
class
|
|
146
|
-
|
|
202
|
+
class GerritSourceContext
|
|
203
|
+
# @private
|
|
204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
205
|
+
property :gerrit_project, as: 'gerritProject'
|
|
206
|
+
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
|
147
207
|
|
|
148
|
-
|
|
208
|
+
property :host_uri, as: 'hostUri'
|
|
209
|
+
property :revision_id, as: 'revisionId'
|
|
210
|
+
property :alias_name, as: 'aliasName'
|
|
211
|
+
end
|
|
149
212
|
end
|
|
150
213
|
|
|
151
214
|
class CloudWorkspaceId
|
|
152
|
-
|
|
215
|
+
# @private
|
|
216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
217
|
+
property :name, as: 'name'
|
|
218
|
+
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
|
153
219
|
|
|
154
|
-
|
|
220
|
+
end
|
|
155
221
|
end
|
|
156
222
|
|
|
157
223
|
class ListBreakpointsResponse
|
|
158
|
-
|
|
224
|
+
# @private
|
|
225
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
226
|
+
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
159
227
|
|
|
160
|
-
|
|
228
|
+
property :next_wait_token, as: 'nextWaitToken'
|
|
229
|
+
end
|
|
161
230
|
end
|
|
162
231
|
|
|
163
232
|
class Breakpoint
|
|
164
|
-
|
|
233
|
+
# @private
|
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
235
|
+
collection :expressions, as: 'expressions'
|
|
236
|
+
collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
165
237
|
|
|
166
|
-
|
|
238
|
+
property :is_final_state, as: 'isFinalState'
|
|
239
|
+
collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
|
|
240
|
+
|
|
241
|
+
property :condition, as: 'condition'
|
|
242
|
+
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
|
243
|
+
|
|
244
|
+
property :user_email, as: 'userEmail'
|
|
245
|
+
property :action, as: 'action'
|
|
246
|
+
property :log_level, as: 'logLevel'
|
|
247
|
+
property :id, as: 'id'
|
|
248
|
+
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
|
249
|
+
|
|
250
|
+
property :final_time, as: 'finalTime'
|
|
251
|
+
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
252
|
+
|
|
253
|
+
property :create_time, as: 'createTime'
|
|
254
|
+
property :log_message_format, as: 'logMessageFormat'
|
|
255
|
+
hash :labels, as: 'labels'
|
|
256
|
+
end
|
|
167
257
|
end
|
|
168
258
|
|
|
169
259
|
class UpdateActiveBreakpointRequest
|
|
170
|
-
|
|
260
|
+
# @private
|
|
261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
262
|
+
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
171
263
|
|
|
172
|
-
|
|
264
|
+
end
|
|
173
265
|
end
|
|
174
266
|
|
|
175
267
|
class SetBreakpointResponse
|
|
176
|
-
|
|
268
|
+
# @private
|
|
269
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
270
|
+
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
177
271
|
|
|
178
|
-
|
|
272
|
+
end
|
|
179
273
|
end
|
|
180
274
|
|
|
181
275
|
class SourceContext
|
|
182
|
-
|
|
276
|
+
# @private
|
|
277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
278
|
+
property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
|
|
183
279
|
|
|
184
|
-
|
|
280
|
+
property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
|
|
281
|
+
|
|
282
|
+
property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
|
|
283
|
+
|
|
284
|
+
property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
|
|
285
|
+
|
|
286
|
+
end
|
|
185
287
|
end
|
|
186
288
|
|
|
187
289
|
class CloudRepoSourceContext
|
|
188
290
|
# @private
|
|
189
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
292
|
+
property :revision_id, as: 'revisionId'
|
|
293
|
+
property :alias_name, as: 'aliasName'
|
|
190
294
|
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
|
191
295
|
|
|
192
296
|
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
|
193
297
|
|
|
194
|
-
property :revision_id, as: 'revisionId'
|
|
195
|
-
property :alias_name, as: 'aliasName'
|
|
196
298
|
end
|
|
197
299
|
end
|
|
198
300
|
|
|
@@ -241,36 +343,36 @@ module Google
|
|
|
241
343
|
class Variable
|
|
242
344
|
# @private
|
|
243
345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
244
|
-
property :type, as: 'type'
|
|
245
|
-
property :value, as: 'value'
|
|
246
346
|
property :var_table_index, as: 'varTableIndex'
|
|
347
|
+
property :value, as: 'value'
|
|
247
348
|
collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
248
349
|
|
|
249
350
|
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
|
250
351
|
|
|
251
352
|
property :name, as: 'name'
|
|
353
|
+
property :type, as: 'type'
|
|
252
354
|
end
|
|
253
355
|
end
|
|
254
356
|
|
|
255
357
|
class StackFrame
|
|
256
358
|
# @private
|
|
257
359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
360
|
+
property :function, as: 'function'
|
|
361
|
+
collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
362
|
+
|
|
258
363
|
collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
259
364
|
|
|
260
365
|
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
|
261
366
|
|
|
262
|
-
property :function, as: 'function'
|
|
263
|
-
collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
264
|
-
|
|
265
367
|
end
|
|
266
368
|
end
|
|
267
369
|
|
|
268
370
|
class RepoId
|
|
269
371
|
# @private
|
|
270
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
property :uid, as: 'uid'
|
|
271
374
|
property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
|
|
272
375
|
|
|
273
|
-
property :uid, as: 'uid'
|
|
274
376
|
end
|
|
275
377
|
end
|
|
276
378
|
|
|
@@ -291,19 +393,19 @@ module Google
|
|
|
291
393
|
end
|
|
292
394
|
end
|
|
293
395
|
|
|
294
|
-
class
|
|
396
|
+
class ListDebuggeesResponse
|
|
295
397
|
# @private
|
|
296
398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
297
|
-
|
|
298
|
-
|
|
399
|
+
collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
|
|
400
|
+
|
|
299
401
|
end
|
|
300
402
|
end
|
|
301
403
|
|
|
302
|
-
class
|
|
404
|
+
class AliasContext
|
|
303
405
|
# @private
|
|
304
406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
305
|
-
|
|
306
|
-
|
|
407
|
+
property :name, as: 'name'
|
|
408
|
+
property :kind, as: 'kind'
|
|
307
409
|
end
|
|
308
410
|
end
|
|
309
411
|
|
|
@@ -316,18 +418,17 @@ module Google
|
|
|
316
418
|
class SourceLocation
|
|
317
419
|
# @private
|
|
318
420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
319
|
-
property :line, as: 'line'
|
|
320
421
|
property :path, as: 'path'
|
|
422
|
+
property :line, as: 'line'
|
|
321
423
|
end
|
|
322
424
|
end
|
|
323
425
|
|
|
324
426
|
class Debuggee
|
|
325
427
|
# @private
|
|
326
428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
327
|
-
property :project, as: 'project'
|
|
328
429
|
property :id, as: 'id'
|
|
329
|
-
property :is_disabled, as: 'isDisabled'
|
|
330
430
|
property :agent_version, as: 'agentVersion'
|
|
431
|
+
property :is_disabled, as: 'isDisabled'
|
|
331
432
|
property :uniquifier, as: 'uniquifier'
|
|
332
433
|
property :description, as: 'description'
|
|
333
434
|
collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
|
|
@@ -338,16 +439,7 @@ module Google
|
|
|
338
439
|
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
|
339
440
|
|
|
340
441
|
property :is_inactive, as: 'isInactive'
|
|
341
|
-
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
class ListActiveBreakpointsResponse
|
|
345
|
-
# @private
|
|
346
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
347
|
-
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
348
|
-
|
|
349
|
-
property :wait_expired, as: 'waitExpired'
|
|
350
|
-
property :next_wait_token, as: 'nextWaitToken'
|
|
442
|
+
property :project, as: 'project'
|
|
351
443
|
end
|
|
352
444
|
end
|
|
353
445
|
|
|
@@ -359,105 +451,13 @@ module Google
|
|
|
359
451
|
end
|
|
360
452
|
end
|
|
361
453
|
|
|
362
|
-
class
|
|
363
|
-
# @private
|
|
364
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
365
|
-
property :snapshot_id, as: 'snapshotId'
|
|
366
|
-
property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
|
|
367
|
-
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
class GerritSourceContext
|
|
372
|
-
# @private
|
|
373
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
374
|
-
property :gerrit_project, as: 'gerritProject'
|
|
375
|
-
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
|
|
376
|
-
|
|
377
|
-
property :host_uri, as: 'hostUri'
|
|
378
|
-
property :revision_id, as: 'revisionId'
|
|
379
|
-
property :alias_name, as: 'aliasName'
|
|
380
|
-
end
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
class UpdateActiveBreakpointResponse
|
|
384
|
-
# @private
|
|
385
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
386
|
-
end
|
|
387
|
-
end
|
|
388
|
-
|
|
389
|
-
class CloudWorkspaceId
|
|
390
|
-
# @private
|
|
391
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
392
|
-
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
|
|
393
|
-
|
|
394
|
-
property :name, as: 'name'
|
|
395
|
-
end
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
class ListBreakpointsResponse
|
|
454
|
+
class ListActiveBreakpointsResponse
|
|
399
455
|
# @private
|
|
400
456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
401
|
-
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
402
|
-
|
|
403
457
|
property :next_wait_token, as: 'nextWaitToken'
|
|
404
|
-
|
|
405
|
-
end
|
|
406
|
-
|
|
407
|
-
class Breakpoint
|
|
408
|
-
# @private
|
|
409
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
410
|
-
collection :expressions, as: 'expressions'
|
|
411
|
-
collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
412
|
-
|
|
413
|
-
property :is_final_state, as: 'isFinalState'
|
|
414
|
-
collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
|
|
415
|
-
|
|
416
|
-
property :condition, as: 'condition'
|
|
417
|
-
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
|
|
418
|
-
|
|
419
|
-
property :user_email, as: 'userEmail'
|
|
420
|
-
property :action, as: 'action'
|
|
421
|
-
property :log_level, as: 'logLevel'
|
|
422
|
-
property :id, as: 'id'
|
|
423
|
-
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
|
|
424
|
-
|
|
425
|
-
property :final_time, as: 'finalTime'
|
|
426
|
-
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
|
|
427
|
-
|
|
428
|
-
hash :labels, as: 'labels'
|
|
429
|
-
property :log_message_format, as: 'logMessageFormat'
|
|
430
|
-
property :create_time, as: 'createTime'
|
|
431
|
-
end
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
class UpdateActiveBreakpointRequest
|
|
435
|
-
# @private
|
|
436
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
437
|
-
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
438
|
-
|
|
439
|
-
end
|
|
440
|
-
end
|
|
441
|
-
|
|
442
|
-
class SetBreakpointResponse
|
|
443
|
-
# @private
|
|
444
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
445
|
-
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
446
|
-
|
|
447
|
-
end
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
class SourceContext
|
|
451
|
-
# @private
|
|
452
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
453
|
-
property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
|
|
454
|
-
|
|
455
|
-
property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
|
|
456
|
-
|
|
457
|
-
property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
|
|
458
|
-
|
|
459
|
-
property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
|
|
458
|
+
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
460
459
|
|
|
460
|
+
property :wait_expired, as: 'waitExpired'
|
|
461
461
|
end
|
|
462
462
|
end
|
|
463
463
|
end
|
|
@@ -47,138 +47,6 @@ module Google
|
|
|
47
47
|
super('https://clouddebugger.googleapis.com/', '')
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Registers the debuggee with the controller service.
|
|
51
|
-
# All agents attached to the same application should call this method with
|
|
52
|
-
# the same request content to get back the same stable `debuggee_id`. Agents
|
|
53
|
-
# should call this method again whenever `google.rpc.Code.NOT_FOUND` is
|
|
54
|
-
# returned from any controller method.
|
|
55
|
-
# This allows the controller service to disable the agent or recover from any
|
|
56
|
-
# data loss. If the debuggee is disabled by the server, the response will
|
|
57
|
-
# have `is_disabled` set to `true`.
|
|
58
|
-
# @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
|
|
59
|
-
# @param [String] fields
|
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
|
61
|
-
# @param [String] quota_user
|
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
|
65
|
-
# Request-specific options
|
|
66
|
-
#
|
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
|
68
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
|
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
70
|
-
#
|
|
71
|
-
# @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
|
|
72
|
-
#
|
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
-
def register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
|
-
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
|
|
78
|
-
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
|
|
79
|
-
command.request_object = register_debuggee_request_object
|
|
80
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
|
|
81
|
-
command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
|
|
82
|
-
command.query['fields'] = fields unless fields.nil?
|
|
83
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
|
-
execute_or_queue_command(command, &block)
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
# Returns the list of all active breakpoints for the debuggee.
|
|
88
|
-
# The breakpoint specification (location, condition, and expression
|
|
89
|
-
# fields) is semantically immutable, although the field values may
|
|
90
|
-
# change. For example, an agent may update the location line number
|
|
91
|
-
# to reflect the actual line where the breakpoint was set, but this
|
|
92
|
-
# doesn't change the breakpoint semantics.
|
|
93
|
-
# This means that an agent does not need to check if a breakpoint has changed
|
|
94
|
-
# when it encounters the same breakpoint on a successive call.
|
|
95
|
-
# Moreover, an agent should remember the breakpoints that are completed
|
|
96
|
-
# until the controller removes them from the active list to avoid
|
|
97
|
-
# setting those breakpoints again.
|
|
98
|
-
# @param [String] debuggee_id
|
|
99
|
-
# Identifies the debuggee.
|
|
100
|
-
# @param [Boolean] success_on_timeout
|
|
101
|
-
# If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
|
102
|
-
# `wait_expired` response field to `true` when the server-selected timeout
|
|
103
|
-
# has expired (recommended).
|
|
104
|
-
# If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
|
105
|
-
# server-selected timeout has expired (deprecated).
|
|
106
|
-
# @param [String] wait_token
|
|
107
|
-
# A wait token that, if specified, blocks the method call until the list
|
|
108
|
-
# of active breakpoints has changed, or a server selected timeout has
|
|
109
|
-
# expired. The value should be set from the last returned response.
|
|
110
|
-
# @param [String] fields
|
|
111
|
-
# Selector specifying which fields to include in a partial response.
|
|
112
|
-
# @param [String] quota_user
|
|
113
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
114
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
115
|
-
# @param [Google::Apis::RequestOptions] options
|
|
116
|
-
# Request-specific options
|
|
117
|
-
#
|
|
118
|
-
# @yield [result, err] Result & error if block supplied
|
|
119
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
|
|
120
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
121
|
-
#
|
|
122
|
-
# @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
|
|
123
|
-
#
|
|
124
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
125
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
126
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
127
|
-
def list_controller_debuggee_breakpoints(debuggee_id, success_on_timeout: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
128
|
-
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
|
|
129
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
|
|
130
|
-
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
|
|
131
|
-
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
132
|
-
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
|
|
133
|
-
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
134
|
-
command.query['fields'] = fields unless fields.nil?
|
|
135
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
136
|
-
execute_or_queue_command(command, &block)
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
# Updates the breakpoint state or mutable fields.
|
|
140
|
-
# The entire Breakpoint message must be sent back to the controller
|
|
141
|
-
# service.
|
|
142
|
-
# Updates to active breakpoint fields are only allowed if the new value
|
|
143
|
-
# does not change the breakpoint specification. Updates to the `location`,
|
|
144
|
-
# `condition` and `expression` fields should not alter the breakpoint
|
|
145
|
-
# semantics. These may only make changes such as canonicalizing a value
|
|
146
|
-
# or snapping the location to the correct line of code.
|
|
147
|
-
# @param [String] debuggee_id
|
|
148
|
-
# Identifies the debuggee being debugged.
|
|
149
|
-
# @param [String] id
|
|
150
|
-
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
151
|
-
# @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
|
|
152
|
-
# @param [String] fields
|
|
153
|
-
# Selector specifying which fields to include in a partial response.
|
|
154
|
-
# @param [String] quota_user
|
|
155
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
156
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
157
|
-
# @param [Google::Apis::RequestOptions] options
|
|
158
|
-
# Request-specific options
|
|
159
|
-
#
|
|
160
|
-
# @yield [result, err] Result & error if block supplied
|
|
161
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
|
|
162
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
163
|
-
#
|
|
164
|
-
# @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
|
|
165
|
-
#
|
|
166
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
167
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
168
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
169
|
-
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
170
|
-
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
|
|
171
|
-
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
|
|
172
|
-
command.request_object = update_active_breakpoint_request_object
|
|
173
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
|
174
|
-
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
|
175
|
-
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
176
|
-
command.params['id'] = id unless id.nil?
|
|
177
|
-
command.query['fields'] = fields unless fields.nil?
|
|
178
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
179
|
-
execute_or_queue_command(command, &block)
|
|
180
|
-
end
|
|
181
|
-
|
|
182
50
|
# Lists all the debuggees that the user can set breakpoints to.
|
|
183
51
|
# @param [String] client_version
|
|
184
52
|
# The client version making the call.
|
|
@@ -383,6 +251,138 @@ module Google
|
|
|
383
251
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
384
252
|
execute_or_queue_command(command, &block)
|
|
385
253
|
end
|
|
254
|
+
|
|
255
|
+
# Registers the debuggee with the controller service.
|
|
256
|
+
# All agents attached to the same application should call this method with
|
|
257
|
+
# the same request content to get back the same stable `debuggee_id`. Agents
|
|
258
|
+
# should call this method again whenever `google.rpc.Code.NOT_FOUND` is
|
|
259
|
+
# returned from any controller method.
|
|
260
|
+
# This allows the controller service to disable the agent or recover from any
|
|
261
|
+
# data loss. If the debuggee is disabled by the server, the response will
|
|
262
|
+
# have `is_disabled` set to `true`.
|
|
263
|
+
# @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
|
|
264
|
+
# @param [String] fields
|
|
265
|
+
# Selector specifying which fields to include in a partial response.
|
|
266
|
+
# @param [String] quota_user
|
|
267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
269
|
+
# @param [Google::Apis::RequestOptions] options
|
|
270
|
+
# Request-specific options
|
|
271
|
+
#
|
|
272
|
+
# @yield [result, err] Result & error if block supplied
|
|
273
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
|
|
274
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
275
|
+
#
|
|
276
|
+
# @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
|
|
277
|
+
#
|
|
278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
281
|
+
def register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
282
|
+
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
|
|
283
|
+
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
|
|
284
|
+
command.request_object = register_debuggee_request_object
|
|
285
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
|
|
286
|
+
command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
|
|
287
|
+
command.query['fields'] = fields unless fields.nil?
|
|
288
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
289
|
+
execute_or_queue_command(command, &block)
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# Updates the breakpoint state or mutable fields.
|
|
293
|
+
# The entire Breakpoint message must be sent back to the controller
|
|
294
|
+
# service.
|
|
295
|
+
# Updates to active breakpoint fields are only allowed if the new value
|
|
296
|
+
# does not change the breakpoint specification. Updates to the `location`,
|
|
297
|
+
# `condition` and `expression` fields should not alter the breakpoint
|
|
298
|
+
# semantics. These may only make changes such as canonicalizing a value
|
|
299
|
+
# or snapping the location to the correct line of code.
|
|
300
|
+
# @param [String] debuggee_id
|
|
301
|
+
# Identifies the debuggee being debugged.
|
|
302
|
+
# @param [String] id
|
|
303
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
304
|
+
# @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
|
|
305
|
+
# @param [String] fields
|
|
306
|
+
# Selector specifying which fields to include in a partial response.
|
|
307
|
+
# @param [String] quota_user
|
|
308
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
309
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
310
|
+
# @param [Google::Apis::RequestOptions] options
|
|
311
|
+
# Request-specific options
|
|
312
|
+
#
|
|
313
|
+
# @yield [result, err] Result & error if block supplied
|
|
314
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
|
|
315
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
316
|
+
#
|
|
317
|
+
# @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
|
|
318
|
+
#
|
|
319
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
320
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
321
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
322
|
+
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
323
|
+
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
|
|
324
|
+
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
|
|
325
|
+
command.request_object = update_active_breakpoint_request_object
|
|
326
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
|
327
|
+
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
|
328
|
+
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
329
|
+
command.params['id'] = id unless id.nil?
|
|
330
|
+
command.query['fields'] = fields unless fields.nil?
|
|
331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
332
|
+
execute_or_queue_command(command, &block)
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# Returns the list of all active breakpoints for the debuggee.
|
|
336
|
+
# The breakpoint specification (location, condition, and expression
|
|
337
|
+
# fields) is semantically immutable, although the field values may
|
|
338
|
+
# change. For example, an agent may update the location line number
|
|
339
|
+
# to reflect the actual line where the breakpoint was set, but this
|
|
340
|
+
# doesn't change the breakpoint semantics.
|
|
341
|
+
# This means that an agent does not need to check if a breakpoint has changed
|
|
342
|
+
# when it encounters the same breakpoint on a successive call.
|
|
343
|
+
# Moreover, an agent should remember the breakpoints that are completed
|
|
344
|
+
# until the controller removes them from the active list to avoid
|
|
345
|
+
# setting those breakpoints again.
|
|
346
|
+
# @param [String] debuggee_id
|
|
347
|
+
# Identifies the debuggee.
|
|
348
|
+
# @param [String] wait_token
|
|
349
|
+
# A wait token that, if specified, blocks the method call until the list
|
|
350
|
+
# of active breakpoints has changed, or a server selected timeout has
|
|
351
|
+
# expired. The value should be set from the last returned response.
|
|
352
|
+
# @param [Boolean] success_on_timeout
|
|
353
|
+
# If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
|
354
|
+
# `wait_expired` response field to `true` when the server-selected timeout
|
|
355
|
+
# has expired (recommended).
|
|
356
|
+
# If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
|
357
|
+
# server-selected timeout has expired (deprecated).
|
|
358
|
+
# @param [String] fields
|
|
359
|
+
# Selector specifying which fields to include in a partial response.
|
|
360
|
+
# @param [String] quota_user
|
|
361
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
362
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
363
|
+
# @param [Google::Apis::RequestOptions] options
|
|
364
|
+
# Request-specific options
|
|
365
|
+
#
|
|
366
|
+
# @yield [result, err] Result & error if block supplied
|
|
367
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
|
|
368
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
369
|
+
#
|
|
370
|
+
# @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
|
|
371
|
+
#
|
|
372
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
373
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
374
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
375
|
+
def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
376
|
+
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
|
|
377
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
|
|
378
|
+
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
|
|
379
|
+
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
380
|
+
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
381
|
+
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
|
|
382
|
+
command.query['fields'] = fields unless fields.nil?
|
|
383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
384
|
+
execute_or_queue_command(command, &block)
|
|
385
|
+
end
|
|
386
386
|
|
|
387
387
|
protected
|
|
388
388
|
|