Show / Hide Table of Contents

Class MylibraryResource.AnnotationsResource.InsertRequest

Inserts a new annotation.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Annotation>
BooksBaseServiceRequest<Annotation>
MylibraryResource.AnnotationsResource.InsertRequest
Implements
IClientServiceRequest<Annotation>
IClientServiceRequest
Inherited Members
BooksBaseServiceRequest<Annotation>.Xgafv
BooksBaseServiceRequest<Annotation>.AccessToken
BooksBaseServiceRequest<Annotation>.Alt
BooksBaseServiceRequest<Annotation>.Callback
BooksBaseServiceRequest<Annotation>.Fields
BooksBaseServiceRequest<Annotation>.Key
BooksBaseServiceRequest<Annotation>.OauthToken
BooksBaseServiceRequest<Annotation>.PrettyPrint
BooksBaseServiceRequest<Annotation>.QuotaUser
BooksBaseServiceRequest<Annotation>.UploadType
BooksBaseServiceRequest<Annotation>.UploadProtocol
ClientServiceRequest<Annotation>.Execute()
ClientServiceRequest<Annotation>.ExecuteAsStream()
ClientServiceRequest<Annotation>.ExecuteAsync()
ClientServiceRequest<Annotation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Annotation>.ExecuteAsStreamAsync()
ClientServiceRequest<Annotation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Annotation>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Annotation>.GenerateRequestUri()
ClientServiceRequest<Annotation>.GetDefaultETagAction(String)
ClientServiceRequest<Annotation>.ETagAction
ClientServiceRequest<Annotation>.ModifyRequest
ClientServiceRequest<Annotation>.ValidateParameters
ClientServiceRequest<Annotation>.RequestParameters
ClientServiceRequest<Annotation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 InsertRequest : BooksBaseServiceRequest<Annotation>, IClientServiceRequest<Annotation>, IClientServiceRequest

Constructors

InsertRequest(IClientService, Annotation)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, Annotation body)
Parameters
Type Name Description
IClientService service
Annotation body

Properties

AnnotationId

The ID for the annotation to insert.

Declaration
[RequestParameter("annotationId", RequestParameterType.Query)]
public virtual string AnnotationId { get; set; }
Property Value
Type Description
System.String

Country

ISO-3166-1 code to override the IP-based location.

Declaration
[RequestParameter("country", RequestParameterType.Query)]
public virtual string Country { get; set; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Annotation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Annotation>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Annotation>.RestPath

ShowOnlySummaryInResponse

Requests that only the summary of the specified layer be provided in the response.

Declaration
[RequestParameter("showOnlySummaryInResponse", RequestParameterType.Query)]
public virtual bool? ShowOnlySummaryInResponse { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Source

String to identify the originator of this request.

Declaration
[RequestParameter("source", RequestParameterType.Query)]
public virtual string Source { get; set; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Annotation>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Books.v1.BooksBaseServiceRequest<Google.Apis.Books.v1.Data.Annotation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top