Class AsyncBatchAnnotateImagesRequest (3.8.1)

AsyncBatchAnnotateImagesRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Request for async image annotation for a list of images.

Attributes

Name Description
requests MutableSequence[google.cloud.vision_v1.types.AnnotateImageRequest]
Required. Individual image annotation requests for this batch.
output_config google.cloud.vision_v1.types.OutputConfig
Required. The desired output location and metadata (e.g. format).
parent str
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.
labels MutableMapping[str, str]
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.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.