# Google Cloud Vmware Engine V1 Client - Class NetworkConfig (1.3.0)

1.3.0 (latest) 1.2.2 1.1.4 1.0.0 0.5.6 0.4.0 0.3.3 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class NetworkConfig.

Network configuration in the consumer project
with which the peering has to be done.

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

## Namespace

Google \\ Cloud \\ VmwareEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ management_cidr` | `string` Required. Management CIDR used by VMware management appliances. |
| `↳ vmware_engine_network` | `string` Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID. |
| `↳ vmware_engine_network_canonical` | `string` Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` |
| `↳ management_ip_address_layout_version` | `int` Output only. The IP address layout version of the management IP address range. Possible versions include: \* \* `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. \* \* `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features. |
| `↳ dns_server_ip` | `string` Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts. |

### getManagementCidr

Required. Management CIDR used by VMware management appliances.

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

### setManagementCidr

Required. Management CIDR used by VMware management appliances.

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

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

### getVmwareEngineNetwork

Optional. The relative resource name of the VMware Engine network attached
to the private cloud. Specify the name in the following form:
`projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
where `{project}` can either be a project number or a project ID.

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

### setVmwareEngineNetwork

Optional. The relative resource name of the VMware Engine network attached
to the private cloud. Specify the name in the following form:
`projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
where `{project}` can either be a project number or a project ID.

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

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

### getVmwareEngineNetworkCanonical

Output only. The canonical name of the VMware Engine network in the form:
`projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`

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

### setVmwareEngineNetworkCanonical

Output only. The canonical name of the VMware Engine network in the form:
`projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`

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

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

### getManagementIpAddressLayoutVersion

Output only. The IP address layout version of the management IP address
range. Possible versions include:

- `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address
  layout used by some existing private clouds. This is no longer supported
  for new private clouds as it does not support all features.

- `managementIpAddressLayoutVersion=2`: Indicates the latest IP address
  layout used by all newly created private clouds. This version supports all
  current features.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setManagementIpAddressLayoutVersion

Output only. The IP address layout version of the management IP address
range. Possible versions include:

- `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address
  layout used by some existing private clouds. This is no longer supported
  for new private clouds as it does not support all features.

- `managementIpAddressLayoutVersion=2`: Indicates the latest IP address
  layout used by all newly created private clouds. This version supports all
  current features.

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

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

### getDnsServerIp

Output only. DNS Server IP of the Private Cloud.

All DNS queries can be forwarded to this address for name resolution of
Private Cloud's management entities like vCenter, NSX-T Manager and
ESXi hosts.

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

### setDnsServerIp

Output only. DNS Server IP of the Private Cloud.

All DNS queries can be forwarded to this address for name resolution of
Private Cloud's management entities like vCenter, NSX-T Manager and
ESXi hosts.

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

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