Class File
Represents a file in Poly, which can be a root, resource, or thumbnail file.
Implements
Inherited Members
Namespace: Google.Apis.PolyService.v1.Data
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class File : IDirectResponseSchema
Properties
ContentType
The MIME content-type, such as image/png
. For more information, see MIME
types.
Declaration
[JsonProperty("contentType")]
public virtual string ContentType { 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 |
RelativePath
The path of the resource file relative to the root file. For root or thumbnail files, this is just the filename.
Declaration
[JsonProperty("relativePath")]
public virtual string RelativePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
The URL where the file data can be retrieved.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |