google-apis-devicerun_v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/devicerun_v1/classes.rb +810 -0
- data/lib/google/apis/devicerun_v1/gem_version.rb +28 -0
- data/lib/google/apis/devicerun_v1/representations.rb +385 -0
- data/lib/google/apis/devicerun_v1/service.rb +464 -0
- data/lib/google/apis/devicerun_v1.rb +37 -0
- data/lib/google-apis-devicerun_v1.rb +15 -0
- metadata +79 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright 2020 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Apis
|
|
17
|
+
module DevicerunV1
|
|
18
|
+
# Version of the google-apis-devicerun_v1 gem
|
|
19
|
+
GEM_VERSION = "0.1.0"
|
|
20
|
+
|
|
21
|
+
# Version of the code generator used to generate this client
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
|
+
|
|
24
|
+
# Revision of the discovery document this client was generated from
|
|
25
|
+
REVISION = "20261028"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
# Copyright 2020 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'date'
|
|
16
|
+
require 'google/apis/core/base_service'
|
|
17
|
+
require 'google/apis/core/json_representation'
|
|
18
|
+
require 'google/apis/core/hashable'
|
|
19
|
+
require 'google/apis/errors'
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Apis
|
|
23
|
+
module DevicerunV1
|
|
24
|
+
|
|
25
|
+
class CatalogAndroidDeviceDetails
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class CatalogAndroidxTestOrchestratorDetails
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class CatalogAutomationSupport
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class CatalogDevice
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class CatalogDeviceAvailability
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class CatalogDeviceStreamingSupport
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class CatalogIosDeviceDetails
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class CatalogLabInfo
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class CatalogLifecycle
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class CatalogListDevicesResponse
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class CatalogListSoftwareVersionsResponse
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class CatalogScreenMetrics
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class CatalogSoftwareVersion
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class CatalogSupportedProduct
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class CatalogXcodeDetails
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class Date
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class Empty
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class GoogleLongrunningCancelOperationRequest
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class GoogleLongrunningListOperationsResponse
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class GoogleLongrunningOperation
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class GoogleRpcStatus
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ListLocationsResponse
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class Location
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class CatalogAndroidDeviceDetails
|
|
164
|
+
# @private
|
|
165
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
166
|
+
property :build_type, as: 'buildType'
|
|
167
|
+
collection :supported_abis, as: 'supportedAbis'
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
class CatalogAndroidxTestOrchestratorDetails
|
|
172
|
+
# @private
|
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class CatalogAutomationSupport
|
|
178
|
+
# @private
|
|
179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
class CatalogDevice
|
|
184
|
+
# @private
|
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
186
|
+
collection :access_denied_reasons, as: 'accessDeniedReasons'
|
|
187
|
+
property :android_details, as: 'androidDetails', class: Google::Apis::DevicerunV1::CatalogAndroidDeviceDetails, decorator: Google::Apis::DevicerunV1::CatalogAndroidDeviceDetails::Representation
|
|
188
|
+
|
|
189
|
+
property :availability, as: 'availability', class: Google::Apis::DevicerunV1::CatalogDeviceAvailability, decorator: Google::Apis::DevicerunV1::CatalogDeviceAvailability::Representation
|
|
190
|
+
|
|
191
|
+
property :display_name, as: 'displayName'
|
|
192
|
+
property :form_factor, as: 'formFactor'
|
|
193
|
+
property :hardware_type, as: 'hardwareType'
|
|
194
|
+
property :ios_details, as: 'iosDetails', class: Google::Apis::DevicerunV1::CatalogIosDeviceDetails, decorator: Google::Apis::DevicerunV1::CatalogIosDeviceDetails::Representation
|
|
195
|
+
|
|
196
|
+
property :lab_info, as: 'labInfo', class: Google::Apis::DevicerunV1::CatalogLabInfo, decorator: Google::Apis::DevicerunV1::CatalogLabInfo::Representation
|
|
197
|
+
|
|
198
|
+
hash :labels, as: 'labels'
|
|
199
|
+
property :lifecycle, as: 'lifecycle', class: Google::Apis::DevicerunV1::CatalogLifecycle, decorator: Google::Apis::DevicerunV1::CatalogLifecycle::Representation
|
|
200
|
+
|
|
201
|
+
property :manufacturer, as: 'manufacturer'
|
|
202
|
+
property :model_code, as: 'modelCode'
|
|
203
|
+
property :name, as: 'name'
|
|
204
|
+
property :os_version, as: 'osVersion'
|
|
205
|
+
property :platform, as: 'platform'
|
|
206
|
+
property :primary_screen, as: 'primaryScreen', class: Google::Apis::DevicerunV1::CatalogScreenMetrics, decorator: Google::Apis::DevicerunV1::CatalogScreenMetrics::Representation
|
|
207
|
+
|
|
208
|
+
collection :supported_products, as: 'supportedProducts', class: Google::Apis::DevicerunV1::CatalogSupportedProduct, decorator: Google::Apis::DevicerunV1::CatalogSupportedProduct::Representation
|
|
209
|
+
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
class CatalogDeviceAvailability
|
|
214
|
+
# @private
|
|
215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
216
|
+
property :available, as: 'available'
|
|
217
|
+
property :capacity, as: 'capacity'
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class CatalogDeviceStreamingSupport
|
|
222
|
+
# @private
|
|
223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
224
|
+
property :minimum_android_studio_version, as: 'minimumAndroidStudioVersion'
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
class CatalogIosDeviceDetails
|
|
229
|
+
# @private
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class CatalogLabInfo
|
|
235
|
+
# @private
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
237
|
+
property :display_name, as: 'displayName'
|
|
238
|
+
property :region_code, as: 'regionCode'
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
class CatalogLifecycle
|
|
243
|
+
# @private
|
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
245
|
+
property :removal_date, as: 'removalDate', class: Google::Apis::DevicerunV1::Date, decorator: Google::Apis::DevicerunV1::Date::Representation
|
|
246
|
+
|
|
247
|
+
property :state, as: 'state'
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
class CatalogListDevicesResponse
|
|
252
|
+
# @private
|
|
253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
254
|
+
collection :devices, as: 'devices', class: Google::Apis::DevicerunV1::CatalogDevice, decorator: Google::Apis::DevicerunV1::CatalogDevice::Representation
|
|
255
|
+
|
|
256
|
+
property :next_page_token, as: 'nextPageToken'
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
class CatalogListSoftwareVersionsResponse
|
|
261
|
+
# @private
|
|
262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
263
|
+
property :next_page_token, as: 'nextPageToken'
|
|
264
|
+
collection :software_versions, as: 'softwareVersions', class: Google::Apis::DevicerunV1::CatalogSoftwareVersion, decorator: Google::Apis::DevicerunV1::CatalogSoftwareVersion::Representation
|
|
265
|
+
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
class CatalogScreenMetrics
|
|
270
|
+
# @private
|
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
272
|
+
property :density_dpi, as: 'densityDpi'
|
|
273
|
+
property :height_px, as: 'heightPx'
|
|
274
|
+
property :width_px, as: 'widthPx'
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
class CatalogSoftwareVersion
|
|
279
|
+
# @private
|
|
280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
281
|
+
property :androidx_test_orchestrator_details, as: 'androidxTestOrchestratorDetails', class: Google::Apis::DevicerunV1::CatalogAndroidxTestOrchestratorDetails, decorator: Google::Apis::DevicerunV1::CatalogAndroidxTestOrchestratorDetails::Representation
|
|
282
|
+
|
|
283
|
+
property :display_name, as: 'displayName'
|
|
284
|
+
property :is_default, as: 'isDefault'
|
|
285
|
+
property :lifecycle, as: 'lifecycle', class: Google::Apis::DevicerunV1::CatalogLifecycle, decorator: Google::Apis::DevicerunV1::CatalogLifecycle::Representation
|
|
286
|
+
|
|
287
|
+
property :name, as: 'name'
|
|
288
|
+
property :software_type, as: 'softwareType'
|
|
289
|
+
property :version, as: 'version'
|
|
290
|
+
property :xcode_details, as: 'xcodeDetails', class: Google::Apis::DevicerunV1::CatalogXcodeDetails, decorator: Google::Apis::DevicerunV1::CatalogXcodeDetails::Representation
|
|
291
|
+
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class CatalogSupportedProduct
|
|
296
|
+
# @private
|
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
298
|
+
property :automation, as: 'automation', class: Google::Apis::DevicerunV1::CatalogAutomationSupport, decorator: Google::Apis::DevicerunV1::CatalogAutomationSupport::Representation
|
|
299
|
+
|
|
300
|
+
property :device_streaming, as: 'deviceStreaming', class: Google::Apis::DevicerunV1::CatalogDeviceStreamingSupport, decorator: Google::Apis::DevicerunV1::CatalogDeviceStreamingSupport::Representation
|
|
301
|
+
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
class CatalogXcodeDetails
|
|
306
|
+
# @private
|
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
308
|
+
collection :supported_ios_versions, as: 'supportedIosVersions'
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class Date
|
|
313
|
+
# @private
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
315
|
+
property :day, as: 'day'
|
|
316
|
+
property :month, as: 'month'
|
|
317
|
+
property :year, as: 'year'
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
class Empty
|
|
322
|
+
# @private
|
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
class GoogleLongrunningCancelOperationRequest
|
|
328
|
+
# @private
|
|
329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
330
|
+
end
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
class GoogleLongrunningListOperationsResponse
|
|
334
|
+
# @private
|
|
335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
336
|
+
property :next_page_token, as: 'nextPageToken'
|
|
337
|
+
collection :operations, as: 'operations', class: Google::Apis::DevicerunV1::GoogleLongrunningOperation, decorator: Google::Apis::DevicerunV1::GoogleLongrunningOperation::Representation
|
|
338
|
+
|
|
339
|
+
collection :unreachable, as: 'unreachable'
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class GoogleLongrunningOperation
|
|
344
|
+
# @private
|
|
345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
346
|
+
property :done, as: 'done'
|
|
347
|
+
property :error, as: 'error', class: Google::Apis::DevicerunV1::GoogleRpcStatus, decorator: Google::Apis::DevicerunV1::GoogleRpcStatus::Representation
|
|
348
|
+
|
|
349
|
+
hash :metadata, as: 'metadata'
|
|
350
|
+
property :name, as: 'name'
|
|
351
|
+
hash :response, as: 'response'
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class GoogleRpcStatus
|
|
356
|
+
# @private
|
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
358
|
+
property :code, as: 'code'
|
|
359
|
+
collection :details, as: 'details'
|
|
360
|
+
property :message, as: 'message'
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
class ListLocationsResponse
|
|
365
|
+
# @private
|
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
367
|
+
collection :locations, as: 'locations', class: Google::Apis::DevicerunV1::Location, decorator: Google::Apis::DevicerunV1::Location::Representation
|
|
368
|
+
|
|
369
|
+
property :next_page_token, as: 'nextPageToken'
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class Location
|
|
374
|
+
# @private
|
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
376
|
+
property :display_name, as: 'displayName'
|
|
377
|
+
hash :labels, as: 'labels'
|
|
378
|
+
property :location_id, as: 'locationId'
|
|
379
|
+
hash :metadata, as: 'metadata'
|
|
380
|
+
property :name, as: 'name'
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
end
|