Live Stream v1 API - Class Event (1.0.0)

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

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

Event is a sub-resource of a channel, which can be scheduled by the user to execute operations on a channel resource without having to stop the channel.

Inheritance

Object > Event

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Event()

public Event()

Event(Event)

public Event(Event other)
Parameter
NameDescription
otherEvent

Properties

AdBreak

public Event.Types.AdBreakTask AdBreak { get; set; }

Required. Inserts a new ad opportunity.

Property Value
TypeDescription
Event.Types.AdBreakTask

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
TypeDescription
Timestamp

Error

public Status Error { get; set; }

Output only. An error object that describes the reason for the failure. This property is always present when state is FAILED.

Property Value
TypeDescription
Status

EventName

public EventName EventName { get; set; }

EventName-typed view over the Name resource name property.

Property Value
TypeDescription
EventName

ExecuteNow

public bool ExecuteNow { get; set; }

When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.

Property Value
TypeDescription
Boolean

ExecutionTime

public Timestamp ExecutionTime { get; set; }

The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to true, this field should not be set in CreateEvent request and will be populated with the time that the server schedules the event.

Property Value
TypeDescription
Timestamp

Labels

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

User-defined key/value metadata.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

The resource name of the event, in the form of: projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}.

Property Value
TypeDescription
String

State

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

Output only. The state of the event.

Property Value
TypeDescription
Event.Types.State

TaskCase

public Event.TaskOneofCase TaskCase { get; }
Property Value
TypeDescription
Event.TaskOneofCase

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time.

Property Value
TypeDescription
Timestamp