Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.FilesResource.AnnotateRequest

Service that performs image detection and annotation for a batch of files. Now only "application/pdf", "image/tiff" and "image/gif" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<BatchAnnotateFilesResponse>
VisionBaseServiceRequest<BatchAnnotateFilesResponse>
ProjectsResource.LocationsResource.FilesResource.AnnotateRequest
Implements
IClientServiceRequest<BatchAnnotateFilesResponse>
IClientServiceRequest
Inherited Members
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.Xgafv
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.AccessToken
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.Alt
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.Callback
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.Fields
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.Key
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.OauthToken
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.PrettyPrint
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.QuotaUser
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.UploadType
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.UploadProtocol
ClientServiceRequest<BatchAnnotateFilesResponse>.Execute()
ClientServiceRequest<BatchAnnotateFilesResponse>.ExecuteAsStream()
ClientServiceRequest<BatchAnnotateFilesResponse>.ExecuteAsync()
ClientServiceRequest<BatchAnnotateFilesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchAnnotateFilesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchAnnotateFilesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchAnnotateFilesResponse>.CreateRequest(bool?)
ClientServiceRequest<BatchAnnotateFilesResponse>.GenerateRequestUri()
ClientServiceRequest<BatchAnnotateFilesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<BatchAnnotateFilesResponse>.ETagAction
ClientServiceRequest<BatchAnnotateFilesResponse>.ModifyRequest
ClientServiceRequest<BatchAnnotateFilesResponse>.ValidateParameters
ClientServiceRequest<BatchAnnotateFilesResponse>.ApiVersion
ClientServiceRequest<BatchAnnotateFilesResponse>.RequestParameters
ClientServiceRequest<BatchAnnotateFilesResponse>.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.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class ProjectsResource.LocationsResource.FilesResource.AnnotateRequest : VisionBaseServiceRequest<BatchAnnotateFilesResponse>, IClientServiceRequest<BatchAnnotateFilesResponse>, IClientServiceRequest

Constructors

AnnotateRequest(IClientService, BatchAnnotateFilesRequest, string)

Constructs a new Annotate request.

Declaration
public AnnotateRequest(IClientService service, BatchAnnotateFilesRequest body, string parent)
Parameters
Type Name Description
IClientService service
BatchAnnotateFilesRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchAnnotateFilesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchAnnotateFilesResponse>.MethodName

Parent

Optional. Target project and location to make a call. Format: projects/{project-id}/locations/{location-id}. If no parent is specified, a region will be chosen automatically. Supported location-ids: us: USA country only, asia: East asia areas, like Japan, Taiwan, eu: The European Union. Example: projects/project-A/locations/eu.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchAnnotateFilesResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<BatchAnnotateFilesResponse>.GetBody()

InitParameters()

Initializes Annotate parameter list.

Declaration
protected override void InitParameters()
Overrides
VisionBaseServiceRequest<BatchAnnotateFilesResponse>.InitParameters()

Implements

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