Cloud Run V2 API - Class Google::Cloud::Run::V2::RunJobRequest::Overrides (v0.14.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::RunJobRequest::Overrides.

RunJob Overrides that contains Execution fields to be overridden.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#container_overrides

def container_overrides() -> ::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>
Returns

#container_overrides=

def container_overrides=(value) -> ::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>
Parameter
Returns

#task_count

def task_count() -> ::Integer
Returns
  • (::Integer) — Optional. The desired number of tasks the execution should run. Will replace existing task_count value.

#task_count=

def task_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The desired number of tasks the execution should run. Will replace existing task_count value.
Returns
  • (::Integer) — Optional. The desired number of tasks the execution should run. Will replace existing task_count value.

#timeout

def timeout() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.

#timeout=

def timeout=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.
Returns
  • (::Google::Protobuf::Duration) — Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.