class Google::Apis::DataprocV1beta2::NodeInitializationAction

Specifies an executable to run on a fully configured node and a timeout period for executable completion.

Attributes

executable_file[RW]

Required. 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 ( see JSON representation of Duration (developers.google.com/protocol- buffers/docs/proto3#json)).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 lib/google/apis/dataproc_v1beta2/classes.rb, line 2312
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2317
def update!(**args)
  @executable_file = args[:executable_file] if args.key?(:executable_file)
  @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
end