google-apis-androiddeviceprovisioning_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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-androiddeviceprovisioning_v1.rb +15 -0
- data/lib/google/apis/androiddeviceprovisioning_v1.rb +34 -0
- data/lib/google/apis/androiddeviceprovisioning_v1/classes.rb +1414 -0
- data/lib/google/apis/androiddeviceprovisioning_v1/gem_version.rb +28 -0
- data/lib/google/apis/androiddeviceprovisioning_v1/representations.rb +661 -0
- data/lib/google/apis/androiddeviceprovisioning_v1/service.rb +961 -0
- metadata +76 -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 AndroiddeviceprovisioningV1
|
18
|
+
# Version of the google-apis-androiddeviceprovisioning_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20200801"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,661 @@
|
|
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 AndroiddeviceprovisioningV1
|
24
|
+
|
25
|
+
class ClaimDeviceRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ClaimDeviceResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ClaimDevicesRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Company
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Configuration
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CreateCustomerRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CustomerApplyConfigurationRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CustomerListConfigurationsResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CustomerListCustomersResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CustomerListDevicesResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CustomerListDpcsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CustomerRemoveConfigurationRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CustomerUnclaimDeviceRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Device
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class DeviceClaim
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class DeviceIdentifier
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class DeviceMetadata
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class DeviceReference
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class DevicesLongRunningOperationMetadata
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class DevicesLongRunningOperationResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Dpc
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Empty
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class FindDevicesByDeviceIdentifierRequest
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class FindDevicesByDeviceIdentifierResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class FindDevicesByOwnerRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class FindDevicesByOwnerResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class ListCustomersResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ListVendorCustomersResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class ListVendorsResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Operation
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class OperationPerDevice
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class PartnerClaim
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class PartnerUnclaim
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class PerDeviceStatusInBatch
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class Status
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class UnclaimDeviceRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class UnclaimDevicesRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class UpdateDeviceMetadataInBatchRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class UpdateDeviceMetadataRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class UpdateMetadataArguments
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class ClaimDeviceRequest
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :customer_id, :numeric_string => true, as: 'customerId'
|
269
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
270
|
+
|
271
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
272
|
+
|
273
|
+
property :section_type, as: 'sectionType'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class ClaimDeviceResponse
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
281
|
+
property :device_name, as: 'deviceName'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
class ClaimDevicesRequest
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
collection :claims, as: 'claims', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim::Representation
|
289
|
+
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
class Company
|
294
|
+
# @private
|
295
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
296
|
+
collection :admin_emails, as: 'adminEmails'
|
297
|
+
property :company_id, :numeric_string => true, as: 'companyId'
|
298
|
+
property :company_name, as: 'companyName'
|
299
|
+
property :name, as: 'name'
|
300
|
+
collection :owner_emails, as: 'ownerEmails'
|
301
|
+
property :terms_status, as: 'termsStatus'
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
class Configuration
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
property :company_name, as: 'companyName'
|
309
|
+
property :configuration_id, :numeric_string => true, as: 'configurationId'
|
310
|
+
property :configuration_name, as: 'configurationName'
|
311
|
+
property :contact_email, as: 'contactEmail'
|
312
|
+
property :contact_phone, as: 'contactPhone'
|
313
|
+
property :custom_message, as: 'customMessage'
|
314
|
+
property :dpc_extras, as: 'dpcExtras'
|
315
|
+
property :dpc_resource_path, as: 'dpcResourcePath'
|
316
|
+
property :is_default, as: 'isDefault'
|
317
|
+
property :name, as: 'name'
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
class CreateCustomerRequest
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :customer, as: 'customer', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
325
|
+
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class CustomerApplyConfigurationRequest
|
330
|
+
# @private
|
331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
+
property :configuration, as: 'configuration'
|
333
|
+
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
|
334
|
+
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
class CustomerListConfigurationsResponse
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
collection :configurations, as: 'configurations', class: Google::Apis::AndroiddeviceprovisioningV1::Configuration, decorator: Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
342
|
+
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class CustomerListCustomersResponse
|
347
|
+
# @private
|
348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
+
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
350
|
+
|
351
|
+
property :next_page_token, as: 'nextPageToken'
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class CustomerListDevicesResponse
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
359
|
+
|
360
|
+
property :next_page_token, as: 'nextPageToken'
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class CustomerListDpcsResponse
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
collection :dpcs, as: 'dpcs', class: Google::Apis::AndroiddeviceprovisioningV1::Dpc, decorator: Google::Apis::AndroiddeviceprovisioningV1::Dpc::Representation
|
368
|
+
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
class CustomerRemoveConfigurationRequest
|
373
|
+
# @private
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
375
|
+
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
|
376
|
+
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
class CustomerUnclaimDeviceRequest
|
381
|
+
# @private
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
+
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
|
384
|
+
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
class Device
|
389
|
+
# @private
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
391
|
+
collection :claims, as: 'claims', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim::Representation
|
392
|
+
|
393
|
+
property :configuration, as: 'configuration'
|
394
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
395
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
396
|
+
|
397
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
398
|
+
|
399
|
+
property :name, as: 'name'
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class DeviceClaim
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :owner_company_id, :numeric_string => true, as: 'ownerCompanyId'
|
407
|
+
property :reseller_id, :numeric_string => true, as: 'resellerId'
|
408
|
+
property :section_type, as: 'sectionType'
|
409
|
+
property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
|
410
|
+
property :vacation_mode_start_time, as: 'vacationModeStartTime'
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class DeviceIdentifier
|
415
|
+
# @private
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
property :imei, as: 'imei'
|
418
|
+
property :manufacturer, as: 'manufacturer'
|
419
|
+
property :meid, as: 'meid'
|
420
|
+
property :model, as: 'model'
|
421
|
+
property :serial_number, as: 'serialNumber'
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
class DeviceMetadata
|
426
|
+
# @private
|
427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
428
|
+
hash :entries, as: 'entries'
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
class DeviceReference
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
436
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
437
|
+
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class DevicesLongRunningOperationMetadata
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :devices_count, as: 'devicesCount'
|
445
|
+
property :processing_status, as: 'processingStatus'
|
446
|
+
property :progress, as: 'progress'
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
class DevicesLongRunningOperationResponse
|
451
|
+
# @private
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
453
|
+
collection :per_device_status, as: 'perDeviceStatus', class: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice, decorator: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice::Representation
|
454
|
+
|
455
|
+
property :success_count, as: 'successCount'
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
class Dpc
|
460
|
+
# @private
|
461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
462
|
+
property :dpc_name, as: 'dpcName'
|
463
|
+
property :name, as: 'name'
|
464
|
+
property :package_name, as: 'packageName'
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
class Empty
|
469
|
+
# @private
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
class FindDevicesByDeviceIdentifierRequest
|
475
|
+
# @private
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
478
|
+
|
479
|
+
property :limit, :numeric_string => true, as: 'limit'
|
480
|
+
property :page_token, as: 'pageToken'
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class FindDevicesByDeviceIdentifierResponse
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
488
|
+
|
489
|
+
property :next_page_token, as: 'nextPageToken'
|
490
|
+
property :total_size, as: 'totalSize'
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
class FindDevicesByOwnerRequest
|
495
|
+
# @private
|
496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
497
|
+
collection :customer_id, as: 'customerId'
|
498
|
+
property :limit, :numeric_string => true, as: 'limit'
|
499
|
+
property :page_token, as: 'pageToken'
|
500
|
+
property :section_type, as: 'sectionType'
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class FindDevicesByOwnerResponse
|
505
|
+
# @private
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
+
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
508
|
+
|
509
|
+
property :next_page_token, as: 'nextPageToken'
|
510
|
+
property :total_size, as: 'totalSize'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
class ListCustomersResponse
|
515
|
+
# @private
|
516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
517
|
+
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
518
|
+
|
519
|
+
property :next_page_token, as: 'nextPageToken'
|
520
|
+
property :total_size, as: 'totalSize'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
class ListVendorCustomersResponse
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
528
|
+
|
529
|
+
property :next_page_token, as: 'nextPageToken'
|
530
|
+
property :total_size, as: 'totalSize'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
class ListVendorsResponse
|
535
|
+
# @private
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
537
|
+
property :next_page_token, as: 'nextPageToken'
|
538
|
+
property :total_size, as: 'totalSize'
|
539
|
+
collection :vendors, as: 'vendors', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
540
|
+
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
class Operation
|
545
|
+
# @private
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
property :done, as: 'done'
|
548
|
+
property :error, as: 'error', class: Google::Apis::AndroiddeviceprovisioningV1::Status, decorator: Google::Apis::AndroiddeviceprovisioningV1::Status::Representation
|
549
|
+
|
550
|
+
hash :metadata, as: 'metadata'
|
551
|
+
property :name, as: 'name'
|
552
|
+
hash :response, as: 'response'
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
class OperationPerDevice
|
557
|
+
# @private
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
559
|
+
property :claim, as: 'claim', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim::Representation
|
560
|
+
|
561
|
+
property :result, as: 'result', class: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch, decorator: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch::Representation
|
562
|
+
|
563
|
+
property :unclaim, as: 'unclaim', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim::Representation
|
564
|
+
|
565
|
+
property :update_metadata, as: 'updateMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments, decorator: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments::Representation
|
566
|
+
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
class PartnerClaim
|
571
|
+
# @private
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
573
|
+
property :customer_id, :numeric_string => true, as: 'customerId'
|
574
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
575
|
+
|
576
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
577
|
+
|
578
|
+
property :section_type, as: 'sectionType'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class PartnerUnclaim
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
586
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
587
|
+
|
588
|
+
property :section_type, as: 'sectionType'
|
589
|
+
property :vacation_mode_days, as: 'vacationModeDays'
|
590
|
+
property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class PerDeviceStatusInBatch
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
598
|
+
property :error_identifier, as: 'errorIdentifier'
|
599
|
+
property :error_message, as: 'errorMessage'
|
600
|
+
property :status, as: 'status'
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
class Status
|
605
|
+
# @private
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
+
property :code, as: 'code'
|
608
|
+
collection :details, as: 'details'
|
609
|
+
property :message, as: 'message'
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
class UnclaimDeviceRequest
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
617
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
618
|
+
|
619
|
+
property :section_type, as: 'sectionType'
|
620
|
+
property :vacation_mode_days, as: 'vacationModeDays'
|
621
|
+
property :vacation_mode_expire_time, as: 'vacationModeExpireTime'
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
class UnclaimDevicesRequest
|
626
|
+
# @private
|
627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
628
|
+
collection :unclaims, as: 'unclaims', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim::Representation
|
629
|
+
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class UpdateDeviceMetadataInBatchRequest
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
collection :updates, as: 'updates', class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments, decorator: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments::Representation
|
637
|
+
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
class UpdateDeviceMetadataRequest
|
642
|
+
# @private
|
643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
644
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
645
|
+
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
649
|
+
class UpdateMetadataArguments
|
650
|
+
# @private
|
651
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
+
property :device_id, :numeric_string => true, as: 'deviceId'
|
653
|
+
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
|
654
|
+
|
655
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
656
|
+
|
657
|
+
end
|
658
|
+
end
|
659
|
+
end
|
660
|
+
end
|
661
|
+
end
|