1.8.4 (latest) 1.7.2 1.6.0 1.5.0 1.4.0 1.3.1 1.2.1 1.1.3 1.0.0 0.6.5 0.5.1 0.4.4 0.3.13 Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ListAttachmentsResponse.

The response from listing attachments.

Generated from protobuf message `google.devtools.artifactregistry.v1.ListAttachmentsResponse`

## Namespace

Google \\ Cloud \\ ArtifactRegistry \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ attachments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Attachment>` The attachments returned. |
| `↳ next_page_token` | `string` The token to retrieve the next page of attachments, or empty if there are no more attachments to return. |

### getAttachments

The attachments returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Attachment>` |   |

### setAttachments

The attachments returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.Attachment>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNextPageToken

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |