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 ListAttachmentsResponse : IPageResponse<Attachment>, IEnumerable<Attachment>, IEnumerable, IMessage<ListAttachmentsResponse>, IEquatable<ListAttachmentsResponse>, IDeepCloneable<ListAttachmentsResponse>, IBufferMessage, IMessage

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

The response from listing attachments.

## Inheritance

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

## Implements

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

### ListAttachmentsResponse()

    public ListAttachmentsResponse()

### ListAttachmentsResponse(ListAttachmentsResponse)

    public ListAttachmentsResponse(ListAttachmentsResponse other)

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

## Properties

### Attachments

    public RepeatedField<Attachment> Attachments { get; }

The attachments returned.

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

### NextPageToken

    public string NextPageToken { get; set; }

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

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

## Methods

### GetEnumerator()

    public IEnumerator<Attachment> GetEnumerator()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumeratorAttachment` |   |