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.



4879
4880
4881
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4879

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

Instance Attribute Details

#image_versionString

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

Returns:

  • (String)


4855
4856
4857
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4855

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


4862
4863
4864
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4862

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


4870
4871
4872
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4870

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


4877
4878
4879
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4877

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4884
4885
4886
4887
4888
4889
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4884

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