# Google Cloud Essential Contacts V1 Client - Class ComputeContactsResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.4.5 0.3.4 0.2.13 Reference documentation and code samples for the Google Cloud Essential Contacts V1 Client class ComputeContactsResponse.

Response message for the ComputeContacts method.

Generated from protobuf message `google.cloud.essentialcontacts.v1.ComputeContactsResponse`

## Namespace

Google \\ Cloud \\ EssentialContacts \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ contacts` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-essential-contacts/latest/V1.Contact>` All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources. |
| `↳ next_page_token` | `string` If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token` and the rest of the parameters the same as the original request. |

### getContacts

All contacts for the resource that are subscribed to the specified
notification categories, including contacts inherited from any parent
resources.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-essential-contacts/latest/V1.Contact>` |   |

### setContacts

All contacts for the resource that are subscribed to the specified
notification categories, including contacts inherited from any parent
resources.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-essential-contacts/latest/V1.Contact>` |

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

### getNextPageToken

If there are more results than those appearing in this response, then
`next_page_token` is included. To get the next set of results, call this
method again using the value of `next_page_token` as `page_token` and the
rest of the parameters the same as the original request.

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

### setNextPageToken

If there are more results than those appearing in this response, then
`next_page_token` is included. To get the next set of results, call this
method again using the value of `next_page_token` as `page_token` and the
rest of the parameters the same as the original request.

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

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