객체 잠금 정책입니다. 설정하면 객체 버전 관리가 사용 설정되고 버킷에 저장된 모든 객체에 이 정책이 적용됩니다. 잠긴 객체는 잠금이 만료될 때까지 삭제할 수 없습니다. 버킷을 만들 때 LockingPolicy를 사용 설정해야 하며 나중에 사용 중지할 수 없습니다. 설정되지 않은 경우 객체 잠금 및 버전 관리가 사용 중지되며 사용 설정할 수 없습니다.
DefaultObjectRetentionDays는 모든 객체의 각 버전이 보관되는 최소 일수를 지정합니다. 보관 기간 중에는 객체를 삭제할 수 없습니다. 버킷에 객체가 포함되어 있는 경우에도 삭제할 수 없습니다. 지정하지 않으면 기본 객체 보관 기간이 설정되지 않습니다. DefaultObjectRetentionDays는 생성 후 수정할 수 있지만 변경사항은 새 객체와 버전에만 적용됩니다. 기존 객체와 버전은 이전 값을 계속 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eobject.gdc.goog/v1alpha1\u003c/code\u003e API group defines the schema for managing \u003ccode\u003eBucket\u003c/code\u003e resources, which represent storage buckets.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBucket\u003c/code\u003e resources have a \u003ccode\u003espec\u003c/code\u003e for desired state, including a description, storage class, and policies, and a \u003ccode\u003estatus\u003c/code\u003e for observed state, like fully qualified name, conditions, endpoint, and region.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBucketList\u003c/code\u003e is used to represent a list of \u003ccode\u003eBucket\u003c/code\u003e resources and includes metadata and the list of buckets.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBucketPolicy\u003c/code\u003e defines policies like \u003ccode\u003eLockingPolicy\u003c/code\u003e, which enables object versioning and locking, ensuring objects can't be deleted until the lock expires, and cannot be disabled after being set up.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLockingPolicy\u003c/code\u003e resource defines the \u003ccode\u003edefaultObjectRetentionDays\u003c/code\u003e, specifying the minimum duration an object version will be retained and not be deleted.\u003c/p\u003e\n"]]],[],null,["# Storage KRM API\n\nobject.gdc.goog/v1alpha1\n------------------------\n\nPackage v1alpha1 contains API Schema definitions for the object.gdc.goog v1alpha1 API group\n\n### Bucket\n\nBucket is the Schema for the buckets API\n\n*Appears in:*\n- [BucketList](#bucketlist)\n\n### BucketList\n\nBucketList contains a list of Bucket\n\n### BucketPolicy\n\n*Appears in:*\n- [BucketSpec](#bucketspec)\n\n### BucketSpec\n\nBucketSpec defines the desired state of the Bucket Resource.\n\n*Appears in:*\n- [Bucket](#bucket)\n\n### BucketStatus\n\nBucketStatus defines the observed state of Bucket\n\n*Appears in:*\n- [Bucket](#bucket)\n\n### LockingPolicy\n\nLockingPolicy defines the strategy for locking the objects of the bucket.\n\n*Appears in:*\n- [BucketPolicy](#bucketpolicy)"]]