Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::NodeInitializationAction (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::NodeInitializationAction.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#executable_file

def executable_file() -> ::String
Returns
  • (::String) — Required. Cloud Storage URI of executable file.

#executable_file=

def executable_file=(value) -> ::String
Parameter
  • value (::String) — Required. Cloud Storage URI of executable file.
Returns
  • (::String) — Required. Cloud Storage URI of executable file.

#execution_timeout

def execution_timeout() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration).

    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.

#execution_timeout=

def execution_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration).

    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.

Returns
  • (::Google::Protobuf::Duration) — Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration).

    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.