# Google Cloud Security Compliance V1 Client - Class ParameterSubstitutionRule (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ParameterSubstitutionRule.

The parameter substitution rules.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ placeholder_substitution_rule` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.PlaceholderSubstitutionRule` The placeholder substitution rule. |
| `↳ attribute_substitution_rule` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.AttributeSubstitutionRule` The attribute substitution rule. |

### getPlaceholderSubstitutionRule

The placeholder substitution rule.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.PlaceholderSubstitutionRule|null` |   |

### hasPlaceholderSubstitutionRule

### setPlaceholderSubstitutionRule

The placeholder substitution rule.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.PlaceholderSubstitutionRule` |

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

### getAttributeSubstitutionRule

The attribute substitution rule.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.AttributeSubstitutionRule|null` |   |

### hasAttributeSubstitutionRule

### setAttributeSubstitutionRule

The attribute substitution rule.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.AttributeSubstitutionRule` |

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

### getSubstitutionType

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