2.15.0 (latest) 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 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.1.0 1.0.0

    public sealed class ListRulesResponse : IPageResponse<Rule>, IEnumerable<Rule>, IEnumerable, IMessage<ListRulesResponse>, IEquatable<ListRulesResponse>, IDeepCloneable<ListRulesResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class ListRulesResponse.

The response from listing rules.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ArtifactRegistry.V1.dll

## Constructors

### ListRulesResponse()

    public ListRulesResponse()

### ListRulesResponse(ListRulesResponse)

    public ListRulesResponse(ListRulesResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

The token to retrieve the next page of rules, or empty if there are no
more rules to return.

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

### Rules

    public RepeatedField<Rule> Rules { get; }

The rules returned.

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

## Methods

### GetEnumerator()

    public IEnumerator<Rule> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorRule` |   |