The Google Cloud Storage URI of the form
gs://bucket_name/object_name. Object versioning is not supported. See
Google Cloud Storage Request
URIs for more info.
A Google Cloud Storage URI of the form
gs://bucket_name/object_name. Object versioning is not supported. See
Google Cloud Storage Request
URIs for more
info.
A publicly-accessible image HTTP/HTTPS URL. When fetching images from
HTTP/HTTPS URLs, Google cannot guarantee that the request will be
completed. Your request may fail if the specified host denies the
request (e.g. due to request throttling or DOS prevention), or if Google
throttles requests to the site for abuse prevention. You should not
depend on externally-hosted images for production applications.
When both gcs_image_uri and image_uri are specified, image_uri takes
precedence.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eImageSource\u003c/code\u003e class in the Google Cloud Vision v1 API represents an external image source, supporting Google Cloud Storage URIs and public HTTP/HTTPS URLs.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.7.0 is the latest version of the \u003ccode\u003eImageSource\u003c/code\u003e class, with prior versions from 3.6.0 down to 2.3.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for functionalities like message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImageUri\u003c/code\u003e is the preferred property to specify the image source, taking precedence over \u003ccode\u003eGcsImageUri\u003c/code\u003e when both are provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsImageUri\u003c/code\u003e property allows specifying the image source using a Google Cloud Storage URI, but the \u003ccode\u003eimage_uri\u003c/code\u003e property is the recommended alternative.\u003c/p\u003e\n"]]],[],null,[]]