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

Defines IP configuration where this Certificate Map is serving.

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

## Namespace

Google \\ Cloud \\ CertificateManager \\ V1 \\ CertificateMap \\ GclbTarget

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ip_address` | `string` Output only. An external IP address. |
| `↳ ports` | `int[]` Output only. Ports. |

### getIpAddress

Output only. An external IP address.

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

### setIpAddress

Output only. An external IP address.

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

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

### getPorts

Output only. Ports.

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

### setPorts

Output only. Ports.

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

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