adk_artifact_gcs_transport behaviour (erlang_adk v0.10.0)
View SourceNarrow object operations required by the GCS artifact adapter.
This boundary is intentionally lower-level than the artifact service. A deterministic in-memory implementation can be injected in tests, while the first-party implementation maps these calls onto the fixed Google Cloud Storage JSON API. Handles are operator-trusted configuration, never values derived from an agent request.
Summary
Types
Callbacks
-callback get_range(Handle :: handle(), Object :: binary(), Offset :: non_neg_integer(), Length :: pos_integer(), Context :: context()) -> {ok, binary()} | {error, not_found | term()}.