# Google Cloud Notebooks V1 Client - Class VertexAIParameters (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.5 0.6.2 0.5.0 0.4.1 0.3.6 Reference documentation and code samples for the Google Cloud Notebooks V1 Client class VertexAIParameters.

Parameters used in Vertex AI JobType executions.

Generated from protobuf message `google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters`

## Namespace

Google \\ Cloud \\ Notebooks \\ V1 \\ ExecutionTemplate

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network` | `string` The full name of the Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the Job should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is a network name. Private services access must already be configured for the network. If left unspecified, the job is not peered with any network. |
| `↳ env` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Environment variables. At most 100 environment variables can be specified and unique. Example: `GCP_BUCKET=gs://my-bucket/samples/` |

### getNetwork

The full name of the Compute Engine
[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
to which the Job should be peered. For example,
`projects/12345/global/networks/myVPC`.

[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert)
is of the form `projects/{project}/global/networks/{network}`.
Where `{project}` is a project number, as in `12345`, and `{network}` is
a network name.
Private services access must already be configured for the network. If
left unspecified, the job is not peered with any network.

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

### setNetwork

The full name of the Compute Engine
[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
to which the Job should be peered. For example,
`projects/12345/global/networks/myVPC`.

[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert)
is of the form `projects/{project}/global/networks/{network}`.
Where `{project}` is a project number, as in `12345`, and `{network}` is
a network name.
Private services access must already be configured for the network. If
left unspecified, the job is not peered with any network.

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

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

### getEnv

Environment variables.

At most 100 environment variables can be specified and unique.
Example: `GCP_BUCKET=gs://my-bucket/samples/`

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

### setEnv

Environment variables.

At most 100 environment variables can be specified and unique.
Example: `GCP_BUCKET=gs://my-bucket/samples/`

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

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