Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="androiddeviceprovisioning_v1.html">Android Device Provisioning Partner API</a> . <a href="androiddeviceprovisioning_v1.customers.html">customers</a> . <a href="androiddeviceprovisioning_v1.customers.devices.html">devices</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#applyConfiguration">applyConfiguration(parent, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 79 | <p class="firstline">Applies a Configuration to the device to register the device for zero-touch</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Gets the details of a device.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 84 | <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 85 | <p class="firstline">Lists a customer's devices.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 88 | <p class="firstline">Retrieves the next page of results.</p> |
| 89 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 90 | <code><a href="#removeConfiguration">removeConfiguration(parent, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 91 | <p class="firstline">Removes a configuration from device.</p> |
| 92 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | <code><a href="#unclaim">unclaim(parent, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 94 | <p class="firstline">Unclaims a device from a customer and removes it from zero-touch</p> |
| 95 | <h3>Method Details</h3> |
| 96 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 97 | <code class="details" id="applyConfiguration">applyConfiguration(parent, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 98 | <pre>Applies a Configuration to the device to register the device for zero-touch |
| 99 | enrollment. After applying a configuration to a device, the device |
| 100 | automatically provisions itself on first boot, or next factory reset. |
| 101 | |
| 102 | Args: |
| 103 | parent: string, Required. The customer managing the device. An API resource name in the |
| 104 | format `customers/[CUSTOMER_ID]`. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 105 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 106 | The object takes the form of: |
| 107 | |
| 108 | { # Request message for customer to assign a configuration to device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 109 | "configuration": "A String", # Required. The configuration applied to the device in the format |
| 110 | # `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 111 | "device": { # A `DeviceReference` is an API abstraction that lets you supply a _device_ # Required. The device the configuration is applied to. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 112 | # argument to a method using one of the following identifier types: |
| 113 | # |
| 114 | # * A numeric API resource ID. |
| 115 | # * Real-world hardware IDs, such as IMEI number, belonging to the manufactured |
| 116 | # device. |
| 117 | # |
| 118 | # Methods that operate on devices take a `DeviceReference` as a parameter type |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 119 | # because it's more flexible for the caller. To learn more about device |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 120 | # identifiers, read [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | "deviceId": "A String", # The ID of the device. |
| 122 | "deviceIdentifier": { # Encapsulates hardware and product IDs to identify a manufactured device. # The hardware IDs of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 123 | # To understand requirements on identifier sets, read |
| 124 | # [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 125 | "manufacturer": "A String", # The device manufacturer’s name. Matches the device's built-in |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 126 | # value returned from `android.os.Build.MANUFACTURER`. Allowed values are |
| 127 | # listed in |
| 128 | # [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 129 | "imei": "A String", # The device’s IMEI number. Validated on input. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 130 | "meid": "A String", # The device’s MEID number. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 131 | "serialNumber": "A String", # The manufacturer's serial number for the device. This value might not be |
| 132 | # unique across different device models. |
| 133 | "model": "A String", # The device model's name. Matches the device's built-in value returned from |
| 134 | # `android.os.Build.MODEL`. Allowed values are listed in |
| 135 | # [models](/zero-touch/resources/manufacturer-names#model-names). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 136 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 137 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | x__xgafv: string, V1 error format. |
| 141 | Allowed values |
| 142 | 1 - v1 error format |
| 143 | 2 - v2 error format |
| 144 | |
| 145 | Returns: |
| 146 | An object of the form: |
| 147 | |
| 148 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 149 | # empty messages in your APIs. A typical example is to use it as the request |
| 150 | # or the response type of an API method. For instance: |
| 151 | # |
| 152 | # service Foo { |
| 153 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 154 | # } |
| 155 | # |
| 156 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 157 | }</pre> |
| 158 | </div> |
| 159 | |
| 160 | <div class="method"> |
| 161 | <code class="details" id="get">get(name, x__xgafv=None)</code> |
| 162 | <pre>Gets the details of a device. |
| 163 | |
| 164 | Args: |
| 165 | name: string, Required. The device to get. An API resource name in the format |
| 166 | `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`. (required) |
| 167 | x__xgafv: string, V1 error format. |
| 168 | Allowed values |
| 169 | 1 - v1 error format |
| 170 | 2 - v2 error format |
| 171 | |
| 172 | Returns: |
| 173 | An object of the form: |
| 174 | |
| 175 | { # An Android device registered for zero-touch enrollment. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "deviceIdentifier": { # Encapsulates hardware and product IDs to identify a manufactured device. # The hardware IDs that identify a manufactured device. To learn more, read |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 177 | # [Identifiers](/zero-touch/guides/identifiers). |
| 178 | # To understand requirements on identifier sets, read |
| 179 | # [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 180 | "manufacturer": "A String", # The device manufacturer’s name. Matches the device's built-in |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 181 | # value returned from `android.os.Build.MANUFACTURER`. Allowed values are |
| 182 | # listed in |
| 183 | # [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 184 | "imei": "A String", # The device’s IMEI number. Validated on input. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 185 | "meid": "A String", # The device’s MEID number. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 186 | "serialNumber": "A String", # The manufacturer's serial number for the device. This value might not be |
| 187 | # unique across different device models. |
| 188 | "model": "A String", # The device model's name. Matches the device's built-in value returned from |
| 189 | # `android.os.Build.MODEL`. Allowed values are listed in |
| 190 | # [models](/zero-touch/resources/manufacturer-names#model-names). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 191 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 192 | "name": "A String", # Output only. The API resource name in the format |
| 193 | # `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server. |
| 194 | "configuration": "A String", # Not available to resellers. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 195 | "deviceMetadata": { # Metadata entries that can be attached to a `Device`. To learn more, read # The metadata attached to the device. Structured as key-value pairs. To |
| 196 | # learn more, read [Device metadata](/zero-touch/guides/metadata). |
| 197 | # [Device metadata](/zero-touch/guides/metadata). |
| 198 | "entries": { # Metadata entries recorded as key-value pairs. |
| 199 | "a_key": "A String", |
| 200 | }, |
| 201 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 202 | "deviceId": "A String", # Output only. The ID of the device. Assigned by the server. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 203 | "claims": [ # Output only. The provisioning claims for a device. Devices claimed for |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 204 | # zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. |
| 205 | # Call |
| 206 | # `partners.devices.unclaim` |
| 207 | # or |
| 208 | # `partners.devices.unclaimAsync` |
| 209 | # to remove the device from zero-touch enrollment. |
| 210 | { # A record of a device claimed by a reseller for a customer. Devices claimed |
| 211 | # for zero-touch enrollment have a claim with the type |
| 212 | # `SECTION_TYPE_ZERO_TOUCH`. To learn more, read |
| 213 | # [Claim devices for customers](/zero-touch/guides/how-it-works#claim). |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 214 | "vacationModeExpireTime": "A String", # The timestamp when the device will exit ‘vacation mode’. This value is |
| 215 | # present iff the device is in 'vacation mode'. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | "resellerId": "A String", # The ID of the reseller that claimed the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 217 | "ownerCompanyId": "A String", # The ID of the Customer that purchased the device. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 218 | "sectionType": "A String", # Output only. The type of claim made on the device. |
| 219 | "vacationModeStartTime": "A String", # The timestamp when the device was put into ‘vacation mode’. This value is |
| 220 | # present iff the device is in 'vacation mode'. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 221 | }, |
| 222 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 223 | }</pre> |
| 224 | </div> |
| 225 | |
| 226 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 227 | <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | <pre>Lists a customer's devices. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 229 | |
| 230 | Args: |
| 231 | parent: string, Required. The customer managing the devices. An API resource name in the |
| 232 | format `customers/[CUSTOMER_ID]`. (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 233 | pageToken: string, A token specifying which result page to return. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 234 | pageSize: string, The maximum number of devices to show in a page of results. |
| 235 | Must be between 1 and 100 inclusive. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 236 | x__xgafv: string, V1 error format. |
| 237 | Allowed values |
| 238 | 1 - v1 error format |
| 239 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 240 | |
| 241 | Returns: |
| 242 | An object of the form: |
| 243 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 244 | { # Response message of customer's liting devices. |
| 245 | "devices": [ # The customer's devices. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 246 | { # An Android device registered for zero-touch enrollment. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 247 | "deviceIdentifier": { # Encapsulates hardware and product IDs to identify a manufactured device. # The hardware IDs that identify a manufactured device. To learn more, read |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 248 | # [Identifiers](/zero-touch/guides/identifiers). |
| 249 | # To understand requirements on identifier sets, read |
| 250 | # [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 251 | "manufacturer": "A String", # The device manufacturer’s name. Matches the device's built-in |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 252 | # value returned from `android.os.Build.MANUFACTURER`. Allowed values are |
| 253 | # listed in |
| 254 | # [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 255 | "imei": "A String", # The device’s IMEI number. Validated on input. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 256 | "meid": "A String", # The device’s MEID number. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 257 | "serialNumber": "A String", # The manufacturer's serial number for the device. This value might not be |
| 258 | # unique across different device models. |
| 259 | "model": "A String", # The device model's name. Matches the device's built-in value returned from |
| 260 | # `android.os.Build.MODEL`. Allowed values are listed in |
| 261 | # [models](/zero-touch/resources/manufacturer-names#model-names). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 262 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 263 | "name": "A String", # Output only. The API resource name in the format |
| 264 | # `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server. |
| 265 | "configuration": "A String", # Not available to resellers. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 266 | "deviceMetadata": { # Metadata entries that can be attached to a `Device`. To learn more, read # The metadata attached to the device. Structured as key-value pairs. To |
| 267 | # learn more, read [Device metadata](/zero-touch/guides/metadata). |
| 268 | # [Device metadata](/zero-touch/guides/metadata). |
| 269 | "entries": { # Metadata entries recorded as key-value pairs. |
| 270 | "a_key": "A String", |
| 271 | }, |
| 272 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 273 | "deviceId": "A String", # Output only. The ID of the device. Assigned by the server. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 274 | "claims": [ # Output only. The provisioning claims for a device. Devices claimed for |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 275 | # zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. |
| 276 | # Call |
| 277 | # `partners.devices.unclaim` |
| 278 | # or |
| 279 | # `partners.devices.unclaimAsync` |
| 280 | # to remove the device from zero-touch enrollment. |
| 281 | { # A record of a device claimed by a reseller for a customer. Devices claimed |
| 282 | # for zero-touch enrollment have a claim with the type |
| 283 | # `SECTION_TYPE_ZERO_TOUCH`. To learn more, read |
| 284 | # [Claim devices for customers](/zero-touch/guides/how-it-works#claim). |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 285 | "vacationModeExpireTime": "A String", # The timestamp when the device will exit ‘vacation mode’. This value is |
| 286 | # present iff the device is in 'vacation mode'. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 287 | "resellerId": "A String", # The ID of the reseller that claimed the device. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 288 | "ownerCompanyId": "A String", # The ID of the Customer that purchased the device. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 289 | "sectionType": "A String", # Output only. The type of claim made on the device. |
| 290 | "vacationModeStartTime": "A String", # The timestamp when the device was put into ‘vacation mode’. This value is |
| 291 | # present iff the device is in 'vacation mode'. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 292 | }, |
| 293 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 294 | }, |
| 295 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 296 | "nextPageToken": "A String", # A token used to access the next page of results. Omitted if no further |
| 297 | # results are available. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 298 | }</pre> |
| 299 | </div> |
| 300 | |
| 301 | <div class="method"> |
| 302 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 303 | <pre>Retrieves the next page of results. |
| 304 | |
| 305 | Args: |
| 306 | previous_request: The request for the previous page. (required) |
| 307 | previous_response: The response from the request for the previous page. (required) |
| 308 | |
| 309 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 310 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 311 | page. Returns None if there are no more items in the collection. |
| 312 | </pre> |
| 313 | </div> |
| 314 | |
| 315 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 316 | <code class="details" id="removeConfiguration">removeConfiguration(parent, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 317 | <pre>Removes a configuration from device. |
| 318 | |
| 319 | Args: |
| 320 | parent: string, Required. The customer managing the device in the format |
| 321 | `customers/[CUSTOMER_ID]`. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 322 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 323 | The object takes the form of: |
| 324 | |
| 325 | { # Request message for customer to remove the configuration from device. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 326 | "device": { # A `DeviceReference` is an API abstraction that lets you supply a _device_ # Required. The device to remove the configuration from. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 327 | # argument to a method using one of the following identifier types: |
| 328 | # |
| 329 | # * A numeric API resource ID. |
| 330 | # * Real-world hardware IDs, such as IMEI number, belonging to the manufactured |
| 331 | # device. |
| 332 | # |
| 333 | # Methods that operate on devices take a `DeviceReference` as a parameter type |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 334 | # because it's more flexible for the caller. To learn more about device |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 335 | # identifiers, read [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 336 | "deviceId": "A String", # The ID of the device. |
| 337 | "deviceIdentifier": { # Encapsulates hardware and product IDs to identify a manufactured device. # The hardware IDs of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 338 | # To understand requirements on identifier sets, read |
| 339 | # [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 340 | "manufacturer": "A String", # The device manufacturer’s name. Matches the device's built-in |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 341 | # value returned from `android.os.Build.MANUFACTURER`. Allowed values are |
| 342 | # listed in |
| 343 | # [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 344 | "imei": "A String", # The device’s IMEI number. Validated on input. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 345 | "meid": "A String", # The device’s MEID number. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 346 | "serialNumber": "A String", # The manufacturer's serial number for the device. This value might not be |
| 347 | # unique across different device models. |
| 348 | "model": "A String", # The device model's name. Matches the device's built-in value returned from |
| 349 | # `android.os.Build.MODEL`. Allowed values are listed in |
| 350 | # [models](/zero-touch/resources/manufacturer-names#model-names). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 351 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 352 | }, |
| 353 | } |
| 354 | |
| 355 | x__xgafv: string, V1 error format. |
| 356 | Allowed values |
| 357 | 1 - v1 error format |
| 358 | 2 - v2 error format |
| 359 | |
| 360 | Returns: |
| 361 | An object of the form: |
| 362 | |
| 363 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 364 | # empty messages in your APIs. A typical example is to use it as the request |
| 365 | # or the response type of an API method. For instance: |
| 366 | # |
| 367 | # service Foo { |
| 368 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 369 | # } |
| 370 | # |
| 371 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 372 | }</pre> |
| 373 | </div> |
| 374 | |
| 375 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 376 | <code class="details" id="unclaim">unclaim(parent, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 377 | <pre>Unclaims a device from a customer and removes it from zero-touch |
| 378 | enrollment. |
| 379 | |
| 380 | After removing a device, a customer must contact their reseller to register |
| 381 | the device into zero-touch enrollment again. |
| 382 | |
| 383 | Args: |
| 384 | parent: string, Required. The customer managing the device. An API resource name in the |
| 385 | format `customers/[CUSTOMER_ID]`. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 386 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 387 | The object takes the form of: |
| 388 | |
| 389 | { # Request message for customer to unclaim a device. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 390 | "device": { # A `DeviceReference` is an API abstraction that lets you supply a _device_ # Required. The device to unclaim. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 391 | # argument to a method using one of the following identifier types: |
| 392 | # |
| 393 | # * A numeric API resource ID. |
| 394 | # * Real-world hardware IDs, such as IMEI number, belonging to the manufactured |
| 395 | # device. |
| 396 | # |
| 397 | # Methods that operate on devices take a `DeviceReference` as a parameter type |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 398 | # because it's more flexible for the caller. To learn more about device |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 399 | # identifiers, read [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 400 | "deviceId": "A String", # The ID of the device. |
| 401 | "deviceIdentifier": { # Encapsulates hardware and product IDs to identify a manufactured device. # The hardware IDs of the device. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 402 | # To understand requirements on identifier sets, read |
| 403 | # [Identifiers](/zero-touch/guides/identifiers). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 404 | "manufacturer": "A String", # The device manufacturer’s name. Matches the device's built-in |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 405 | # value returned from `android.os.Build.MANUFACTURER`. Allowed values are |
| 406 | # listed in |
| 407 | # [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 408 | "imei": "A String", # The device’s IMEI number. Validated on input. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 409 | "meid": "A String", # The device’s MEID number. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 410 | "serialNumber": "A String", # The manufacturer's serial number for the device. This value might not be |
| 411 | # unique across different device models. |
| 412 | "model": "A String", # The device model's name. Matches the device's built-in value returned from |
| 413 | # `android.os.Build.MODEL`. Allowed values are listed in |
| 414 | # [models](/zero-touch/resources/manufacturer-names#model-names). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 415 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 416 | }, |
| 417 | } |
| 418 | |
| 419 | x__xgafv: string, V1 error format. |
| 420 | Allowed values |
| 421 | 1 - v1 error format |
| 422 | 2 - v2 error format |
| 423 | |
| 424 | Returns: |
| 425 | An object of the form: |
| 426 | |
| 427 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 428 | # empty messages in your APIs. A typical example is to use it as the request |
| 429 | # or the response type of an API method. For instance: |
| 430 | # |
| 431 | # service Foo { |
| 432 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 433 | # } |
| 434 | # |
| 435 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 436 | }</pre> |
| 437 | </div> |
| 438 | |
| 439 | </body></html> |