Live Stream v1 API - Class Asset (1.3.0)

public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class Asset.

An asset represents a video or an image.

Inheritance

object > Asset

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Asset()

public Asset()

Asset(Asset)

public Asset(Asset other)
Parameter
NameDescription
otherAsset

Properties

AssetName

public AssetName AssetName { get; set; }

AssetName-typed view over the Name resource name property.

Property Value
TypeDescription
AssetName

Crc32C

public string Crc32C { get; set; }

Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
TypeDescription
Timestamp

Error

public Status Error { get; set; }

Output only. Only present when state is ERROR. The reason for the error state of the asset.

Property Value
TypeDescription
Status

Image

public Asset.Types.ImageAsset Image { get; set; }

ImageAsset represents an image.

Property Value
TypeDescription
AssetTypesImageAsset

Labels

public MapField<string, string> Labels { get; }

User-defined key/value metadata.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

The resource name of the asset, in the form of: projects/{project}/locations/{location}/assets/{assetId}.

Property Value
TypeDescription
string

ResourceCase

public Asset.ResourceOneofCase ResourceCase { get; }
Property Value
TypeDescription
AssetResourceOneofCase

State

public Asset.Types.State State { get; set; }

Output only. The state of the asset resource.

Property Value
TypeDescription
AssetTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time.

Property Value
TypeDescription
Timestamp

Video

public Asset.Types.VideoAsset Video { get; set; }

VideoAsset represents a video.

Property Value
TypeDescription
AssetTypesVideoAsset