# Google Cloud Dataplex V1 Client - Class OsImageRuntime (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class OsImageRuntime.

Software Runtime Configuration to run Analyze.

Generated from protobuf message `google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1 \\ Environment \\ InfrastructureSpec

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ image_version` | `string` Required. Dataplex Universal Catalog Image version. |
| `↳ java_libraries` | `string[]` Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar |
| `↳ python_packages` | `string[]` Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz |
| `↳ properties` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in `prefix:property` format. The prefix must be "spark". |

### getImageVersion

Required. Dataplex Universal Catalog Image version.

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

### setImageVersion

Required. Dataplex Universal Catalog Image version.

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

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

### getJavaLibraries

Optional. List of Java jars to be included in the runtime environment.

Valid input includes Cloud Storage URIs to Jar binaries.
For example, gs://bucket-name/my/path/to/file.jar

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setJavaLibraries

Optional. List of Java jars to be included in the runtime environment.

Valid input includes Cloud Storage URIs to Jar binaries.
For example, gs://bucket-name/my/path/to/file.jar

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

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

### getPythonPackages

Optional. A list of python packages to be installed.

Valid formats include Cloud Storage URI to a PIP installable library.
For example, gs://bucket-name/my/path/to/lib.tar.gz

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setPythonPackages

Optional. A list of python packages to be installed.

Valid formats include Cloud Storage URI to a PIP installable library.
For example, gs://bucket-name/my/path/to/lib.tar.gz

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

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

### getProperties

Optional. Spark properties to provide configuration for use in sessions
created for this environment. The properties to set on daemon config
files. Property keys are specified in `prefix:property` format. The
prefix must be "spark".

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

### setProperties

Optional. Spark properties to provide configuration for use in sessions
created for this environment. The properties to set on daemon config
files. Property keys are specified in `prefix:property` format. The
prefix must be "spark".

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

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