Skip to content

Commit

Permalink
feat(androiddeviceprovisioning): update the api
Browse files Browse the repository at this point in the history
#### androiddeviceprovisioning:v1

The following keys were added:
- schemas.Configuration.properties.forcedResetTime (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent e8046a6 commit 6b91e38
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
Expand Up @@ -116,6 +116,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
}
Expand All @@ -137,6 +138,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
}</pre>
Expand Down Expand Up @@ -183,6 +185,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
}</pre>
Expand Down Expand Up @@ -213,6 +216,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
},
Expand All @@ -238,6 +242,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
}
Expand All @@ -260,6 +265,7 @@ <h3>Method Details</h3>
&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鈥檚 happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
&quot;dpcExtras&quot;: &quot;A String&quot;, # The JSON-formatted EMM provisioning extras that are passed to the DPC.
&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`.
&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.
&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`.
&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.
}</pre>
Expand Down
Expand Up @@ -825,7 +825,7 @@
}
}
},
"revision": "20230412",
"revision": "20230522",
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
"schemas": {
"ClaimDeviceRequest": {
Expand Down Expand Up @@ -1009,6 +1009,11 @@
"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`.",
"type": "string"
},
"forcedResetTime": {
"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.",
"format": "google-duration",
"type": "string"
},
"isDefault": {
"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`.",
"type": "boolean"
Expand Down Expand Up @@ -1757,7 +1762,8 @@
"SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE",
"SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS",
"SINGLE_DEVICE_STATUS_INVALID_TOKEN",
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN"
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN",
"SINGLE_DEVICE_STATUS_DEVICE_LIMIT_EXCEEDED"
],
"enumDescriptions": [
"Invalid code. Shouldn't be used.",
Expand All @@ -1769,7 +1775,8 @@
"Invalid section type.",
"This section is claimed by another company.",
"Invalid pre-provisioning token.",
"Revoked pre-provisioning token."
"Revoked pre-provisioning token.",
"Status used to indicate a failure due to a device limit being exceeded"
],
"type": "string"
}
Expand Down

0 comments on commit 6b91e38

Please sign in to comment.