Class GoogleCloudVisionV1p1beta1InputConfig
The desired input location and metadata.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1p1beta1.Data
Assembly: Google.Apis.Vision.v1p1beta1.dll
Syntax
public class GoogleCloudVisionV1p1beta1InputConfig : IDirectResponseSchema
Properties
Content
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.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsSource
The Google Cloud Storage location to read the input from.
Declaration
[JsonProperty("gcsSource")]
public virtual GoogleCloudVisionV1p1beta1GcsSource GcsSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudVisionV1p1beta1GcsSource |
MimeType
The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type | Description |
---|---|
string |