isLimitReached
TypeScriptget isLimitReached(): booleanSwift declarationvar isLimitReached: Bool { get }A Boolean value that indicates whether the usage limit has been reached.
struct · iOS 27.0+ · SDK 27.1
struct QuotaUsageThe usage quota state for a Private Cloud Compute language model. A quota describes the model's per-user request budget and where the caller currently sits relative to it. Quotas are orthogonal to a model's availability — a model can be available even after its usage limit has been reached.
get isLimitReached(): booleanSwift declarationvar isLimitReached: Bool { get }A Boolean value that indicates whether the usage limit has been reached.
get limitIncreaseSuggestion(): (PrivateCloudComputeLanguageModel_QuotaUsage_LimitIncreaseSuggestion) | nullSwift declarationvar limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?A suggestion the user can act on to increase their quota. A `nil` value indicates that the model provider does not surface an upgrade path through this API.
set limitIncreaseSuggestion(value: (PrivateCloudComputeLanguageModel_QuotaUsage_LimitIncreaseSuggestion) | null)Swift declarationvar limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?A suggestion the user can act on to increase their quota. A `nil` value indicates that the model provider does not surface an upgrade path through this API.
get status(): PrivateCloudComputeLanguageModel_QuotaUsage_StatusSwift declarationvar status: PrivateCloudComputeLanguageModel.QuotaUsage.StatusThe current quota status.
set status(value: PrivateCloudComputeLanguageModel_QuotaUsage_Status)Swift declarationvar status: PrivateCloudComputeLanguageModel.QuotaUsage.StatusThe current quota status.
get resetDate(): (globalThis.Date) | nullSwift declarationvar resetDate: Date?The date at which the quota refreshes. A `nil` value indicates that the model provider has not reported a reset time. This may be because the provider's limit does not refresh on a fixed schedule, or because the provider does not expose this information.
set resetDate(value: (globalThis.Date) | null)Swift declarationvar resetDate: Date?The date at which the quota refreshes. A `nil` value indicates that the model provider has not reported a reset time. This may be because the provider's limit does not refresh on a fixed schedule, or because the provider does not expose this information.
No declarations were skipped in this snapshot.