Class MylibraryResource.AnnotationsResource
The "annotations" collection of methods.
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.AnnotationsResource
Constructors
AnnotationsResource(IClientService)
Constructs a new resource.
Declaration
public AnnotationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string)
Deletes an annotation.
Declaration
public virtual MylibraryResource.AnnotationsResource.DeleteRequest Delete(string annotationId)
Parameters
Type | Name | Description |
---|---|---|
string | annotationId | The ID for the annotation to delete. |
Returns
Type | Description |
---|---|
MylibraryResource.AnnotationsResource.DeleteRequest |
Insert(Annotation)
Inserts a new annotation.
Declaration
public virtual MylibraryResource.AnnotationsResource.InsertRequest Insert(Annotation body)
Parameters
Type | Name | Description |
---|---|---|
Annotation | body | The body of the request. |
Returns
Type | Description |
---|---|
MylibraryResource.AnnotationsResource.InsertRequest |
List()
Retrieves a list of annotations, possibly filtered.
Declaration
public virtual MylibraryResource.AnnotationsResource.ListRequest List()
Returns
Type | Description |
---|---|
MylibraryResource.AnnotationsResource.ListRequest |
Summary(Repeatable<string>, string)
Gets the summary of specified layers.
Declaration
public virtual MylibraryResource.AnnotationsResource.SummaryRequest Summary(Repeatable<string> layerIds, string volumeId)
Parameters
Type | Name | Description |
---|---|---|
Repeatable<string> | layerIds | Array of layer IDs to get the summary for. |
string | volumeId | Volume id to get the summary for. |
Returns
Type | Description |
---|---|
MylibraryResource.AnnotationsResource.SummaryRequest |
Update(Annotation, string)
Updates an existing annotation.
Declaration
public virtual MylibraryResource.AnnotationsResource.UpdateRequest Update(Annotation body, string annotationId)
Parameters
Type | Name | Description |
---|---|---|
Annotation | body | The body of the request. |
string | annotationId | The ID for the annotation to update. |
Returns
Type | Description |
---|---|
MylibraryResource.AnnotationsResource.UpdateRequest |