Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Task::ExecutionSpec (v0.2.1)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Task::ExecutionSpec.

Execution related settings, like retry and service_account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) —

    Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders:

    • ${task_id}
    • ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.

#args=

def args=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) —

    Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders:

    • ${task_id}
    • ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) —

    Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders:

    • ${task_id}
    • ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.

#max_job_execution_lifetime

def max_job_execution_lifetime() -> ::Google::Protobuf::Duration
Returns

#max_job_execution_lifetime=

def max_job_execution_lifetime=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#service_account

def service_account() -> ::String
Returns
  • (::String) — Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::String) — Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.
Returns
  • (::String) — Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.