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.



4626
4627
4628
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4626

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

Instance Attribute Details

#image_versionString

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

Returns:

  • (String)


4602
4603
4604
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4602

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


4609
4610
4611
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4609

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


4617
4618
4619
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4617

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


4624
4625
4626
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4624

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4631
4632
4633
4634
4635
4636
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4631

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