Skip to main content

client_states

Overview

Nameclient_states
TypeResource
Idgoogle.cloudidentity.client_states

Fields

NameDatatypeDescription
namestringOutput 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')
customIdstringThis field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.
etagstringThe token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest
healthScorestringThe 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.
assetTagsarrayThe caller can specify asset tags for this resource
createTimestringOutput only. The time the client state data was created.
ownerTypestringOutput only. The owner of the ClientState
managedstringThe management state of the resource as specified by the API client.
complianceStatestringThe compliance state of the resource as specified by the API client.
keyValuePairsobjectThe 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.
scoreReasonstringA descriptive cause of the health score.
lastUpdateTimestringOutput only. The time the client state data was last updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTclientStatesId, deviceUsersId, devicesIdGets the client state for the device user
listSELECTdeviceUsersId, devicesIdLists the client states for the given search query.
_listEXECdeviceUsersId, devicesIdLists the client states for the given search query.
patchEXECclientStatesId, deviceUsersId, devicesIdUpdates the client state for the device user 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