Skip to content

AnnotatedAssetId, AnnotatedLocation, and DirectoryId are loosely defined #11

@9072997

Description

@9072997

AnnotatedAssetId is said to be administrator-defined. If it's use is organization specific, the same thing could be achieved by the administrator just putting this information in the device config using the proposed Managed Configuration API. The only case I can see for it being given special treatment is that an application might be written for use in multiple organizations which needs a unique identifier (AssetId is defined by the explainer to be unique within the organization). For this use case though, I would imagine most applications would use SerialNumber.

Would AnnotatedLocation refer to a device's physicaly assigned location or logical location (such as department)? What if an administrator wanted both pieces of information available to their application? They would have to stick one of them in the general config section, so why not just put both there to begin with?

Why can getAnnotatedAssetId, getAnnotatedLocation, and getHostname all resolve to undefined while getDirectoryId cannot? An organization might use 0 or multiple inventory management systems which might use 1 or more unique identifiers to track devices. Would it not make more sense to allow an administrator to set as many unique identifiers as they wanted under whatever names they wanted using the general Managed Configuration API?

I suppose that my general issue is that the Device Attributes Web API is very Google-Admin-ey. It might be worth considering more of an ldap-style approach and let different implementations decide what attributes make sense. For example, Google Admin managed devices might always have a 'DirectoryId' config key set, but IMO this should not be part of the spec.

Thanks for the great work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions