1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class SupportedDatabaseFlag.Types.StringRestrictions : IMessage<SupportedDatabaseFlag.Types.StringRestrictions>, IEquatable<SupportedDatabaseFlag.Types.StringRestrictions>, IDeepCloneable<SupportedDatabaseFlag.Types.StringRestrictions>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1 API class SupportedDatabaseFlag.Types.StringRestrictions.

Restrictions on STRING type values

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SupportedDatabaseFlag](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.md.txt)[StringRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.StringRestrictions.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SupportedDatabaseFlag](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.md.txt)[StringRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.StringRestrictions.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SupportedDatabaseFlag](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.md.txt)[StringRestrictions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.SupportedDatabaseFlag.Types.StringRestrictions.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### StringRestrictions()

    public StringRestrictions()

### StringRestrictions(StringRestrictions)

    public StringRestrictions(SupportedDatabaseFlag.Types.StringRestrictions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SupportedDatabaseFlagTypesStringRestrictions` |

## Properties

### AllowedValues

    public RepeatedField<string> AllowedValues { get; }

The list of allowed values, if bounded. This field will be empty
if there is a unbounded number of allowed values.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |