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

1.0.0-beta05 (latest) 1.0.0-beta04

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

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

The regular expression (regex) validator for parameter values.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RegexpPattern](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.RegexpPattern), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RegexpPattern](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.RegexpPattern), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RegexpPattern](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.RegexpPattern), [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

### RegexpPattern()

    public RegexpPattern()

### RegexpPattern(RegexpPattern)

    public RegexpPattern(RegexpPattern other)

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

## Properties

### Pattern

    public string Pattern { get; set; }

Required. The regex pattern to match the values of the parameter with.

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