google-api-client 0.36.1 → 0.36.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +19 -2
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +234 -240
- data/generated/google/apis/compute_alpha/representations.rb +7 -47
- data/generated/google/apis/compute_alpha/service.rb +1233 -1068
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +936 -164
- data/generated/google/apis/compute_beta/representations.rb +371 -0
- data/generated/google/apis/compute_beta/service.rb +1394 -899
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +479 -147
- data/generated/google/apis/compute_v1/representations.rb +127 -0
- data/generated/google/apis/compute_v1/service.rb +813 -748
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +73 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +70 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +152 -0
- data/generated/google/apis/docs_v1/representations.rb +56 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1/service.rb +24 -22
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
- data/generated/google/apis/fitness_v1.rb +11 -11
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +5 -7
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +83 -141
- data/generated/google/apis/iam_v1/representations.rb +0 -6
- data/generated/google/apis/iam_v1/service.rb +11 -21
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +15 -0
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +3 -2
- data/generated/google/apis/logging_v2/service.rb +2 -1
- data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
- data/generated/google/apis/run_v1alpha1/service.rb +862 -46
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
- data/generated/google/apis/securitycenter_v1/service.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +187 -2
- data/generated/google/apis/sheets_v4/representations.rb +47 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +104 -51
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +6 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +83 -2
- data/generated/google/apis/toolresults_v1.rb +31 -0
- data/generated/google/apis/toolresults_v1/classes.rb +696 -0
- data/generated/google/apis/toolresults_v1/representations.rb +438 -0
- data/generated/google/apis/toolresults_v1/service.rb +59 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2/representations.rb +0 -305
- data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -0,0 +1,438 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ToolresultsV1
|
24
|
+
|
25
|
+
class Anr
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AvailableDeepLinks
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BlankScreen
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CrashDialogError
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class EncounteredLoginScreen
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class EncounteredNonAndroidUiWidgetScreen
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class FailedToInstall
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class FatalException
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class InAppPurchasesFound
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class InsufficientCoverage
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class IosAppCrashed
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class LauncherActivityNotFound
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class NativeCrash
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class NonSdkApi
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class NonSdkApiInsight
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class NonSdkApiUsageViolation
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class NonSdkApiUsageViolationReport
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class OverlappingUiElements
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class PendingGoogleUpdateInsight
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class PerformedGoogleLogin
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class PerformedMonkeyActions
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class RoboScriptExecution
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class StackTrace
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class StartActivityNotFound
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class UiElementTooDeep
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class UnspecifiedWarning
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class UnusedRoboDirective
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class UpgradeInsight
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class UsedRoboDirective
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class UsedRoboIgnoreDirective
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Anr
|
206
|
+
# @private
|
207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
+
property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1::StackTrace, decorator: Google::Apis::ToolresultsV1::StackTrace::Representation
|
209
|
+
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
class AvailableDeepLinks
|
214
|
+
# @private
|
215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
class BlankScreen
|
220
|
+
# @private
|
221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
222
|
+
property :screen_id, as: 'screenId'
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
class CrashDialogError
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
property :crash_package, as: 'crashPackage'
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class EncounteredLoginScreen
|
234
|
+
# @private
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
+
property :distinct_screens, as: 'distinctScreens'
|
237
|
+
collection :screen_ids, as: 'screenIds'
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
class EncounteredNonAndroidUiWidgetScreen
|
242
|
+
# @private
|
243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
244
|
+
property :distinct_screens, as: 'distinctScreens'
|
245
|
+
collection :screen_ids, as: 'screenIds'
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
class FailedToInstall
|
250
|
+
# @private
|
251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class FatalException
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1::StackTrace, decorator: Google::Apis::ToolresultsV1::StackTrace::Representation
|
259
|
+
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
class InAppPurchasesFound
|
264
|
+
# @private
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
property :in_app_purchases_flows_explored, as: 'inAppPurchasesFlowsExplored'
|
267
|
+
property :in_app_purchases_flows_started, as: 'inAppPurchasesFlowsStarted'
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
class InsufficientCoverage
|
272
|
+
# @private
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class IosAppCrashed
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1::StackTrace, decorator: Google::Apis::ToolresultsV1::StackTrace::Representation
|
281
|
+
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
class LauncherActivityNotFound
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
class NativeCrash
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1::StackTrace, decorator: Google::Apis::ToolresultsV1::StackTrace::Representation
|
295
|
+
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class NonSdkApi
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :api_signature, as: 'apiSignature'
|
303
|
+
collection :example_stack_traces, as: 'exampleStackTraces'
|
304
|
+
collection :insights, as: 'insights', class: Google::Apis::ToolresultsV1::NonSdkApiInsight, decorator: Google::Apis::ToolresultsV1::NonSdkApiInsight::Representation
|
305
|
+
|
306
|
+
property :invocation_count, as: 'invocationCount'
|
307
|
+
property :list, as: 'list'
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
class NonSdkApiInsight
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
collection :example_trace_messages, as: 'exampleTraceMessages'
|
315
|
+
property :matcher_id, as: 'matcherId'
|
316
|
+
property :pending_google_update_insight, as: 'pendingGoogleUpdateInsight', class: Google::Apis::ToolresultsV1::PendingGoogleUpdateInsight, decorator: Google::Apis::ToolresultsV1::PendingGoogleUpdateInsight::Representation
|
317
|
+
|
318
|
+
property :upgrade_insight, as: 'upgradeInsight', class: Google::Apis::ToolresultsV1::UpgradeInsight, decorator: Google::Apis::ToolresultsV1::UpgradeInsight::Representation
|
319
|
+
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
class NonSdkApiUsageViolation
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
collection :api_signatures, as: 'apiSignatures'
|
327
|
+
property :unique_apis, as: 'uniqueApis'
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
class NonSdkApiUsageViolationReport
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
collection :example_apis, as: 'exampleApis', class: Google::Apis::ToolresultsV1::NonSdkApi, decorator: Google::Apis::ToolresultsV1::NonSdkApi::Representation
|
335
|
+
|
336
|
+
property :min_sdk_version, as: 'minSdkVersion'
|
337
|
+
property :target_sdk_version, as: 'targetSdkVersion'
|
338
|
+
property :unique_apis, as: 'uniqueApis'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
class OverlappingUiElements
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
collection :resource_name, as: 'resourceName'
|
346
|
+
property :screen_id, as: 'screenId'
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class PendingGoogleUpdateInsight
|
351
|
+
# @private
|
352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
353
|
+
property :name_of_google_library, as: 'nameOfGoogleLibrary'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class PerformedGoogleLogin
|
358
|
+
# @private
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
class PerformedMonkeyActions
|
364
|
+
# @private
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
+
property :total_actions, as: 'totalActions'
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
class RoboScriptExecution
|
371
|
+
# @private
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
373
|
+
property :successful_actions, as: 'successfulActions'
|
374
|
+
property :total_actions, as: 'totalActions'
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class StackTrace
|
379
|
+
# @private
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
+
property :exception, as: 'exception'
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
class StartActivityNotFound
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
property :action, as: 'action'
|
389
|
+
property :uri, as: 'uri'
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class UiElementTooDeep
|
394
|
+
# @private
|
395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
+
property :depth, as: 'depth'
|
397
|
+
property :screen_id, as: 'screenId'
|
398
|
+
property :screen_state_id, as: 'screenStateId'
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
class UnspecifiedWarning
|
403
|
+
# @private
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
class UnusedRoboDirective
|
409
|
+
# @private
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :resource_name, as: 'resourceName'
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
class UpgradeInsight
|
416
|
+
# @private
|
417
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
418
|
+
property :package_name, as: 'packageName'
|
419
|
+
property :upgrade_to_version, as: 'upgradeToVersion'
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class UsedRoboDirective
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
property :resource_name, as: 'resourceName'
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class UsedRoboIgnoreDirective
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
property :resource_name, as: 'resourceName'
|
434
|
+
end
|
435
|
+
end
|
436
|
+
end
|
437
|
+
end
|
438
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module ToolresultsV1
|
23
|
+
# Cloud Tool Results API
|
24
|
+
#
|
25
|
+
# API to publish and access results from developer tools.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/toolresults_v1'
|
29
|
+
#
|
30
|
+
# Toolresults = Google::Apis::ToolresultsV1 # Alias the module
|
31
|
+
# service = Toolresults::ToolResultsService.new
|
32
|
+
#
|
33
|
+
# @see https://firebase.google.com/docs/test-lab/
|
34
|
+
class ToolResultsService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://toolresults.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
protected
|
51
|
+
|
52
|
+
def apply_command_defaults(command)
|
53
|
+
command.query['key'] = key unless key.nil?
|
54
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|