Class ProjectsResource.FilesResource.AsyncBatchAnnotateRequest
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which
may contain multiple pages and multiple images per page. Progress and results can be retrieved through
the google.longrunning.Operations
interface. Operation.metadata
contains OperationMetadata
(metadata). Operation.response
contains AsyncBatchAnnotateFilesResponse
(results).
Inheritance
Inherited Members
Namespace: Google.Apis.Vision.v1p1beta1
Assembly: Google.Apis.Vision.v1p1beta1.dll
Syntax
public class ProjectsResource.FilesResource.AsyncBatchAnnotateRequest : VisionBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
AsyncBatchAnnotateRequest(IClientService, GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest, string)
Constructs a new AsyncBatchAnnotate request.
Declaration
public AsyncBatchAnnotateRequest(IClientService service, GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AsyncBatchAnnotate parameter list.
Declaration
protected override void InitParameters()