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.



5002
5003
5004
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5002

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

Instance Attribute Details

#image_versionString

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

Returns:

  • (String)


4978
4979
4980
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4978

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


4985
4986
4987
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4985

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


4993
4994
4995
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4993

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


5000
5001
5002
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5000

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5007
5008
5009
5010
5011
5012
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5007

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