Show / Hide Table of Contents

Class MylibraryResource.AnnotationsResource.InsertRequest

Inserts a new annotation.

Inheritance
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(bool?)
ClientServiceRequest<Annotation>.GenerateRequestUri()
ClientServiceRequest<Annotation>.GetDefaultETagAction(string)
ClientServiceRequest<Annotation>.ETagAction
ClientServiceRequest<Annotation>.ModifyRequest
ClientServiceRequest<Annotation>.ValidateParameters
ClientServiceRequest<Annotation>.ApiVersion
ClientServiceRequest<Annotation>.RequestParameters
ClientServiceRequest<Annotation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.AnnotationsResource.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
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
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
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
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
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
bool?

Source

String to identify the originator of this request.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
BooksBaseServiceRequest<Annotation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX