You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### androidenterprise:v1
The following keys were deleted:
- resources.enterprises.methods.createEnrollmentToken (Total Keys: 11)
The following keys were added:
- resources.enrollmentTokens.methods.create (Total Keys: 11)
<pclass="firstline">Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.</p>
<pre>Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.
92
+
93
+
Args:
94
+
enterpriseId: string, Required. The ID of the enterprise. (required)
95
+
body: object, The request body.
96
+
The object takes the form of:
97
+
98
+
{ # A token used to enroll a device.
99
+
"duration": "A String", # [Optional] The length of time the enrollment token is valid, ranging from 1 minute to [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour.
100
+
"enrollmentTokenType": "A String", # [Required] The type of the enrollment token.
101
+
"token": "A String", # The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
102
+
}
103
+
104
+
x__xgafv: string, V1 error format.
105
+
Allowed values
106
+
1 - v1 error format
107
+
2 - v2 error format
108
+
109
+
Returns:
110
+
An object of the form:
111
+
112
+
{ # A token used to enroll a device.
113
+
"duration": "A String", # [Optional] The length of time the enrollment token is valid, ranging from 1 minute to [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour.
114
+
"enrollmentTokenType": "A String", # [Required] The type of the enrollment token.
115
+
"token": "A String", # The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
<pclass="firstline">Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token.</p>
<pclass="firstline">Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.</p>
<pclass="firstline">Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the JavaScript API documentation for further information.</p>
<pre>Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.
178
-
179
-
Args:
180
-
enterpriseId: string, Required. The ID of the enterprise. (required)
181
-
body: object, The request body.
182
-
The object takes the form of:
183
-
184
-
{ # A token used to enroll a device.
185
-
"duration": "A String", # [Optional] The length of time the enrollment token is valid, ranging from 1 minute to [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour.
186
-
"enrollmentTokenType": "A String", # [Required] The type of the enrollment token.
187
-
"token": "A String", # The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
188
-
}
189
-
190
-
x__xgafv: string, V1 error format.
191
-
Allowed values
192
-
1 - v1 error format
193
-
2 - v2 error format
194
-
195
-
Returns:
196
-
An object of the form:
197
-
198
-
{ # A token used to enroll a device.
199
-
"duration": "A String", # [Optional] The length of time the enrollment token is valid, ranging from 1 minute to [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour.
200
-
"enrollmentTokenType": "A String", # [Required] The type of the enrollment token.
201
-
"token": "A String", # The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
<pre>Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the JavaScript API documentation for further information.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/androidenterprise.v1.json
+32-28Lines changed: 32 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -337,6 +337,37 @@
337
337
}
338
338
}
339
339
},
340
+
"enrollmentTokens": {
341
+
"methods": {
342
+
"create": {
343
+
"description": "Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.",
"description": "Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.",
"description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the JavaScript API documentation for further information.",
0 commit comments