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}
-
(::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}
-
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.
-
(::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
- (::Google::Protobuf::Duration) — Optional. The maximum duration after which the job execution is expired.
#max_job_execution_lifetime=
def max_job_execution_lifetime=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — Optional. The maximum duration after which the job execution is expired.
- (::Google::Protobuf::Duration) — Optional. The maximum duration after which the job execution is expired.
#service_account
def service_account() -> ::String
- (::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
- value (::String) — Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.
- (::String) — Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.