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
- (::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>) — Per container override specification.
#container_overrides=
def container_overrides=(value) -> ::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>
Parameter
- value (::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>) — Per container override specification.
Returns
- (::Array<::Google::Cloud::Run::V2::RunJobRequest::Overrides::ContainerOverride>) — Per container override specification.
#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.