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