Reference documentation and code samples for the Google Cloud Run V2 Client class Overrides.
RunJob Overrides that contains Execution fields to be overridden.
Generated from protobuf message google.cloud.run.v2.RunJobRequest.Overrides
Namespace
Google \ Cloud \ Run \ V2 \ RunJobRequestMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ container_overrides
↳ task_count
int
Optional. The desired number of tasks the execution should run. Will replace existing task_count value.
↳ timeout
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.
getContainerOverrides
Per container override specification.
setContainerOverrides
Per container override specification.
$this
getTaskCount
Optional. The desired number of tasks the execution should run. Will replace existing task_count value.
int
setTaskCount
Optional. The desired number of tasks the execution should run. Will replace existing task_count value.
var
int
$this
getTimeout
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.
hasTimeout
clearTimeout
setTimeout
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.
$this