Class: Google::Apis::DataprocV1::RuntimeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RuntimeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Runtime configuration for a workload.
Instance Attribute Summary collapse
-
#container_image ⇒ String
Optional.
-
#properties ⇒ Hash<String,String>
Optional.
-
#session_authentication_config ⇒ Google::Apis::DataprocV1::AuthenticationConfig
Configuration for using injectable credentials or service account Corresponds to the JSON property
sessionAuthenticationConfig. -
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeConfig
constructor
A new instance of RuntimeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeConfig
Returns a new instance of RuntimeConfig.
3785 3786 3787 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_image ⇒ String
Optional. Optional custom container image for the job runtime environment. If
not specified, a default container image will be used.
Corresponds to the JSON property containerImage
3767 3768 3769 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3767 def container_image @container_image end |
#properties ⇒ Hash<String,String>
Optional. A mapping of property names to values, which are used to configure
workload execution.
Corresponds to the JSON property properties
3773 3774 3775 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3773 def properties @properties end |
#session_authentication_config ⇒ Google::Apis::DataprocV1::AuthenticationConfig
Configuration for using injectable credentials or service account
Corresponds to the JSON property sessionAuthenticationConfig
3778 3779 3780 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3778 def session_authentication_config @session_authentication_config end |
#version ⇒ String
Optional. Version of the batch runtime.
Corresponds to the JSON property version
3783 3784 3785 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3783 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3790 3791 3792 3793 3794 3795 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3790 def update!(**args) @container_image = args[:container_image] if args.key?(:container_image) @properties = args[:properties] if args.key?(:properties) @session_authentication_config = args[:session_authentication_config] if args.key?(:session_authentication_config) @version = args[:version] if args.key?(:version) end |