class Google::Apis::VisionV1::ImageSource

External image source (Google Cloud Storage image location).

Attributes

gcs_image_uri[RW]

Google Cloud Storage image URI. It must be in the following form: `gs://bucket_name/object_name`. For more details, please see: cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported! Corresponds to the JSON property `gcsImageUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/vision_v1/classes.rb, line 37
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/vision_v1/classes.rb, line 42
def update!(**args)
  @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri)
end