Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime
- 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
Container Image Runtime Configuration used with Batch execution.
Instance Attribute Summary collapse
-
#image ⇒ String
Optional.
-
#java_jars ⇒ Array<String>
Optional.
-
#properties ⇒ Hash<String,String>
Optional.
-
#python_packages ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime
constructor
A new instance of GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime
Returns a new instance of GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.
2854 2855 2856 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image ⇒ String
Optional. Container image to use.
Corresponds to the JSON property image
2829 2830 2831 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2829 def image @image end |
#java_jars ⇒ Array<String>
Optional. A list of Java JARS to add to the classpath. Valid input includes
Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/
file.jar
Corresponds to the JSON property javaJars
2836 2837 2838 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2836 def java_jars @java_jars end |
#properties ⇒ Hash<String,String>
Optional. Override to common configuration of open source components installed
on the Dataproc cluster. The properties to set on daemon config files.
Property keys are specified in prefix:property format, for example core:hadoop.
tmp.dir. For more information, see Cluster properties (https://cloud.google.
com/dataproc/docs/concepts/cluster-properties).
Corresponds to the JSON property properties
2845 2846 2847 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2845 def properties @properties end |
#python_packages ⇒ Array<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
2852 2853 2854 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2852 def python_packages @python_packages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2859 2860 2861 2862 2863 2864 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2859 def update!(**args) @image = args[:image] if args.key?(:image) @java_jars = args[:java_jars] if args.key?(:java_jars) @properties = args[:properties] if args.key?(:properties) @python_packages = args[:python_packages] if args.key?(:python_packages) end |