# Google Cloud Vmware Engine V1 Client - Class ManagementDnsZoneBinding (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 ManagementDnsZoneBinding.

Represents a binding between a network and the management DNS zone.

A management DNS zone is the Cloud DNS cross-project binding zone that
VMware Engine creates for each private cloud. It contains FQDNs and
corresponding IP addresses for the private cloud's ESXi hosts and management
VM appliances like vCenter and NSX Manager.

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

## Namespace

Google \\ Cloud \\ VmwareEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Creation time of this resource. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Last update time of this resource. |
| `↳ state` | `int` Output only. The state of the resource. |
| `↳ description` | `string` User-provided description for this resource. |
| `↳ vpc_network` | `string` Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: `projects/{project}/global/networks/{network_id}`. `{project}` can either be a project number or a project ID. |
| `↳ vmware_engine_network` | `string` Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. `{project}` can either be a project number or a project ID. |
| `↳ uid` | `string` Output only. System-generated unique identifier for the resource. |

### getName

Output only. The resource name of this binding.

Resource names are schemeless URIs that follow the conventions in
<https://cloud.google.com/apis/design/resource_names>.
For example:
`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`

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

### setName

Output only. The resource name of this binding.

Resource names are schemeless URIs that follow the conventions in
<https://cloud.google.com/apis/design/resource_names>.
For example:
`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`

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

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

### getCreateTime

Output only. Creation time of this resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Creation time of this resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. Last update time of this resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Last update time of this resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getState

Output only. The state of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.ManagementDnsZoneBinding.State). |

### setState

Output only. The state of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.ManagementDnsZoneBinding.State). |

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

### getDescription

User-provided description for this resource.

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

### setDescription

User-provided description for this resource.

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

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

### getVpcNetwork

Network to bind is a standard consumer VPC.

Specify the name in the following form for consumer
VPC network: `projects/{project}/global/networks/{network_id}`.
`{project}` can either be a project number or a project ID.

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

### hasVpcNetwork

### setVpcNetwork

Network to bind is a standard consumer VPC.

Specify the name in the following form for consumer
VPC network: `projects/{project}/global/networks/{network_id}`.
`{project}` can either be a project number or a project ID.

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

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

### getVmwareEngineNetwork

Network to bind is a VMware Engine network.

Specify the name in the following form for VMware engine network:
`projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`.
`{project}` can either be a project number or a project ID.

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

### hasVmwareEngineNetwork

### setVmwareEngineNetwork

Network to bind is a VMware Engine network.

Specify the name in the following form for VMware engine network:
`projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`.
`{project}` can either be a project number or a project ID.

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

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

### getUid

Output only. System-generated unique identifier for the resource.

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

### setUid

Output only. System-generated unique identifier for the resource.

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

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

### getBindNetwork

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