Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ImagesResource.AsyncBatchAnnotateRequest

Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the google.longrunning.Operations interface. Operation.metadata contains OperationMetadata (metadata). Operation.response contains AsyncBatchAnnotateImagesResponse (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Operation>
VisionBaseServiceRequest<Operation>
ProjectsResource.LocationsResource.ImagesResource.AsyncBatchAnnotateRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
VisionBaseServiceRequest<Operation>.Xgafv
VisionBaseServiceRequest<Operation>.AccessToken
VisionBaseServiceRequest<Operation>.Alt
VisionBaseServiceRequest<Operation>.Callback
VisionBaseServiceRequest<Operation>.Fields
VisionBaseServiceRequest<Operation>.Key
VisionBaseServiceRequest<Operation>.OauthToken
VisionBaseServiceRequest<Operation>.PrettyPrint
VisionBaseServiceRequest<Operation>.QuotaUser
VisionBaseServiceRequest<Operation>.UploadType
VisionBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(String)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.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.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class AsyncBatchAnnotateRequest : VisionBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

AsyncBatchAnnotateRequest(IClientService, AsyncBatchAnnotateImagesRequest, String)

Constructs a new AsyncBatchAnnotate request.

Declaration
public AsyncBatchAnnotateRequest(IClientService service, AsyncBatchAnnotateImagesRequest body, string parent)
Parameters
Type Name Description
IClientService service
AsyncBatchAnnotateImagesRequest body
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.Operation>.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.Vision.v1.Data.Operation>.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
System.String

RestPath

Gets the REST path.

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

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.Vision.v1.Data.Operation>.GetBody()

InitParameters()

Initializes AsyncBatchAnnotate parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top