public sealed class DurationLimits : IMessage<DurationLimits>, IEquatable<DurationLimits>, IDeepCloneable<DurationLimits>, IBufferMessage, IMessageReference documentation and code samples for the App Lifecycle Manager v1 API class 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.
Implements
IMessageDurationLimits, IEquatableDurationLimits, IDeepCloneableDurationLimits, IBufferMessage, IMessageNamespace
Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Assembly
Google.Cloud.SaasPlatform.SaasServiceMgmt.V1.dll
Constructors
DurationLimits()
public DurationLimits()DurationLimits(DurationLimits)
public DurationLimits(DurationLimits other)| Parameter | |
|---|---|
| Name | Description |
other |
DurationLimits |
Properties
UnitOperationTimeout
public Duration UnitOperationTimeout { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|