OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package enterprise_management; | 9 package enterprise_management; |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Machine model name, such as "ZGA", "Cr-48", "Nexus One". If the | 37 // Machine model name, such as "ZGA", "Cr-48", "Nexus One". If the |
38 // model name is not available, client SHOULD send generic name like | 38 // model name is not available, client SHOULD send generic name like |
39 // "Android", or "Chrome OS". | 39 // "Android", or "Chrome OS". |
40 optional string machine_model = 4; | 40 optional string machine_model = 4; |
41 | 41 |
42 // When true, indicates that the |machine_id| has been identified as auto- | 42 // When true, indicates that the |machine_id| has been identified as auto- |
43 // enrollment candidate on the client and the server can use it to verify | 43 // enrollment candidate on the client and the server can use it to verify |
44 // that the client is to be enrolled in the correct mode. | 44 // that the client is to be enrolled in the correct mode. |
45 // Defaults to false when not present. | 45 // Defaults to false when not present. |
46 optional bool auto_enrolled = 5; | 46 optional bool auto_enrolled = 5; |
| 47 |
| 48 // Indicates a requisition of the registering entity that the server can act |
| 49 // upon. This allows clients to pass hints e.g. at device enrollment time |
| 50 // about the intended use of the device. |
| 51 optional string requisition = 6; |
47 } | 52 } |
48 | 53 |
49 // Response from server to device register request. | 54 // Response from server to device register request. |
50 message DeviceRegisterResponse { | 55 message DeviceRegisterResponse { |
51 // Device management token for this registration. This token MUST be | 56 // Device management token for this registration. This token MUST be |
52 // part of HTTP Authorization header for all future requests from | 57 // part of HTTP Authorization header for all future requests from |
53 // device to server. | 58 // device to server. |
54 required string device_management_token = 1; | 59 required string device_management_token = 1; |
55 | 60 |
56 // Device display name. By default, server generates the name in | 61 // Device display name. By default, server generates the name in |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 | 556 |
552 // Auto-enrollment detection response. | 557 // Auto-enrollment detection response. |
553 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; | 558 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; |
554 | 559 |
555 // EMCert upload response. | 560 // EMCert upload response. |
556 optional DeviceCertUploadResponse cert_upload_response = 9; | 561 optional DeviceCertUploadResponse cert_upload_response = 9; |
557 | 562 |
558 // Response to OAuth2 authorization code request. | 563 // Response to OAuth2 authorization code request. |
559 optional DeviceServiceApiAccessResponse service_api_access_response = 10; | 564 optional DeviceServiceApiAccessResponse service_api_access_response = 10; |
560 } | 565 } |
OLD | NEW |