Class Asset
Represents and describes an asset in the Poly library. An asset is a 3D model or scene created using Tilt Brush, Blocks, or any 3D program that produces a file that can be upload to Poly.
Implements
Inherited Members
Namespace: Google.Apis.PolyService.v1.Data
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class Asset : IDirectResponseSchema
Properties
AuthorName
The author's publicly visible name. Use this name when giving credit to the author. For more information, see Licensing.
Declaration
[JsonProperty("authorName")]
public virtual string AuthorName { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
For published assets, the time when the asset was published. For unpublished assets, the time when the asset was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The human-readable description, set by the asset's author.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The human-readable name, set by the asset's author.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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 |
Formats
A list of Formats where each format describes one representation of the asset.
Declaration
[JsonProperty("formats")]
public virtual IList<Format> Formats { get; set; }
Property Value
Type | Description |
---|---|
IList<Format> |
IsCurated
Whether this asset has been curated by the Poly team.
Declaration
[JsonProperty("isCurated")]
public virtual bool? IsCurated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
License
The license under which the author has made the asset available for use, if any.
Declaration
[JsonProperty("license")]
public virtual string License { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Application-defined opaque metadata for this asset. This field is only returned when querying for the signed-in user's own assets, not for public assets. This string is limited to 1K chars. It is up to the creator of the asset to define the format for this string (for example, JSON).
Declaration
[JsonProperty("metadata")]
public virtual string Metadata { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The unique identifier for the asset in the form: assets/{ASSET_ID}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PresentationParams
Hints for displaying the asset. Note that these parameters are not immutable; the author of an asset may change them post-publication.
Declaration
[JsonProperty("presentationParams")]
public virtual PresentationParams PresentationParams { get; set; }
Property Value
Type | Description |
---|---|
PresentationParams |
RemixInfo
The remix info for the asset.
Declaration
[JsonProperty("remixInfo")]
public virtual RemixInfo RemixInfo { get; set; }
Property Value
Type | Description |
---|---|
RemixInfo |
Thumbnail
The thumbnail image for the asset.
Declaration
[JsonProperty("thumbnail")]
public virtual File Thumbnail { get; set; }
Property Value
Type | Description |
---|---|
File |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The time when the asset was last modified. For published assets, whose contents are immutable, the update time changes only when metadata properties, such as visibility, are updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Visibility
The visibility of the asset and who can access it.
Declaration
[JsonProperty("visibility")]
public virtual string Visibility { get; set; }
Property Value
Type | Description |
---|---|
string |