Send feedback
Class InputConfig (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.0 keyboard_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 2024-08-30 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-08-30 UTC.",
"confidential": False
}