Interface DurationLimitsOrBuilder (0.33.0)

public interface DurationLimitsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUnitOperationTimeout()

public abstract Duration getUnitOperationTimeout()

Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.

  • Minimum value: 60 seconds (1 minute)
  • Maximum value: 604800 seconds (7 days)

    If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).

    Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.

.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The unitOperationTimeout.

getUnitOperationTimeoutOrBuilder()

public abstract DurationOrBuilder getUnitOperationTimeoutOrBuilder()

Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.

  • Minimum value: 60 seconds (1 minute)
  • Maximum value: 604800 seconds (7 days)

    If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).

    Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.

.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasUnitOperationTimeout()

public abstract boolean hasUnitOperationTimeout()

Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.

  • Minimum value: 60 seconds (1 minute)
  • Maximum value: 604800 seconds (7 days)

    If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).

    Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.

.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the unitOperationTimeout field is set.