Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Software Runtime Configuration to run Analyze.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime

Returns a new instance of GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime.



4575
4576
4577
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4575

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#image_versionString

Required. Dataplex Image version. Corresponds to the JSON property imageVersion

Returns:

  • (String)


4551
4552
4553
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4551

def image_version
  @image_version
end

#java_librariesArray<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 Corresponds to the JSON property javaLibraries

Returns:

  • (Array<String>)


4558
4559
4560
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4558

def java_libraries
  @java_libraries
end

#propertiesHash<String,String>

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". Corresponds to the JSON property properties

Returns:

  • (Hash<String,String>)


4566
4567
4568
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4566

def properties
  @properties
end

#python_packagesArray<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 Corresponds to the JSON property pythonPackages

Returns:

  • (Array<String>)


4573
4574
4575
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4573

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4580
4581
4582
4583
4584
4585
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4580

def update!(**args)
  @image_version = args[:image_version] if args.key?(:image_version)
  @java_libraries = args[:java_libraries] if args.key?(:java_libraries)
  @properties = args[:properties] if args.key?(:properties)
  @python_packages = args[:python_packages] if args.key?(:python_packages)
end