class PaperDocUpdatePolicy(bb.Union): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar files.PaperDocUpdatePolicy.update: Sets the doc content to the provided content if the provided paper_revision matches the latest doc revision. Otherwise, returns an error. :ivar files.PaperDocUpdatePolicy.overwrite: Sets the doc content to the provided content without checking paper_revision. :ivar files.PaperDocUpdatePolicy.prepend: Adds the provided content to the beginning of the doc without checking paper_revision. :ivar files.PaperDocUpdatePolicy.append: Adds the provided content to the end of the doc without checking paper_revision.
Method | is |
Check if the union tag is ``append``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``overwrite``. |
Method | is |
Check if the union tag is ``prepend``. |
Method | is |
Check if the union tag is ``update``. |
Class Variable | append |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | overwrite |
Undocumented |
Class Variable | prepend |
Undocumented |
Class Variable | update |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |