# ClientRules Class

### NAMESPACE

RASAdminEngine.Core.OutputModels

### DESCRIPTION

Client Rules

### INHERITED FROM

[RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html)⇒[RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html)⇒ClientRules

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                                                | Name         | Description                                                                                                                                      |                                                                  |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- |
| String                                                                                                                                                                              | AdminCreate  | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                  |
| String                                                                                                                                                                              | AdminLastMod | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                  |
| [ClientPolicyAllowedOperatingSystems](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ClientPolicyAllowedOperatingSystems.html) | AllowedOSes  |                                                                                                                                                  | Allowed Operating Systems (deprecated).                          |
| [ClientPolicyAssignment](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ClientPolicyAssignment.html)                           | Assignment   |                                                                                                                                                  | The Client Policy Assignment object.                             |
| [ClientPolicy](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ClientPolicy.html)                                               | ClientPolicy |                                                                                                                                                  | Users and groups that the client policy applies to.              |
| String                                                                                                                                                                              | Description  |                                                                                                                                                  | Description of the client policy.                                |
| Boolean                                                                                                                                                                             | Enabled      |                                                                                                                                                  | Whether the client policy is enabled or disabled.                |
| List\<String>                                                                                                                                                                       | GatewayList  |                                                                                                                                                  | Gateway List (deprecated).                                       |
| [GatewayRuleType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/GatewayRuleType.html)                                         | GatewayRule  |                                                                                                                                                  | Gateway Rule (deprecated).                                       |
| UInt32                                                                                                                                                                              | Id           |                                                                                                                                                  |                                                                  |
| List\<String>                                                                                                                                                                       | MACList      |                                                                                                                                                  | MAC List (deprecated).                                           |
| [MACRuleType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MACRuleType.html)                                                 | MACRule      |                                                                                                                                                  | MAC Rule (deprecated).                                           |
| String                                                                                                                                                                              | Name         |                                                                                                                                                  | Name of the client policy.                                       |
| UInt32                                                                                                                                                                              | Order        |                                                                                                                                                  | Order of the client policy.                                      |
| DateTime                                                                                                                                                                            | TimeCreate   | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                  |
| DateTime                                                                                                                                                                            | TimeLastMod  | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                  |
| List<[UserFilter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UserFilter.html)>                                             | UsersGroups  |                                                                                                                                                  | Users and groups that the client policy applies to (deprecated). |
| UInt32                                                                                                                                                                              | Version      |                                                                                                                                                  | Version.                                                         |

### PUBLIC METHODS

| Type    | Name                                                                                                                                                                             | Description                                                                                                                                                    |   |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj)                                                                                                                                                           | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)                                                                                                                                                              | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()                                                                                                                                                                   | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()                                                                                                                                                                       |                                                                                                                                                                |   |
| String  | ToString ()                                                                                                                                                                      |                                                                                                                                                                |   |
| Void    | UpdateFromObject ([ClientRules](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ClientRules.html) source, Boolean overwrite) |                                                                                                                                                                |   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/class/clientrules-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
