Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime

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

Container Image Runtime Configuration used with Batch execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime

Returns a new instance of GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.



7355
7356
7357
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7355

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

Instance Attribute Details

#imageString

Optional. Container image to use. Corresponds to the JSON property image

Returns:

  • (String)


7330
7331
7332
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7330

def image
  @image
end

#java_jarsArray<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

Returns:

  • (Array<String>)


7337
7338
7339
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7337

def java_jars
  @java_jars
end

#propertiesHash<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

Returns:

  • (Hash<String,String>)


7346
7347
7348
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7346

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


7353
7354
7355
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7353

def python_packages
  @python_packages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7360
7361
7362
7363
7364
7365
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7360

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