Struct google_vision1::api::BatchAnnotateFilesRequest
source · pub struct BatchAnnotateFilesRequest {
pub labels: Option<HashMap<String, String>>,
pub parent: Option<String>,
pub requests: Option<Vec<AnnotateFileRequest>>,
}
Expand description
A list of requests to annotate files using the BatchAnnotateFiles API.
§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 files (request)
- files annotate projects (request)
- locations files 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<AnnotateFileRequest>>
Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
Trait Implementations§
source§impl Clone for BatchAnnotateFilesRequest
impl Clone for BatchAnnotateFilesRequest
source§fn clone(&self) -> BatchAnnotateFilesRequest
fn clone(&self) -> BatchAnnotateFilesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more