Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6b91e38

Browse files
committedMay 24, 2023
feat(androiddeviceprovisioning): update the api
#### androiddeviceprovisioning:v1 The following keys were added: - schemas.Configuration.properties.forcedResetTime (Total Keys: 2)
1 parent e8046a6 commit 6b91e38

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed
 

‎docs/dyn/androiddeviceprovisioning_v1.customers.configurations.html

+6
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ <h3>Method Details</h3>
116116
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
117117
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
118118
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
119+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
119120
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
120121
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
121122
}
@@ -137,6 +138,7 @@ <h3>Method Details</h3>
137138
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
138139
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
139140
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
141+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
140142
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
141143
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
142144
}</pre>
@@ -183,6 +185,7 @@ <h3>Method Details</h3>
183185
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
184186
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
185187
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
188+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
186189
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
187190
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
188191
}</pre>
@@ -213,6 +216,7 @@ <h3>Method Details</h3>
213216
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
214217
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
215218
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
219+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
216220
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
217221
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
218222
},
@@ -238,6 +242,7 @@ <h3>Method Details</h3>
238242
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
239243
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
240244
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
245+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
241246
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
242247
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
243248
}
@@ -260,6 +265,7 @@ <h3>Method Details</h3>
260265
&quot;customMessage&quot;: &quot;A String&quot;, # A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
261266
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
262267
&quot;dpcResourcePath&quot;: &quot;A String&quot;, # Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
268+
&quot;forcedResetTime&quot;: &quot;A String&quot;, # Optional. The timeout before forcing factory reset the device if the device doesn&#x27;t go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.
263269
&quot;isDefault&quot;: True or False, # Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration&#x27;s `isDefault` value to `false`.
264270
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
265271
}</pre>

‎googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json

+10-3
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
}
826826
}
827827
},
828-
"revision": "20230412",
828+
"revision": "20230522",
829829
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
830830
"schemas": {
831831
"ClaimDeviceRequest": {
@@ -1009,6 +1009,11 @@
10091009
"description": "Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.",
10101010
"type": "string"
10111011
},
1012+
"forcedResetTime": {
1013+
"description": "Optional. The timeout before forcing factory reset the device if the device doesn't go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.",
1014+
"format": "google-duration",
1015+
"type": "string"
1016+
},
10121017
"isDefault": {
10131018
"description": "Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration's `isDefault` value to `false`.",
10141019
"type": "boolean"
@@ -1757,7 +1762,8 @@
17571762
"SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE",
17581763
"SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS",
17591764
"SINGLE_DEVICE_STATUS_INVALID_TOKEN",
1760-
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN"
1765+
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN",
1766+
"SINGLE_DEVICE_STATUS_DEVICE_LIMIT_EXCEEDED"
17611767
],
17621768
"enumDescriptions": [
17631769
"Invalid code. Shouldn't be used.",
@@ -1769,7 +1775,8 @@
17691775
"Invalid section type.",
17701776
"This section is claimed by another company.",
17711777
"Invalid pre-provisioning token.",
1772-
"Revoked pre-provisioning token."
1778+
"Revoked pre-provisioning token.",
1779+
"Status used to indicate a failure due to a device limit being exceeded"
17731780
],
17741781
"type": "string"
17751782
}

0 commit comments

Comments
 (0)
Please sign in to comment.