1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1 Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class NetworkConfig.

Network configuration for the Dataproc Metastore service.

Next available ID: 4

Generated from protobuf message `google.cloud.metastore.v1.NetworkConfig`

## Namespace

Google \\ Cloud \\ Metastore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ consumers` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.NetworkConfig.Consumer>` Immutable. The consumer-side network configuration for the Dataproc Metastore instance. |

### getConsumers

Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.NetworkConfig.Consumer>` |   |

### setConsumers

Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.NetworkConfig.Consumer>` |

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