class Google::Apis::StorageV1::Bucket::RetentionPolicy

PERMISSION_DENIED error.
decrease period of a locked retention policy will result in a
shortened in duration for the lifetime of the bucket. Attempting to remove or
buckets.update operation. A locked retention policy cannot be removed or
retention policy can be modified or removed from the bucket via a storage.
retention period will result in a PERMISSION_DENIED error. An unlocked
creation time. Any attempt to overwrite or delete objects younger than the
retention time for all objects contained in the bucket, based on their
The bucket’s retention policy. The retention policy enforces a minimum

def initialize(**args)

def initialize(**args)
   update!(**args)
end

def update!(**args)

Update properties of this object
def update!(**args)
  @effective_time = args[:effective_time] if args.key?(:effective_time)
  @is_locked = args[:is_locked] if args.key?(:is_locked)
  @retention_period = args[:retention_period] if args.key?(:retention_period)
end