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

VMware Engine network resource that provides connectivity for VMware Engine
private clouds.

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

## 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 the VMware Engine network. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network` |
| `↳ 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. |
| `↳ description` | `string` User-provided description for this VMware Engine network. |
| `↳ vpc_networks` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.VmwareEngineNetwork.VpcNetwork>` Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. |
| `↳ state` | `int` Output only. State of the VMware Engine network. |
| `↳ type` | `int` Required. VMware Engine network type. |
| `↳ uid` | `string` Output only. System-generated unique identifier for the resource. |
| `↳ etag` | `string` Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request. |

### getName

Output only. The resource name of the VMware Engine network.

Resource names are schemeless URIs that follow the conventions in
<https://cloud.google.com/apis/design/resource_names>.
For example:
`projects/my-project/locations/global/vmwareEngineNetworks/my-network`

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

### setName

Output only. The resource name of the VMware Engine network.

Resource names are schemeless URIs that follow the conventions in
<https://cloud.google.com/apis/design/resource_names>.
For example:
`projects/my-project/locations/global/vmwareEngineNetworks/my-network`

| **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` |   |

### getDescription

User-provided description for this VMware Engine network.

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

### setDescription

User-provided description for this VMware Engine network.

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

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

### getVpcNetworks

Output only. VMware Engine service VPC networks that provide connectivity
from a private cloud to customer projects, the internet, and other Google
Cloud services.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.VmwareEngineNetwork.VpcNetwork>` |   |

### setVpcNetworks

Output only. VMware Engine service VPC networks that provide connectivity
from a private cloud to customer projects, the internet, and other Google
Cloud services.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vmware-engine/latest/V1.VmwareEngineNetwork.VpcNetwork>` |

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

### getState

Output only. State of the VMware Engine network.

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

### setState

Output only. State of the VMware Engine network.

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

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

### getType

Required. VMware Engine network type.

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

### setType

Required. VMware Engine network type.

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

| **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` |   |

### getEtag

Checksum that may be sent on update and delete requests to ensure that the
user-provided value is up to date before the server processes a request.

The server computes checksums based on the value of other fields in the
request.

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

### setEtag

Checksum that may be sent on update and delete requests to ensure that the
user-provided value is up to date before the server processes a request.

The server computes checksums based on the value of other fields in the
request.

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

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