2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class ListCustomConstraintsResponse : IMessage<ListCustomConstraintsResponse>, IEquatable<ListCustomConstraintsResponse>, IDeepCloneable<ListCustomConstraintsResponse>, IBufferMessage, IMessage, IPageResponse<CustomConstraint>, IEnumerable<CustomConstraint>, IEnumerable

Reference documentation and code samples for the Organization Policy v2 API class ListCustomConstraintsResponse.

The response returned from the \[ListCustomConstraints\]
\[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints\] method. It will
be empty if no custom or managed constraints are set on the organization
resource.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ListCustomConstraintsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListCustomConstraintsResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListCustomConstraintsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListCustomConstraintsResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ListCustomConstraintsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.ListCustomConstraintsResponse.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), [IPageResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.md.txt)[CustomConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.CustomConstraint.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[CustomConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/Google.Cloud.OrgPolicy.V2.CustomConstraint.md.txt), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

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

## Assembly

Google.Cloud.OrgPolicy.V2.dll

## Constructors

### ListCustomConstraintsResponse()

    public ListCustomConstraintsResponse()

### ListCustomConstraintsResponse(ListCustomConstraintsResponse)

    public ListCustomConstraintsResponse(ListCustomConstraintsResponse other)

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

## Properties

### CustomConstraints

    public RepeatedField<CustomConstraint> CustomConstraints { get; }

All custom and managed constraints that exist on the organization resource.
It will be empty if no custom constraints are set.

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

### NextPageToken

    public string NextPageToken { get; set; }

Page token used to retrieve the next page. This is currently not used, but
the server may at any point start supplying a valid token.

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

## Methods

### GetEnumerator()

    public IEnumerator<CustomConstraint> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorCustomConstraint` |   |