Google Workspace · Schema

GoogleAppsCloudidentityDevicesV1ClientState

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

CalendarCollaborationEmailProductivityStorageVideo ConferencingGoogle Workspace

Properties

Name Type Description
assetTags array The caller can specify asset tags for this resource
managed string The management state of the resource as specified by the API client.
etag string The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest
scoreReason string A descriptive cause of the health score.
complianceState string The compliance state of the resource as specified by the API client.
ownerType string Output only. The owner of the ClientState
lastUpdateTime string Output only. The time the client state data was last updated.
healthScore string 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
createTime string Output only. The time the client state data was created.
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.
name string Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corres
customId string This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.
View JSON Schema on GitHub

JSON Schema

google-workspace-google-apps-cloudidentity-devices-v1-client-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-google-apps-cloudidentity-devices-v1-client-state-schema.json",
  "title": "GoogleAppsCloudidentityDevicesV1ClientState",
  "description": "Represents the state associated with an API client calling the Devices API. Resource representing ClientState and supports updates from API users",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-workspace-cloudidentity-devices-api-openapi.yml#/components/schemas/GoogleAppsCloudidentityDevicesV1ClientState",
  "type": "object",
  "properties": {
    "assetTags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "The caller can specify asset tags for this resource"
    },
    "managed": {
      "enum": [
        "MANAGED_STATE_UNSPECIFIED",
        "MANAGED",
        "UNMANAGED"
      ],
      "description": "The management state of the resource as specified by the API client.",
      "type": "string"
    },
    "etag": {
      "description": "The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest",
      "type": "string"
    },
    "scoreReason": {
      "description": "A descriptive cause of the health score.",
      "type": "string"
    },
    "complianceState": {
      "enum": [
        "COMPLIANCE_STATE_UNSPECIFIED",
        "COMPLIANT",
        "NON_COMPLIANT"
      ],
      "description": "The compliance state of the resource as specified by the API client.",
      "type": "string"
    },
    "ownerType": {
      "type": "string",
      "enum": [
        "OWNER_TYPE_UNSPECIFIED",
        "OWNER_TYPE_CUSTOMER",
        "OWNER_TYPE_PARTNER"
      ],
      "description": "Output only. The owner of the ClientState",
      "readOnly": true
    },
    "lastUpdateTime": {
      "type": "string",
      "description": "Output only. The time the client state data was last updated.",
      "readOnly": true,
      "format": "google-datetime"
    },
    "healthScore": {
      "description": "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.",
      "type": "string",
      "enum": [
        "HEALTH_SCORE_UNSPECIFIED",
        "VERY_POOR",
        "POOR",
        "NEUTRAL",
        "GOOD",
        "VERY_GOOD"
      ]
    },
    "createTime": {
      "format": "google-datetime",
      "type": "string",
      "readOnly": true,
      "description": "Output only. The time the client state data was created."
    },
    "keyValuePairs": {
      "description": "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.",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/GoogleAppsCloudidentityDevicesV1CustomAttributeValue"
      }
    },
    "name": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) 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')"
    },
    "customId": {
      "description": "This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.",
      "type": "string"
    }
  },
  "$defs": {
    "GoogleAppsCloudidentityDevicesV1CustomAttributeValue": {
      "properties": {
        "boolValue": {
          "type": "boolean",
          "description": "Represents a boolean value."
        },
        "numberValue": {
          "format": "double",
          "description": "Represents a double value.",
          "type": "number"
        },
        "stringValue": {
          "description": "Represents a string value.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Additional custom attribute values may be one of these types"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-workspace-google-apps-cloudidentity-devices-v1-client-state"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.