# Google Cloud Orchestration Airflow V1 Client - Class CidrBlock (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class CidrBlock.

CIDR block with an optional name.

Generated from protobuf message `google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1 \\ MasterAuthorizedNetworksConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` User-defined name that identifies the CIDR block. |
| `↳ cidr_block` | `string` CIDR block that must be specified in CIDR notation. |

### getDisplayName

User-defined name that identifies the CIDR block.

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

### setDisplayName

User-defined name that identifies the CIDR block.

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

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

### getCidrBlock

CIDR block that must be specified in CIDR notation.

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

### setCidrBlock

CIDR block that must be specified in CIDR notation.

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

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