# Google Cloud Telco Automation V1 Client - Class MasterAuthorizedNetworksConfig (1.3.0)

1.3.0 (latest) 1.2.3 1.1.1 1.0.3 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class MasterAuthorizedNetworksConfig.

Configuration of the Master Authorized Network that support multiple CIDRs

Generated from protobuf message `google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig`

## Namespace

Google \\ Cloud \\ TelcoAutomation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cidr_blocks` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.MasterAuthorizedNetworksConfig.CidrBlock>` Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS. |

### getCidrBlocks

Optional. cidr_blocks define up to 50 external networks that could access
Kubernetes master through HTTPS.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.MasterAuthorizedNetworksConfig.CidrBlock>` |   |

### setCidrBlocks

Optional. cidr_blocks define up to 50 external networks that could access
Kubernetes master through HTTPS.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.MasterAuthorizedNetworksConfig.CidrBlock>` |

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