# Google API Common Protos Client - Class SystemParameterRule (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class SystemParameterRule.

Define a system parameter rule mapping system parameter definitions to
methods.

Generated from protobuf message `google.api.SystemParameterRule`

## Namespace

Google \\ Api

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ selector` | `string` Selects the methods to which this rule applies. Use '\*' to indicate all methods in all APIs. Refer to [selector](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.DocumentationRule#_Google_Api_DocumentationRule__getSelector__) for syntax details. |
| `↳ parameters` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SystemParameter>` Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. |

### getSelector

Selects the methods to which this rule applies. Use '\*' to indicate all
methods in all APIs.

Refer to [selector](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.DocumentationRule#_Google_Api_DocumentationRule__getSelector__) for syntax
details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSelector

Selects the methods to which this rule applies. Use '\*' to indicate all
methods in all APIs.

Refer to [selector](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.DocumentationRule#_Google_Api_DocumentationRule__getSelector__) for syntax
details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getParameters

Define parameters. Multiple names may be defined for a parameter.

For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SystemParameter>` |   |

### setParameters

Define parameters. Multiple names may be defined for a parameter.

For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.SystemParameter>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |