Send feedback
Class InputConfig (3.10.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
InputConfig ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The desired input location and metadata.
Attributes
Name
Description
gcs_source
google.cloud.vision_v1p4beta1.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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class InputConfig (3.10.2)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.2 (latest)](/python/docs/reference/vision/latest/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.10.0](/python/docs/reference/vision/3.10.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.9.0](/python/docs/reference/vision/3.9.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.8.1](/python/docs/reference/vision/3.8.1/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.7.4](/python/docs/reference/vision/3.7.4/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.6.0](/python/docs/reference/vision/3.6.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.5.0](/python/docs/reference/vision/3.5.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.4.5](/python/docs/reference/vision/3.4.5/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.3.1](/python/docs/reference/vision/3.3.1/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.2.0](/python/docs/reference/vision/3.2.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.1.4](/python/docs/reference/vision/3.1.4/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [3.0.0](/python/docs/reference/vision/3.0.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.8.0](/python/docs/reference/vision/2.8.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.7.3](/python/docs/reference/vision/2.7.3/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.6.3](/python/docs/reference/vision/2.6.3/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.5.0](/python/docs/reference/vision/2.5.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.4.4](/python/docs/reference/vision/2.4.4/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.3.2](/python/docs/reference/vision/2.3.2/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.2.0](/python/docs/reference/vision/2.2.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.1.0](/python/docs/reference/vision/2.1.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [2.0.0](/python/docs/reference/vision/2.0.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [1.0.2](/python/docs/reference/vision/1.0.2/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [0.42.0](/python/docs/reference/vision/0.42.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [0.41.0](/python/docs/reference/vision/0.41.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [0.40.0](/python/docs/reference/vision/0.40.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [0.39.0](/python/docs/reference/vision/0.39.0/google.cloud.vision_v1p4beta1.types.InputConfig)\n- [0.38.1](/python/docs/reference/vision/0.38.1/google.cloud.vision_v1p4beta1.types.InputConfig) \n\n InputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe desired input location and metadata."]]