Parse a draft CacheableResult freshness hint from a result object. Reads ttlMs (accepting an integer or a float) and cacheScope (a string mapped to the CacheScope enum, defaulting to public). Returns null when no ttlMs field is present.
Parse a draft CacheableResult freshness hint from a result object. Reads ttlMs (accepting an integer or a float) and cacheScope (a string mapped to the CacheScope enum, defaulting to public). Returns null when no ttlMs field is present.