Assigned
Status Update
Comments
se...@google.com <se...@google.com>
se...@google.com <se...@google.com>
mo...@google.com <mo...@google.com> #2
The R8 build does include these files in our jar and they are not used/needed. I'll amend our build to avoid including them and merge it to the release branches.
Description
While creating "company owned" (Windows, Mac) device records through Cloud Identity API, serial number, device type and asset tag are provided. Trying to query for these records programmatically by asset tag appears to not be possible and would be beneficial.
Describe the solution you'd like
Being able to query for device records by their asset tag as it is possible with its serial number.
A small code sample that reliably reproduces the issue. The sample should run as-is or with minimal setup, without external dependencies.
# QUERYING FOR SERIAL NUMBER
service_name = 'cloudidentity'
api_version = 'v1beta1'
service = discovery.build(
service_name,
api_version,
credentials=credentials)
req = service.devices().list(filter='serial:'+f'{serialNumber}', pageSize="1").execute()