Class ProjectsResource.LocationsResource.ImagesResource.AnnotateRequest
Run image detection and annotation for a batch of images.
Inheritance
System.Object
ProjectsResource.LocationsResource.ImagesResource.AnnotateRequest
Inherited Members
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 AnnotateRequest : VisionBaseServiceRequest<BatchAnnotateImagesResponse>, IClientServiceRequest<BatchAnnotateImagesResponse>, IClientServiceRequest
Constructors
AnnotateRequest(IClientService, BatchAnnotateImagesRequest, String)
Constructs a new Annotate request.
Declaration
public AnnotateRequest(IClientService service, BatchAnnotateImagesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchAnnotateImagesRequest | 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.BatchAnnotateImagesResponse>.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.BatchAnnotateImagesResponse>.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.BatchAnnotateImagesResponse>.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.BatchAnnotateImagesResponse>.GetBody()
InitParameters()
Initializes Annotate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateImagesResponse>.InitParameters()