App Lifecycle Manager V1 API - Class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1::DurationLimits (v0.1.0)

Reference documentation and code samples for the App Lifecycle Manager V1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1::DurationLimits.

DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#unit_operation_timeout

def unit_operation_timeout() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — 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.

#unit_operation_timeout=

def unit_operation_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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.

Returns
  • (::Google::Protobuf::Duration) — 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.