class Google::Apis::DataprocV1::NodeInitializationAction
Specifies an executable to run on a fully configured node and a timeout period for executable completion.
Attributes
executable_file[RW]
- Required
-
Google Cloud Storage URI of executable file.
Corresponds to the JSON property `executableFile` @return [String]
execution_timeout[RW]
- Optional
-
Amount of time executable has to complete. Default is 10 minutes.
Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period. Corresponds to the JSON property `executionTimeout` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dataproc_v1/classes.rb, line 397 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dataproc_v1/classes.rb, line 402 def update!(**args) @executable_file = args[:executable_file] if args.key?(:executable_file) @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout) end