Interface LifecycleCondition (7.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Package
@google-cloud/storage
Properties
age
createdBefore
createdBefore
?:
Date
|
string
;
customTimeBefore
customTimeBefore
?:
Date
|
string
;
daysSinceCustomTime
daysSinceCustomTime
?:
number
;
daysSinceNoncurrentTime
daysSinceNoncurrentTime
?:
number
;
isLive
matchesPrefix
matchesPrefix
?:
string
[];
matchesStorageClass
matchesStorageClass
?:
string
[];
matchesSuffix
matchesSuffix
?:
string
[];
noncurrentTimeBefore
noncurrentTimeBefore
?:
Date
|
string
;
numNewerVersions
numNewerVersions
?:
number
;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface LifecycleCondition (7.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.16.0 (latest)](/nodejs/docs/reference/storage/latest/storage/lifecyclecondition)\n- [7.13.0](/nodejs/docs/reference/storage/7.13.0/storage/lifecyclecondition)\n- [7.3.2](/nodejs/docs/reference/storage/7.3.2/storage/lifecyclecondition)\n- [7.2.0](/nodejs/docs/reference/storage/7.2.0/storage/lifecyclecondition)\n- [7.1.0](/nodejs/docs/reference/storage/7.1.0/storage/lifecyclecondition)\n- [7.0.1](/nodejs/docs/reference/storage/7.0.1/storage/lifecyclecondition)\n- [6.12.0](/nodejs/docs/reference/storage/6.12.0/storage/lifecyclecondition)\n- [6.11.0](/nodejs/docs/reference/storage/6.11.0/storage/lifecyclecondition)\n- [6.7.0](/nodejs/docs/reference/storage/6.7.0/storage/lifecyclecondition)\n- [6.6.0](/nodejs/docs/reference/storage/6.6.0/storage/lifecyclecondition)\n- [6.5.4](/nodejs/docs/reference/storage/6.5.4/storage/lifecyclecondition)\n- [6.4.2](/nodejs/docs/reference/storage/6.4.2/storage/lifecyclecondition)\n- [6.3.0](/nodejs/docs/reference/storage/6.3.0/storage/lifecyclecondition)\n- [6.2.3](/nodejs/docs/reference/storage/6.2.3/storage/lifecyclecondition)\n- [5.19.1](/nodejs/docs/reference/storage/5.19.1/storage/lifecyclecondition)\n- [5.18.3](/nodejs/docs/reference/storage/5.18.3/storage/lifecyclecondition)\n- [5.17.0](/nodejs/docs/reference/storage/5.17.0/storage/lifecyclecondition)\n- [5.16.1](/nodejs/docs/reference/storage/5.16.1/storage/lifecyclecondition)\n- [5.15.6](/nodejs/docs/reference/storage/5.15.6/storage/lifecyclecondition)\n- [5.14.8](/nodejs/docs/reference/storage/5.14.8/storage/lifecyclecondition)\n- [5.13.2](/nodejs/docs/reference/storage/5.13.2/storage/lifecyclecondition)\n- [5.12.0](/nodejs/docs/reference/storage/5.12.0/storage/lifecyclecondition)\n- [5.11.1](/nodejs/docs/reference/storage/5.11.1/storage/lifecyclecondition)\n- [5.10.0](/nodejs/docs/reference/storage/5.10.0/storage/lifecyclecondition)\n- [5.9.0](/nodejs/docs/reference/storage/5.9.0/storage/lifecyclecondition)\n- [5.8.5](/nodejs/docs/reference/storage/5.8.5/storage/lifecyclecondition) \n\nPackage\n-------\n\n[@google-cloud/storage](../overview.html)\n\nProperties\n----------\n\n### age\n\n age?: number;\n\n### createdBefore\n\n createdBefore?: Date | string;\n\n### customTimeBefore\n\n customTimeBefore?: Date | string;\n\n### daysSinceCustomTime\n\n daysSinceCustomTime?: number;\n\n### daysSinceNoncurrentTime\n\n daysSinceNoncurrentTime?: number;\n\n### isLive\n\n isLive?: boolean;\n\n### matchesPrefix\n\n matchesPrefix?: string[];\n\n### matchesStorageClass\n\n matchesStorageClass?: string[];\n\n### matchesSuffix\n\n matchesSuffix?: string[];\n\n### noncurrentTimeBefore\n\n noncurrentTimeBefore?: Date | string;\n\n### numNewerVersions\n\n numNewerVersions?: number;"]]