Struct google_vision1::api::BatchAnnotateImagesRequest
source · pub struct BatchAnnotateImagesRequest {
pub labels: Option<HashMap<String, String>>,
pub parent: Option<String>,
pub requests: Option<Vec<AnnotateImageRequest>>,
}
Expand description
Multiple image annotation requests are batched into a single service call.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- annotate images (request)
- images annotate projects (request)
- locations images annotate projects (request)
Fields§
§labels: Option<HashMap<String, String>>
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
parent: Option<String>
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
.
requests: Option<Vec<AnnotateImageRequest>>
Required. Individual image annotation requests for this batch.
Trait Implementations§
source§impl Clone for BatchAnnotateImagesRequest
impl Clone for BatchAnnotateImagesRequest
source§fn clone(&self) -> BatchAnnotateImagesRequest
fn clone(&self) -> BatchAnnotateImagesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more