is there api (like hibernate, etc) manage temporal data in google cloud datastore? need maintain bi-temporal data in datastore. there api can use manage this?
i'm not 100% sure mean "bi-temporal data".
if mean different data classes have different pricing , access times, there different storage classes (standard , nearline). https://cloud.google.com/storage/docs/storage-classes. these set @ bucket level @ creation time. example: gsutil mb -c nearline -l region bucket-url
.
you can set time-to-live @ bucket level. https://cloud.google.com/storage/docs/lifecycle
using gsutil
can set policy uploading json file example docs:
{ "lifecycle": { "rule": [ { "action": {"type": "delete"}, "condition": {"age": 365} } ] } }
save file , gsutil set json-file-name bucket-url
.
Comments
Post a Comment