Show / Hide Table of Contents

Class GdataContentTypeInfo

Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.

Inheritance
object
GdataContentTypeInfo
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GdataContentTypeInfo : IDirectResponseSchema

Properties

BestGuess

Scotty's best guess of what the content type of the file is.

Declaration
[JsonProperty("bestGuess")]
public virtual string BestGuess { 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

FromBytes

The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file.

Declaration
[JsonProperty("fromBytes")]
public virtual string FromBytes { get; set; }
Property Value
Type Description
string

FromFileName

The content type of the file derived from the file extension of the original file name used by the client.

Declaration
[JsonProperty("fromFileName")]
public virtual string FromFileName { get; set; }
Property Value
Type Description
string

FromHeader

The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.

Declaration
[JsonProperty("fromHeader")]
public virtual string FromHeader { get; set; }
Property Value
Type Description
string

FromUrlPath

The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).

Declaration
[JsonProperty("fromUrlPath")]
public virtual string FromUrlPath { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX