# Google Cloud Certificate Manager V1 Client - Class TrustAnchor (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.7.3 0.6.0 0.5.2 0.4.2 0.3.7 Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class TrustAnchor.

Defines a trust anchor.

Generated from protobuf message `google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor`

## Namespace

Google \\ Cloud \\ CertificateManager \\ V1 \\ TrustConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pem_certificate` | `string` PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB. |

### getPemCertificate

PEM root certificate of the PKI used for validation.

Each certificate provided in PEM format may occupy up to 5kB.

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

### hasPemCertificate

### setPemCertificate

PEM root certificate of the PKI used for validation.

Each certificate provided in PEM format may occupy up to 5kB.

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

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

### getKind

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