github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/GarbageCollectionConfig.md (about)

     1  # GarbageCollectionConfig
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **grace_period** | **int** | Duration in seconds. Objects created in the recent grace_period will not be collected. | [optional] 
     9  
    10  ## Example
    11  
    12  ```python
    13  from lakefs_sdk.models.garbage_collection_config import GarbageCollectionConfig
    14  
    15  # TODO update the JSON string below
    16  json = "{}"
    17  # create an instance of GarbageCollectionConfig from a JSON string
    18  garbage_collection_config_instance = GarbageCollectionConfig.from_json(json)
    19  # print the JSON string representation of the object
    20  print GarbageCollectionConfig.to_json()
    21  
    22  # convert the object into a dict
    23  garbage_collection_config_dict = garbage_collection_config_instance.to_dict()
    24  # create an instance of GarbageCollectionConfig from a dict
    25  garbage_collection_config_form_dict = garbage_collection_config.from_dict(garbage_collection_config_dict)
    26  ```
    27  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    28  
    29