# Google Cloud Security Compliance V1 Client - Class AttributeSubstitutionRule (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 AttributeSubstitutionRule.

The attribute at the given path that's substituted entirely.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ attribute` | `string` The fully qualified proto attribute path, in dot notation. For example: `rules[0].cel_expression.resource_types_values` |

### getAttribute

The fully qualified proto attribute path, in dot notation.

For example: `rules[0].cel_expression.resource_types_values`

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

### setAttribute

The fully qualified proto attribute path, in dot notation.

For example: `rules[0].cel_expression.resource_types_values`

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

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