type
UpdateRequest
type UpdateRequest struct {
Request
Values Values
Status *Status
// ReplaceValues treats Values as the complete canonical authored document
// state, including locale maps. Omitted fields and locales are removed. The
// default remains a patch so ordinary updates preserve omitted values.
// Framework version restore uses replacement after access, validation, hooks,
// and reference checks have produced the canonical snapshot candidate.
ReplaceValues bool
}An authorized request plus values and an optional publish status.
RequestRequest- The Request value.
ValuesValues- The Values value.
Status*Status- The Status value.
ReplaceValuesbool- ReplaceValues treats Values as the complete canonical authored document state, including locale maps. Omitted fields and locales are removed. The default remains a patch so ordinary updates preserve omitted values. Framework version restore uses replacement after access, validation, hooks, and reference checks have produced the canonical snapshot candidate.