package libraryrelease // ObjectWrite identifies a physical object, not a row ID or a guessed orphan. // Existing objects are read-only. This protocol refuses differing overwrites. type ObjectWrite struct { BeforeVersionID string `json:"before_version_id,omitempty"` ResourceID string `json:"resource_id"` Provider string `json:"provider"` BackendID string `json:"backend_id"` Bucket string `json:"bucket"` Key string `json:"key"` Locator string `json:"locator"` SHA256 string `json:"sha256"` Bytes int64 `json:"bytes"` Existing bool `json:"existing"` BeforeETag string `json:"before_etag,omitempty"` OwnerToken string `json:"owner_token"` }