assetTags = $assetTags; } /** * @return string[] */ public function getAssetTags() { return $this->assetTags; } /** * The compliance state of the resource as specified by the API client. * * Accepted values: COMPLIANCE_STATE_UNSPECIFIED, COMPLIANT, NON_COMPLIANT * * @param self::COMPLIANCE_STATE_* $complianceState */ public function setComplianceState($complianceState) { $this->complianceState = $complianceState; } /** * @return self::COMPLIANCE_STATE_* */ public function getComplianceState() { return $this->complianceState; } /** * Output only. The time the client state data was created. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * This field may be used to store a unique identifier for the API resource * within which these CustomAttributes are a field. * * @param string $customId */ public function setCustomId($customId) { $this->customId = $customId; } /** * @return string */ public function getCustomId() { return $this->customId; } /** * The token that needs to be passed back for concurrency control in updates. * Token needs to be passed back in UpdateRequest * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * 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. * * Accepted values: HEALTH_SCORE_UNSPECIFIED, VERY_POOR, POOR, NEUTRAL, GOOD, * VERY_GOOD * * @param self::HEALTH_SCORE_* $healthScore */ public function setHealthScore($healthScore) { $this->healthScore = $healthScore; } /** * @return self::HEALTH_SCORE_* */ public function getHealthScore() { return $this->healthScore; } /** * 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. * * @param GoogleAppsCloudidentityDevicesV1CustomAttributeValue[] $keyValuePairs */ public function setKeyValuePairs($keyValuePairs) { $this->keyValuePairs = $keyValuePairs; } /** * @return GoogleAppsCloudidentityDevicesV1CustomAttributeValue[] */ public function getKeyValuePairs() { return $this->keyValuePairs; } /** * Output only. The time the client state data was last updated. * * @param string $lastUpdateTime */ public function setLastUpdateTime($lastUpdateTime) { $this->lastUpdateTime = $lastUpdateTime; } /** * @return string */ public function getLastUpdateTime() { return $this->lastUpdateTime; } /** * The management state of the resource as specified by the API client. * * Accepted values: MANAGED_STATE_UNSPECIFIED, MANAGED, UNMANAGED * * @param self::MANAGED_* $managed */ public function setManaged($managed) { $this->managed = $managed; } /** * @return self::MANAGED_* */ public function getManaged() { return $this->managed; } /** * 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') * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The owner of the ClientState * * Accepted values: OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER, * OWNER_TYPE_PARTNER * * @param self::OWNER_TYPE_* $ownerType */ public function setOwnerType($ownerType) { $this->ownerType = $ownerType; } /** * @return self::OWNER_TYPE_* */ public function getOwnerType() { return $this->ownerType; } /** * A descriptive cause of the health score. * * @param string $scoreReason */ public function setScoreReason($scoreReason) { $this->scoreReason = $scoreReason; } /** * @return string */ public function getScoreReason() { return $this->scoreReason; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleAppsCloudidentityDevicesV1ClientState::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ClientState');