Google Cloud Dataplex V1 Client - Class OsImageRuntime (0.2.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ image_version string

Required. Dataplex Image version.

↳ java_libraries array

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 array

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|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 Image version.

Returns
TypeDescription
string

setImageVersion

Required. Dataplex Image version.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\RepeatedField

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
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\RepeatedField

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
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this