public sealed class CreateEventRequest : IMessage<CreateEventRequest>, IEquatable<CreateEventRequest>, IDeepCloneable<CreateEventRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class CreateEventRequest.
Request message for "LivestreamService.CreateEvent".
Required. The ID of the event resource to be created.
This value must be 1-63 characters, begin and end with [a-z0-9],
could contain dashes (-) in between.
A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request ID,
the server can check if original operation with the same request ID was
received, and if so, will ignore the second request. This prevents clients
from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateEventRequest\u003c/code\u003e class is used to create a request for the "LivestreamService.CreateEvent" API within the Google Cloud Video Live Stream V1 service.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities such as deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 1.8.0, and previous versions down to 1.0.0 are also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateEventRequest\u003c/code\u003e class requires parameters like \u003ccode\u003eEvent\u003c/code\u003e, \u003ccode\u003eEventId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e (or \u003ccode\u003eParentAsChannelName\u003c/code\u003e), which specify the event resource, its ID, and its parent channel location, respectively.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eRequestId\u003c/code\u003e property can be included to ensure idempotent operations, preventing duplicate requests from being processed.\u003c/p\u003e\n"]]],[],null,["# Live Stream v1 API - Class CreateEventRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.V1.CreateEventRequest) \n\n public sealed class CreateEventRequest : IMessage\u003cCreateEventRequest\u003e, IEquatable\u003cCreateEventRequest\u003e, IDeepCloneable\u003cCreateEventRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Live Stream v1 API class CreateEventRequest.\n\nRequest message for \"LivestreamService.CreateEvent\". \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateEventRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateEventRequest](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateEventRequest](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateEventRequest](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.LiveStream.V1](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.LiveStream.V1.dll\n\nConstructors\n------------\n\n### CreateEventRequest()\n\n public CreateEventRequest()\n\n### CreateEventRequest(CreateEventRequest)\n\n public CreateEventRequest(CreateEventRequest other)\n\nProperties\n----------\n\n### Event\n\n public Event Event { get; set; }\n\nRequired. The event resource to be created.\n\n### EventId\n\n public string EventId { get; set; }\n\nRequired. The ID of the event resource to be created.\nThis value must be 1-63 characters, begin and end with `[a-z0-9]`,\ncould contain dashes (-) in between.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent channel for the resource, in the form of:\n`projects/{project}/locations/{location}/channels/{channelId}`.\n\n### ParentAsChannelName\n\n public ChannelName ParentAsChannelName { get; set; }\n\n[ChannelName](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest#Google_Cloud_Video_LiveStream_V1_CreateEventRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nA request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request ID,\nthe server can check if original operation with the same request ID was\nreceived, and if so, will ignore the second request. This prevents clients\nfrom accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported `(00000000-0000-0000-0000-000000000000)`."]]