# Google Cloud Certificate Manager V1 Client - Class CertificateMap (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 CertificateMap.

Defines a collection of certificate configurations.

Generated from protobuf message `google.cloud.certificatemanager.v1.CertificateMap`

## Namespace

Google \\ Cloud \\ CertificateManager \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

A user-defined name of the Certificate Map. Certificate Map names must be
unique globally and match pattern
`projects/*/locations/*/certificateMaps/*`.

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

### setName

A user-defined name of the Certificate Map. Certificate Map names must be
unique globally and match pattern
`projects/*/locations/*/certificateMaps/*`.

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

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

### getDescription

One or more paragraphs of text description of a certificate map.

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

### setDescription

One or more paragraphs of text description of a certificate map.

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

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

### getCreateTime

Output only. The creation timestamp of a Certificate Map.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The creation timestamp of a Certificate Map.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. The update timestamp of a Certificate Map.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The update timestamp of a Certificate Map.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getLabels

Set of labels associated with a Certificate Map.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Set of labels associated with a Certificate Map.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getGclbTargets

Output only. A list of GCLB targets that use this Certificate Map.

A Target Proxy is only present on this list if it's attached to a
Forwarding Rule.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.CertificateMap.GclbTarget>` |   |

### setGclbTargets

Output only. A list of GCLB targets that use this Certificate Map.

A Target Proxy is only present on this list if it's attached to a
Forwarding Rule.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.CertificateMap.GclbTarget>` |

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