Skip to content

Support daysSinceNoncurrentTime and noncurrentTimeBefore OLM options #332

@jkwlui

Description

@jkwlui
bucket
    .toBuilder()
    .setLifecycleRules(
        ImmutableList.of(
            new LifecycleRule(
                LifecycleRule.LifecycleAction.newDeleteAction(),
                LifecycleRule.LifecycleCondition.newBuilder()
                    .setDaysSinceNoncurrentTime(30)
                    .setNoncurrentTimeBefore(/* Date object */)
                    .build())))
    .build()
    .update();

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/java-storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions