# Google Certificate Authority Service V1 Client - Class ListCertificateAuthoritiesResponse (2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class ListCertificateAuthoritiesResponse.

Response message for
[CertificateAuthorityService.ListCertificateAuthorities](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.Client.CertificateAuthorityServiceClient#_Google_Cloud_Security_PrivateCA_V1_Client_CertificateAuthorityServiceClient__listCertificateAuthorities__).

Generated from protobuf message `google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ certificate_authorities` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority>` The list of [CertificateAuthorities](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority). |
| `↳ next_page_token` | `string` A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCertificateAuthoritiesRequest#_Google_Cloud_Security_PrivateCA_V1_ListCertificateAuthoritiesRequest__getPageToken__) to retrieve the next page of results. |
| `↳ unreachable` | `string[]` A list of locations (e.g. "us-west1") that could not be reached. |

### getCertificateAuthorities

The list of
[CertificateAuthorities](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority>` |   |

### setCertificateAuthorities

The list of
[CertificateAuthorities](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority>` |

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

### getNextPageToken

A token to retrieve next page of results. Pass this value in
[ListCertificateAuthoritiesRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCertificateAuthoritiesRequest#_Google_Cloud_Security_PrivateCA_V1_ListCertificateAuthoritiesRequest__getPageToken__)
to retrieve the next page of results.

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

### setNextPageToken

A token to retrieve next page of results. Pass this value in
[ListCertificateAuthoritiesRequest.page_token](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ListCertificateAuthoritiesRequest#_Google_Cloud_Security_PrivateCA_V1_ListCertificateAuthoritiesRequest__getPageToken__)
to retrieve the next page of results.

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

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

### getUnreachable

A list of locations (e.g. "us-west1") that could not be reached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

A list of locations (e.g. "us-west1") that could not be reached.

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

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