class Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1InputConfig
The desired input location and metadata.
Attributes
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. Corresponds to the JSON property `content` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
The Google
Cloud Storage location where the input will be read from. Corresponds to the JSON property `gcsSource` @return [Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1GcsSource]
The type of the file. Currently only “application/pdf”, “image/tiff” and “ image/gif” are supported. Wildcards are not supported. Corresponds to the JSON property `mimeType` @return [String]
Public Class Methods
# File lib/google/apis/vision_v1/classes.rb, line 5498 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 5503 def update!(**args) @content = args[:content] if args.key?(:content) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @mime_type = args[:mime_type] if args.key?(:mime_type) end