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.



4541
4542
4543
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4541

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

Instance Attribute Details

#image_versionString

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

Returns:

  • (String)


4517
4518
4519
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4517

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>)


4524
4525
4526
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4524

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>)


4532
4533
4534
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4532

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>)


4539
4540
4541
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4539

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4546
4547
4548
4549
4550
4551
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4546

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