| |
Methods defined here:
- __init__(self)
- annotationData = methodResource(self)
- A collection resource.
- get = method(self, **kwargs)
- Gets the layer summary for a volume.
Args:
pp: string, A parameter
trace: string, A parameter
source: string, String to identify the originator of this request.
volumeId: string, The volume to retrieve layers for. (required)
strict: string, A parameter
contentVersion: string, The content version for the requested volume.
userip: string, A parameter
summaryId: string, The ID for the layer to get the summary for. (required)
Returns:
An object of the form
{
"kind": "books#layersummary", # Resource Type
"annotationCount": 42, # The number of annotations for this layer.
"dataCount": 42, # The number of data items for this layer.
"annotationsLink": "A String", # The link to get the annotations for this layer.
"updated": "A String", # Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format).
"volumeId": "A String", # The volume id this resource is for.
"id": "A String", # Unique id of this layer summary.
"annotationTypes": [ # The list of annotation types contained for this layer.
"A String",
],
"contentVersion": "A String", # The content version this resource is for.
"layerId": "A String", # The layer id for this summary.
"annotationsDataLink": "A String", # Link to get data for this annotation.
"selfLink": "A String", # URL to this resource.
}
- list = method(self, **kwargs)
- List the layer summaries for a volume.
Args:
pp: string, A parameter
trace: string, A parameter
pageToken: string, The value of the nextToken from the previous page.
volumeId: string, The volume to retrieve layers for. (required)
maxResults: integer, Maximum number of results to return
source: string, String to identify the originator of this request.
contentVersion: string, The content version for the requested volume.
userip: string, A parameter
strict: string, A parameter
Returns:
An object of the form
{
"totalItems": 42, # The total number of layer summaries found.
"items": [ # A list of layer summary items.
{
"kind": "books#layersummary", # Resource Type
"annotationCount": 42, # The number of annotations for this layer.
"dataCount": 42, # The number of data items for this layer.
"annotationsLink": "A String", # The link to get the annotations for this layer.
"updated": "A String", # Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format).
"volumeId": "A String", # The volume id this resource is for.
"id": "A String", # Unique id of this layer summary.
"annotationTypes": [ # The list of annotation types contained for this layer.
"A String",
],
"contentVersion": "A String", # The content version this resource is for.
"layerId": "A String", # The layer id for this summary.
"annotationsDataLink": "A String", # Link to get data for this annotation.
"selfLink": "A String", # URL to this resource.
},
],
"kind": "books#layersummaries", # Resource type.
}
- volumeAnnotations = methodResource(self)
- A collection resource.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|