public sealed class InputConfig : IMessage<InputConfig>, IEquatable<InputConfig>, IDeepCloneable<InputConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class InputConfig.
The desired input location and metadata.
Implements
IMessageInputConfig, IEquatableInputConfig, IDeepCloneableInputConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
InputConfig()
public InputConfig()
InputConfig(InputConfig)
public InputConfig(InputConfig other)
Parameter | |
---|---|
Name | Description |
other |
InputConfig |
Properties
Content
public ByteString Content { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ByteString |
GcsSource
public GcsSource GcsSource { get; set; }
The Google Cloud Storage location to read the input from.
Property Value | |
---|---|
Type | Description |
GcsSource |
MimeType
public string MimeType { get; set; }
The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.
Property Value | |
---|---|
Type | Description |
string |