1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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="cloudidentity_v1beta1.html">Cloud Identity API</a> . <a href="cloudidentity_v1beta1.devices.html">devices</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="cloudidentity_v1beta1.devices.deviceUsers.html">deviceUsers()</a></code> 79</p> 80<p class="firstline">Returns the deviceUsers Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="#cancelWipe">cancelWipe(name, body=None, x__xgafv=None)</a></code></p> 84<p class="firstline">Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped.</p> 85<p class="toc_element"> 86 <code><a href="#close">close()</a></code></p> 87<p class="firstline">Close httplib2 connections.</p> 88<p class="toc_element"> 89 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p> 90<p class="firstline">Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium</p> 91<p class="toc_element"> 92 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 93<p class="firstline">Deletes the specified device.</p> 94<p class="toc_element"> 95 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 96<p class="firstline">Retrieves the specified device.</p> 97<p class="toc_element"> 98 <code><a href="#list">list(filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p> 99<p class="firstline">Lists/Searches devices.</p> 100<p class="toc_element"> 101 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 102<p class="firstline">Retrieves the next page of results.</p> 103<p class="toc_element"> 104 <code><a href="#wipe">wipe(name, body=None, x__xgafv=None)</a></code></p> 105<p class="firstline">Wipes all data on the specified device.</p> 106<h3>Method Details</h3> 107<div class="method"> 108 <code class="details" id="cancelWipe">cancelWipe(name, body=None, x__xgafv=None)</code> 109 <pre>Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. 110 111Args: 112 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device. (required) 113 body: object, The request body. 114 The object takes the form of: 115 116{ # Request message for cancelling an unfinished device wipe. 117} 118 119 x__xgafv: string, V1 error format. 120 Allowed values 121 1 - v1 error format 122 2 - v2 error format 123 124Returns: 125 An object of the form: 126 127 { # This resource represents a long-running operation that is the result of a network API call. 128 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 129 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 130 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 131 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 132 { 133 "a_key": "", # Properties of the object. Contains field @type with type URL. 134 }, 135 ], 136 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 137 }, 138 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 139 "a_key": "", # Properties of the object. Contains field @type with type URL. 140 }, 141 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 142 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 143 "a_key": "", # Properties of the object. Contains field @type with type URL. 144 }, 145}</pre> 146</div> 147 148<div class="method"> 149 <code class="details" id="close">close()</code> 150 <pre>Close httplib2 connections.</pre> 151</div> 152 153<div class="method"> 154 <code class="details" id="create">create(body=None, x__xgafv=None)</code> 155 <pre>Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium 156 157Args: 158 body: object, The request body. 159 The object takes the form of: 160 161{ # Request message for creating a Company Owned device. 162 "device": { # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. # Required. The device to be created. The name field within this device is ignored in the create method. A new name is created by the method, and returned within the response. Only the fields `device_type`, `serial_number` and `asset_tag` (if present) are used to create the device. All other fields are ignored. The `device_type` and `serial_number` fields are required. 163 "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. 164 "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. 165 "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. 166 "ownershipPrivilege": "A String", # Ownership privileges on device. 167 "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. 168 }, 169 "assetTag": "A String", # Asset tag of the device. 170 "basebandVersion": "A String", # Output only. Baseband version of the device. 171 "bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. 172 "brand": "A String", # Output only. Device brand. Example: Samsung. 173 "buildNumber": "A String", # Output only. Build number of the device. 174 "compromisedState": "A String", # Output only. Represents whether the Device is compromised. 175 "createTime": "A String", # Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. 176 "deviceType": "A String", # Output only. Type of device. 177 "enabledDeveloperOptions": True or False, # Output only. Whether developer options is enabled on device. 178 "enabledUsbDebugging": True or False, # Output only. Whether USB debugging is enabled on device. 179 "encryptionState": "A String", # Output only. Device encryption state. 180 "endpointVerificationSpecificAttributes": { # Resource representing the Endpoint Verification-specific attributes of a Device. https://cloud.google.com/endpoint-verification/docs/overview # Output only. Attributes specific to Endpoint Verification devices. 181 "certificateAttributes": [ # Details of certificates. 182 { # Stores information about a certificate. 183 "certificateTemplate": { # CertificateTemplate (v3 Extension in X.509). # The X.509 extension for CertificateTemplate. 184 "id": "A String", # The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047". 185 "majorVersion": 42, # The Major version of the template. Example: 100. 186 "minorVersion": 42, # The minor version of the template. Example: 12. 187 }, 188 "fingerprint": "A String", # The encoded certificate fingerprint. 189 "issuer": "A String", # The name of the issuer of this certificate. 190 "serialNumber": "A String", # Serial number of the certificate, Example: "123456789". 191 "subject": "A String", # The subject name of this certificate. 192 "thumbprint": "A String", # The certificate thumbprint. 193 "validationState": "A String", # Validation state of this certificate. 194 "validityExpirationTime": "A String", # Certificate not valid at or after this timestamp. 195 "validityStartTime": "A String", # Certificate not valid before this timestamp. 196 }, 197 ], 198 }, 199 "imei": "A String", # Output only. IMEI number of device if GSM device; empty otherwise. 200 "kernelVersion": "A String", # Output only. Kernel version of the device. 201 "lastSyncTime": "A String", # Most recent time when device synced with this service. 202 "managementState": "A String", # Output only. Management state of the device 203 "manufacturer": "A String", # Output only. Device manufacturer. Example: Motorola. 204 "meid": "A String", # Output only. MEID number of device if CDMA device; empty otherwise. 205 "model": "A String", # Output only. Model name of device. Example: Pixel 3. 206 "name": "A String", # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. 207 "networkOperator": "A String", # Output only. Mobile or network operator of device, if available. 208 "osVersion": "A String", # Output only. OS version of the device. Example: Android 8.1.0. 209 "otherAccounts": [ # Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". 210 "A String", 211 ], 212 "ownerType": "A String", # Output only. Whether the device is owned by the company or an individual 213 "releaseVersion": "A String", # Output only. OS release version. Example: 6.0. 214 "securityPatchTime": "A String", # Output only. OS security patch update time on device. 215 "serialNumber": "A String", # Serial Number of device. Example: HT82V1A01076. 216 "wifiMacAddresses": [ # WiFi MAC addresses of device. 217 "A String", 218 ], 219 }, 220} 221 222 x__xgafv: string, V1 error format. 223 Allowed values 224 1 - v1 error format 225 2 - v2 error format 226 227Returns: 228 An object of the form: 229 230 { # This resource represents a long-running operation that is the result of a network API call. 231 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 232 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 233 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 234 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 235 { 236 "a_key": "", # Properties of the object. Contains field @type with type URL. 237 }, 238 ], 239 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 240 }, 241 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 242 "a_key": "", # Properties of the object. Contains field @type with type URL. 243 }, 244 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 245 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 246 "a_key": "", # Properties of the object. Contains field @type with type URL. 247 }, 248}</pre> 249</div> 250 251<div class="method"> 252 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 253 <pre>Deletes the specified device. 254 255Args: 256 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device. (required) 257 x__xgafv: string, V1 error format. 258 Allowed values 259 1 - v1 error format 260 2 - v2 error format 261 262Returns: 263 An object of the form: 264 265 { # This resource represents a long-running operation that is the result of a network API call. 266 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 267 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 268 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 269 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 270 { 271 "a_key": "", # Properties of the object. Contains field @type with type URL. 272 }, 273 ], 274 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 275 }, 276 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 277 "a_key": "", # Properties of the object. Contains field @type with type URL. 278 }, 279 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 280 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 281 "a_key": "", # Properties of the object. Contains field @type with type URL. 282 }, 283}</pre> 284</div> 285 286<div class="method"> 287 <code class="details" id="get">get(name, x__xgafv=None)</code> 288 <pre>Retrieves the specified device. 289 290Args: 291 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique ID assigned to the Device. (required) 292 x__xgafv: string, V1 error format. 293 Allowed values 294 1 - v1 error format 295 2 - v2 error format 296 297Returns: 298 An object of the form: 299 300 { # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. 301 "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. 302 "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. 303 "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. 304 "ownershipPrivilege": "A String", # Ownership privileges on device. 305 "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. 306 }, 307 "assetTag": "A String", # Asset tag of the device. 308 "basebandVersion": "A String", # Output only. Baseband version of the device. 309 "bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. 310 "brand": "A String", # Output only. Device brand. Example: Samsung. 311 "buildNumber": "A String", # Output only. Build number of the device. 312 "compromisedState": "A String", # Output only. Represents whether the Device is compromised. 313 "createTime": "A String", # Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. 314 "deviceType": "A String", # Output only. Type of device. 315 "enabledDeveloperOptions": True or False, # Output only. Whether developer options is enabled on device. 316 "enabledUsbDebugging": True or False, # Output only. Whether USB debugging is enabled on device. 317 "encryptionState": "A String", # Output only. Device encryption state. 318 "endpointVerificationSpecificAttributes": { # Resource representing the Endpoint Verification-specific attributes of a Device. https://cloud.google.com/endpoint-verification/docs/overview # Output only. Attributes specific to Endpoint Verification devices. 319 "certificateAttributes": [ # Details of certificates. 320 { # Stores information about a certificate. 321 "certificateTemplate": { # CertificateTemplate (v3 Extension in X.509). # The X.509 extension for CertificateTemplate. 322 "id": "A String", # The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047". 323 "majorVersion": 42, # The Major version of the template. Example: 100. 324 "minorVersion": 42, # The minor version of the template. Example: 12. 325 }, 326 "fingerprint": "A String", # The encoded certificate fingerprint. 327 "issuer": "A String", # The name of the issuer of this certificate. 328 "serialNumber": "A String", # Serial number of the certificate, Example: "123456789". 329 "subject": "A String", # The subject name of this certificate. 330 "thumbprint": "A String", # The certificate thumbprint. 331 "validationState": "A String", # Validation state of this certificate. 332 "validityExpirationTime": "A String", # Certificate not valid at or after this timestamp. 333 "validityStartTime": "A String", # Certificate not valid before this timestamp. 334 }, 335 ], 336 }, 337 "imei": "A String", # Output only. IMEI number of device if GSM device; empty otherwise. 338 "kernelVersion": "A String", # Output only. Kernel version of the device. 339 "lastSyncTime": "A String", # Most recent time when device synced with this service. 340 "managementState": "A String", # Output only. Management state of the device 341 "manufacturer": "A String", # Output only. Device manufacturer. Example: Motorola. 342 "meid": "A String", # Output only. MEID number of device if CDMA device; empty otherwise. 343 "model": "A String", # Output only. Model name of device. Example: Pixel 3. 344 "name": "A String", # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. 345 "networkOperator": "A String", # Output only. Mobile or network operator of device, if available. 346 "osVersion": "A String", # Output only. OS version of the device. Example: Android 8.1.0. 347 "otherAccounts": [ # Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". 348 "A String", 349 ], 350 "ownerType": "A String", # Output only. Whether the device is owned by the company or an individual 351 "releaseVersion": "A String", # Output only. OS release version. Example: 6.0. 352 "securityPatchTime": "A String", # Output only. OS security patch update time on device. 353 "serialNumber": "A String", # Serial Number of device. Example: HT82V1A01076. 354 "wifiMacAddresses": [ # WiFi MAC addresses of device. 355 "A String", 356 ], 357}</pre> 358</div> 359 360<div class="method"> 361 <code class="details" id="list">list(filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code> 362 <pre>Lists/Searches devices. 363 364Args: 365 filter: string, Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operators). Multiple search fields are separated by the space character. 366 orderBy: string, Optional. Order specification for devices in the response. Only one of the following field names may be used to specify the order: `create_time`, `last_sync_time`, `model`, `os_version`, `device_type` and `serial_number`. `desc` may be specified optionally to specify results to be sorted in descending order. Default order is ascending. 367 pageSize: integer, Optional. The maximum number of Devices to return. If unspecified, at most 20 Devices will be returned. The maximum value is 100; values above 100 will be coerced to 100. 368 pageToken: string, Optional. A page token, received from a previous `ListDevices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token. 369 view: string, Optional. The view to use for the List request. 370 Allowed values 371 VIEW_UNSPECIFIED - Default value. The value is unused. 372 COMPANY_INVENTORY - This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). 373 USER_ASSIGNED_DEVICES - This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags. 374 x__xgafv: string, V1 error format. 375 Allowed values 376 1 - v1 error format 377 2 - v2 error format 378 379Returns: 380 An object of the form: 381 382 { # Response message that is returned from the ListDevices method. 383 "devices": [ # Devices meeting the list restrictions. 384 { # A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. 385 "androidSpecificAttributes": { # Resource representing the Android specific attributes of a Device. # Output only. Attributes specific to Android devices. 386 "enabledUnknownSources": True or False, # Whether applications from unknown sources can be installed on device. 387 "ownerProfileAccount": True or False, # Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. 388 "ownershipPrivilege": "A String", # Ownership privileges on device. 389 "supportsWorkProfile": True or False, # Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the "Enforce Work Profile" policy. 390 }, 391 "assetTag": "A String", # Asset tag of the device. 392 "basebandVersion": "A String", # Output only. Baseband version of the device. 393 "bootloaderVersion": "A String", # Output only. Device bootloader version. Example: 0.6.7. 394 "brand": "A String", # Output only. Device brand. Example: Samsung. 395 "buildNumber": "A String", # Output only. Build number of the device. 396 "compromisedState": "A String", # Output only. Represents whether the Device is compromised. 397 "createTime": "A String", # Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. 398 "deviceType": "A String", # Output only. Type of device. 399 "enabledDeveloperOptions": True or False, # Output only. Whether developer options is enabled on device. 400 "enabledUsbDebugging": True or False, # Output only. Whether USB debugging is enabled on device. 401 "encryptionState": "A String", # Output only. Device encryption state. 402 "endpointVerificationSpecificAttributes": { # Resource representing the Endpoint Verification-specific attributes of a Device. https://cloud.google.com/endpoint-verification/docs/overview # Output only. Attributes specific to Endpoint Verification devices. 403 "certificateAttributes": [ # Details of certificates. 404 { # Stores information about a certificate. 405 "certificateTemplate": { # CertificateTemplate (v3 Extension in X.509). # The X.509 extension for CertificateTemplate. 406 "id": "A String", # The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047". 407 "majorVersion": 42, # The Major version of the template. Example: 100. 408 "minorVersion": 42, # The minor version of the template. Example: 12. 409 }, 410 "fingerprint": "A String", # The encoded certificate fingerprint. 411 "issuer": "A String", # The name of the issuer of this certificate. 412 "serialNumber": "A String", # Serial number of the certificate, Example: "123456789". 413 "subject": "A String", # The subject name of this certificate. 414 "thumbprint": "A String", # The certificate thumbprint. 415 "validationState": "A String", # Validation state of this certificate. 416 "validityExpirationTime": "A String", # Certificate not valid at or after this timestamp. 417 "validityStartTime": "A String", # Certificate not valid before this timestamp. 418 }, 419 ], 420 }, 421 "imei": "A String", # Output only. IMEI number of device if GSM device; empty otherwise. 422 "kernelVersion": "A String", # Output only. Kernel version of the device. 423 "lastSyncTime": "A String", # Most recent time when device synced with this service. 424 "managementState": "A String", # Output only. Management state of the device 425 "manufacturer": "A String", # Output only. Device manufacturer. Example: Motorola. 426 "meid": "A String", # Output only. MEID number of device if CDMA device; empty otherwise. 427 "model": "A String", # Output only. Model name of device. Example: Pixel 3. 428 "name": "A String", # Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. 429 "networkOperator": "A String", # Output only. Mobile or network operator of device, if available. 430 "osVersion": "A String", # Output only. OS version of the device. Example: Android 8.1.0. 431 "otherAccounts": [ # Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: "com.example", "xyz.com". 432 "A String", 433 ], 434 "ownerType": "A String", # Output only. Whether the device is owned by the company or an individual 435 "releaseVersion": "A String", # Output only. OS release version. Example: 6.0. 436 "securityPatchTime": "A String", # Output only. OS security patch update time on device. 437 "serialNumber": "A String", # Serial Number of device. Example: HT82V1A01076. 438 "wifiMacAddresses": [ # WiFi MAC addresses of device. 439 "A String", 440 ], 441 }, 442 ], 443 "nextPageToken": "A String", # Token to retrieve the next page of results. Empty if there are no more results. 444}</pre> 445</div> 446 447<div class="method"> 448 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 449 <pre>Retrieves the next page of results. 450 451Args: 452 previous_request: The request for the previous page. (required) 453 previous_response: The response from the request for the previous page. (required) 454 455Returns: 456 A request object that you can call 'execute()' on to request the next 457 page. Returns None if there are no more items in the collection. 458 </pre> 459</div> 460 461<div class="method"> 462 <code class="details" id="wipe">wipe(name, body=None, x__xgafv=None)</code> 463 <pre>Wipes all data on the specified device. 464 465Args: 466 name: string, Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device_id}/deviceUsers/{device_user_id}`, where device_id is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User. (required) 467 body: object, The request body. 468 The object takes the form of: 469 470{ # Request message for wiping all data on the device. 471 "removeResetLock": True or False, # Optional. Specifies if a user is able to factory reset a device after a Device Wipe. On iOS, this is called "Activation Lock", while on Android, this is known as "Factory Reset Protection". If true, this protection will be removed from the device, so that a user can successfully factory reset. If false, the setting is untouched on the device. 472} 473 474 x__xgafv: string, V1 error format. 475 Allowed values 476 1 - v1 error format 477 2 - v2 error format 478 479Returns: 480 An object of the form: 481 482 { # This resource represents a long-running operation that is the result of a network API call. 483 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 484 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 485 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 486 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 487 { 488 "a_key": "", # Properties of the object. Contains field @type with type URL. 489 }, 490 ], 491 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 492 }, 493 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 494 "a_key": "", # Properties of the object. Contains field @type with type URL. 495 }, 496 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 497 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 498 "a_key": "", # Properties of the object. Contains field @type with type URL. 499 }, 500}</pre> 501</div> 502 503</body></html>