Show / Hide Table of Contents

Class InputConfig

The desired input location and metadata.

Inheritance
System.Object
InputConfig
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class InputConfig : 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
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

GcsSource

The Google Cloud Storage location to read the input from.

Declaration
[JsonProperty("gcsSource")]
public virtual GcsSource GcsSource { get; set; }
Property Value
Type Description
GcsSource

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
System.String

Implements

IDirectResponseSchema
In This Article
Back to top