The full name of the Compute Engine
network
to which the Job should be peered. For example,
projects/12345/global/networks/myVPC.
Format
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.
The full name of the Compute Engine
network
to which the Job should be peered. For example,
projects/12345/global/networks/myVPC.
Format
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface ExecutionTemplate.VertexAIParametersOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersOrBuilder) \n\n public static interface ExecutionTemplate.VertexAIParametersOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### containsEnv(String key)\n\n public abstract boolean containsEnv(String key)\n\nEnvironment variables.\nAt most 100 environment variables can be specified and unique.\nExample: `GCP_BUCKET=gs://my-bucket/samples/`\n\n`map\u003cstring, string\u003e env = 2;`\n\n### getEnv()\n\n public abstract Map\u003cString,String\u003e getEnv()\n\nUse [#getEnvMap()](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersOrBuilder#com_google_events_cloud_notebooks_v1_ExecutionTemplate_VertexAIParametersOrBuilder_getEnvMap__) instead.\n\n### getEnvCount()\n\n public abstract int getEnvCount()\n\nEnvironment variables.\nAt most 100 environment variables can be specified and unique.\nExample: `GCP_BUCKET=gs://my-bucket/samples/`\n\n`map\u003cstring, string\u003e env = 2;`\n\n### getEnvMap()\n\n public abstract Map\u003cString,String\u003e getEnvMap()\n\nEnvironment variables.\nAt most 100 environment variables can be specified and unique.\nExample: `GCP_BUCKET=gs://my-bucket/samples/`\n\n`map\u003cstring, string\u003e env = 2;`\n\n### getEnvOrDefault(String key, String defaultValue)\n\n public abstract String getEnvOrDefault(String key, String defaultValue)\n\nEnvironment variables.\nAt most 100 environment variables can be specified and unique.\nExample: `GCP_BUCKET=gs://my-bucket/samples/`\n\n`map\u003cstring, string\u003e env = 2;`\n\n### getEnvOrThrow(String key)\n\n public abstract String getEnvOrThrow(String key)\n\nEnvironment variables.\nAt most 100 environment variables can be specified and unique.\nExample: `GCP_BUCKET=gs://my-bucket/samples/`\n\n`map\u003cstring, string\u003e env = 2;`\n\n### getNetwork()\n\n public abstract String getNetwork()\n\nThe full name of the Compute Engine\n[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the Job should be peered. For example,\n`projects/12345/global/networks/myVPC`.\n[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert)\nis of the form `projects/{project}/global/networks/{network}`.\nWhere `{project}` is a project number, as in `12345`, and `{network}` is\na network name.\nPrivate services access must already be configured for the network. If\nleft unspecified, the job is not peered with any network.\n\n`string network = 1;`\n\n### getNetworkBytes()\n\n public abstract ByteString getNetworkBytes()\n\nThe full name of the Compute Engine\n[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)\nto which the Job should be peered. For example,\n`projects/12345/global/networks/myVPC`.\n[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert)\nis of the form `projects/{project}/global/networks/{network}`.\nWhere `{project}` is a project number, as in `12345`, and `{network}` is\na network name.\nPrivate services access must already be configured for the network. If\nleft unspecified, the job is not peered with any network.\n\n`string network = 1;`"]]