Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleAppsCloudidentityDevicesV1ClientState

import type { GoogleAppsCloudidentityDevicesV1ClientState } from "https://googleapis.deno.dev/v1/cloudidentity:v1.ts";

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

interface GoogleAppsCloudidentityDevicesV1ClientState {
assetTags?: string[];
complianceState?: "COMPLIANCE_STATE_UNSPECIFIED" | "COMPLIANT" | "NON_COMPLIANT";
readonly createTime?: Date;
customId?: string;
etag?: string;
healthScore?:
| "HEALTH_SCORE_UNSPECIFIED"
| "VERY_POOR"
| "POOR"
| "NEUTRAL"
| "GOOD"
| "VERY_GOOD";
keyValuePairs?: {};
readonly lastUpdateTime?: Date;
managed?: "MANAGED_STATE_UNSPECIFIED" | "MANAGED" | "UNMANAGED";
readonly name?: string;
readonly ownerType?: "OWNER_TYPE_UNSPECIFIED" | "OWNER_TYPE_CUSTOMER" | "OWNER_TYPE_PARTNER";
scoreReason?: string;
}

§Properties

§
assetTags?: string[]
[src]

The caller can specify asset tags for this resource

§
complianceState?: "COMPLIANCE_STATE_UNSPECIFIED" | "COMPLIANT" | "NON_COMPLIANT"
[src]

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

§
readonly createTime?: Date
[src]

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

§
customId?: string
[src]

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

§
etag?: string
[src]

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"
[src]

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.

§

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.

§
readonly lastUpdateTime?: Date
[src]

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

§
managed?: "MANAGED_STATE_UNSPECIFIED" | "MANAGED" | "UNMANAGED"
[src]

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

§
readonly name?: string
[src]

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')

§
readonly ownerType?: "OWNER_TYPE_UNSPECIFIED" | "OWNER_TYPE_CUSTOMER" | "OWNER_TYPE_PARTNER"
[src]

Output only. The owner of the ClientState

§
scoreReason?: string
[src]

A descriptive cause of the health score.