Class MylibraryResource.AnnotationsResource
The "annotations" collection of methods.
Inheritance
System.Object
MylibraryResource.AnnotationsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class 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 |
|---|---|---|
| System.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<System.String> | layerIds | Array of layer IDs to get the summary for. |
| System.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. |
| System.String | annotationId | The ID for the annotation to update. |
Returns
| Type | Description |
|---|---|
| MylibraryResource.AnnotationsResource.UpdateRequest |