# Cloud Security Compliance v1 API - Class AttributeSubstitutionRule (1.0.0-beta05)

1.0.0-beta05 (latest) 1.0.0-beta04

    public sealed class AttributeSubstitutionRule : IMessage<AttributeSubstitutionRule>, IEquatable<AttributeSubstitutionRule>, IDeepCloneable<AttributeSubstitutionRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Security Compliance v1 API class AttributeSubstitutionRule.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AttributeSubstitutionRule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AttributeSubstitutionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.AttributeSubstitutionRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AttributeSubstitutionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.AttributeSubstitutionRule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AttributeSubstitutionRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.AttributeSubstitutionRule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudSecurityCompliance.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1)

## Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

## Constructors

### AttributeSubstitutionRule()

    public AttributeSubstitutionRule()

### AttributeSubstitutionRule(AttributeSubstitutionRule)

    public AttributeSubstitutionRule(AttributeSubstitutionRule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.AttributeSubstitutionRule` |

## Properties

### Attribute

    public string Attribute { get; set; }

The fully qualified proto attribute path, in dot notation.
For example: `rules[0].cel_expression.resource_types_values`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |