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 latest version of the Google Cloud Vision v1 API class ImageSource is 3.7.0, with multiple previous versions available, dating back to version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImageSource\u003c/code\u003e class provides a way to reference external images using either a Google Cloud Storage URI or a publicly accessible HTTP/HTTPS URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImageSource\u003c/code\u003e class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen using the \u003ccode\u003eImageSource\u003c/code\u003e class, the \u003ccode\u003eimage_uri\u003c/code\u003e property will take precedence over the \u003ccode\u003egcs_image_uri\u003c/code\u003e property if both are provided.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the ImageSource class, the default \u003ccode\u003eImageSource()\u003c/code\u003e, and one that takes another \u003ccode\u003eImageSource\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]