Class InputConfig (3.1.4)

Stay organized with collections Save and categorize content based on your preferences.
InputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The desired input location and metadata.

Attributes

NameDescription
gcs_source google.cloud.vision_v1.types.GcsSource
The Google Cloud Storage location to read the input from.
content bytes
File content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.
mime_type str
The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.

Inheritance

builtins.object > proto.message.Message > InputConfig