devices

GET /v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates/{clientStatesId}

Changed on

Gets the client state for the device user

Request

  • Base URL
    https://cloudidentity.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices.readonly

Path parameters

devicesId, string required
deviceUsersId, string required
clientStatesId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

customer, string

Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

Response

Successful response

GoogleAppsCloudidentityDevicesV1ClientState required

Represents the state associated with an API client calling the Devices API. Resource representing ClientState and supports updates from API users

assetTags, string[]

The caller can specify asset tags for this resource

complianceState, 'COMPLIANCE_STATE_UNSPECIFIED' | 'COMPLIANT' | 'NON_COMPLIANT'

The compliance state of the resource as specified by the API client.

createTime, string google-datetime

Output only. The time the client state data was created.

customId, string

This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.

etag, string

The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest

healthScore, 'HEALTH_SCORE_UNSPECIFIED' | 'VERY_POOR' | 'POOR' | 'NEUTRAL' | 'GOOD' | 'VERY_GOOD'

The Health score of the resource. The Health score is the callers specification of the condition of the device from a usability point of view. For example, a third-party device management provider may specify a health score based on its compliance with organizational policies.

keyValuePairs, object

The map of key-value attributes stored by callers specific to a device. The total serialized length of this map may not exceed 10KB. No limit is placed on the number of attributes in a map.

lastUpdateTime, string google-datetime

Output only. The time the client state data was last updated.

managed, 'MANAGED_STATE_UNSPECIFIED' | 'MANAGED' | 'UNMANAGED'

The management state of the resource as specified by the API client.

name, string

Output only. Resource name of the ClientState in format: devices/{device}/deviceUsers/{device_user}/clientState/{partner}, where partner corresponds to the partner storing the data. For partners belonging to the "BeyondCorp Alliance", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: {customer}-suffix, where customer is your customer ID. The suffix is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: GET https://www.googleapis.com/admin/directory/v1/customers/my_customer The id field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')

ownerType, 'OWNER_TYPE_UNSPECIFIED' | 'OWNER_TYPE_CUSTOMER' | 'OWNER_TYPE_PARTNER'

Output only. The owner of the ClientState

scoreReason, string

A descriptive cause of the health score.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices.readonly was removed from the endpoint's security scheme Oauth2

    1 more change in this revision