484 lines
59 KiB
HTML
484 lines
59 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: class Resource</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="Resource-delete"><strong>delete</strong></a> = method(self, **kwargs)</dt><dd><tt>Deletes an annotation.<br>
|
|
<br>
|
|
Args:<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
source: string, String to identify the originator of this request.<br>
|
|
annotationId: string, The ID for the annotation to delete. (required)<br>
|
|
strict: string, A parameter<br>
|
|
userip: string, A parameter</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Gets an annotation by its ID.<br>
|
|
<br>
|
|
Args:<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
source: string, String to identify the originator of this request.<br>
|
|
annotationId: string, The ID for the annotation to retrieve. (required)<br>
|
|
strict: string, A parameter<br>
|
|
userip: string, A parameter<br>
|
|
<br>
|
|
Returns:<br>
|
|
An object of the form<br>
|
|
<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Inserts a new annotation.<br>
|
|
<br>
|
|
Args:<br>
|
|
body: object, The request body. (required)<br>
|
|
The object takes the form of:<br>
|
|
<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
}<br>
|
|
<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
source: string, String to identify the originator of this request.<br>
|
|
strict: string, A parameter<br>
|
|
userip: string, A parameter<br>
|
|
<br>
|
|
Returns:<br>
|
|
An object of the form<br>
|
|
<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves a list of annotations, possibly filtered.<br>
|
|
<br>
|
|
Args:<br>
|
|
pageToken: string, The value of the nextToken from the previous page.<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
updatedMax: string, <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> timestamp to restrict to items updated prior to this timestamp (exclusive).<br>
|
|
layerId: string, The layer ID to limit annotation by.<br>
|
|
volumeId: string, The volume to restrict annotations to.<br>
|
|
maxResults: integer, Maximum number of results to return<br>
|
|
showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.<br>
|
|
pageIds: string, The page ID(s) for the volume that is being queried. (repeated)<br>
|
|
contentVersion: string, The content version for the requested volume.<br>
|
|
source: string, String to identify the originator of this request.<br>
|
|
updatedMin: string, <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> timestamp to restrict to items updated since this timestamp (inclusive).<br>
|
|
userip: string, A parameter<br>
|
|
strict: string, A parameter<br>
|
|
<br>
|
|
Returns:<br>
|
|
An object of the form<br>
|
|
<br>
|
|
{<br>
|
|
"nextPageToken": "A String", # Token to pass in for pagination for the next page. This will not be present if this request does not have more results.<br>
|
|
"items": [ # A list of annotations.<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
},<br>
|
|
],<br>
|
|
"kind": "books#annotations", # Resource type.<br>
|
|
"totalItems": 42, # Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves the next page of results.<br>
|
|
<br>
|
|
Args:<br>
|
|
previous_request: The request for the previous page.<br>
|
|
previous_response: The response from the request for the previous page.<br>
|
|
<br>
|
|
Returns:<br>
|
|
A request object that you can call 'execute()' on to request the next<br>
|
|
page. Returns None if there are no more items in the collection.</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-update"><strong>update</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates an existing annotation.<br>
|
|
<br>
|
|
Args:<br>
|
|
body: object, The request body. (required)<br>
|
|
The object takes the form of:<br>
|
|
<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
}<br>
|
|
<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
source: string, String to identify the originator of this request.<br>
|
|
annotationId: string, The ID for the annotation to update. (required)<br>
|
|
strict: string, A parameter<br>
|
|
userip: string, A parameter<br>
|
|
<br>
|
|
Returns:<br>
|
|
An object of the form<br>
|
|
<br>
|
|
{<br>
|
|
"kind": "books#annotation", # Resource type.<br>
|
|
"updated": "A String", # Timestamp for the last time this annotation was modified.<br>
|
|
"created": "A String", # Timestamp for the created time of this annotation.<br>
|
|
"deleted": True or False, # Indicates that this annotation is deleted.<br>
|
|
"beforeSelectedText": "A String", # Anchor text before excerpt.<br>
|
|
"currentVersionRanges": { # Selection ranges for the most recent content version.<br>
|
|
"contentVersion": "A String", # Content version applicable to ranges below.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation for version above.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"afterSelectedText": "A String", # Anchor text after excerpt.<br>
|
|
"clientVersionRanges": { # Selection ranges sent from the client.<br>
|
|
"contentVersion": "A String", # Content version the client sent in.<br>
|
|
"gbTextRange": { # Range in GB text format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"cfiRange": { # Range in CFI format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
"gbImageRange": { # Range in GB image format for this annotation sent by client.<br>
|
|
"startPosition": "A String", # The starting position for the range.<br>
|
|
"endPosition": "A String", # The ending position for the range.<br>
|
|
"startOffset": "A String", # The offset from the starting position.<br>
|
|
"endOffset": "A String", # The offset from the ending position.<br>
|
|
},<br>
|
|
},<br>
|
|
"volumeId": "A String", # The volume that this annotation belongs to.<br>
|
|
"pageIds": [ # Pages that this annotation spans.<br>
|
|
"A String",<br>
|
|
],<br>
|
|
"layerId": "A String", # The layer this annotation is for.<br>
|
|
"selectedText": "A String", # Excerpt from the volume.<br>
|
|
"highlightStyle": "A String", # The highlight style for this annotation.<br>
|
|
"data": "A String", # User-created data for this annotation.<br>
|
|
"id": "A String", # Id of this annotation, in the form of a GUID.<br>
|
|
"selfLink": "A String", # URL to this resource.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data descriptors defined here:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</body></html> |