public sealed class ImportUserEventsRequest : IMessage<ImportUserEventsRequest>, IEquatable<ImportUserEventsRequest>, IDeepCloneable<ImportUserEventsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class ImportUserEventsRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eImportUserEventsRequest\u003c/code\u003e class is a request message for importing user events into the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eIt supports multiple sources for importing user events, including BigQuery via \u003ccode\u003eBigquerySource\u003c/code\u003e, Cloud Storage via \u003ccode\u003eGcsSource\u003c/code\u003e, and inline via \u003ccode\u003eInlineSource\u003c/code\u003e, with the active source determined by \u003ccode\u003eSourceCase\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property, which is a required field, specifies the DataStore resource name where the events will be imported.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eErrorConfig\u003c/code\u003e property allows for specifying the location where to output error logs during the import process, however, it can not be set for inline user event imports.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class ImportUserEventsRequest (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest) \n\n public sealed class ImportUserEventsRequest : IMessage\u003cImportUserEventsRequest\u003e, IEquatable\u003cImportUserEventsRequest\u003e, IDeepCloneable\u003cImportUserEventsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class ImportUserEventsRequest.\n\nRequest message for the ImportUserEvents request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ImportUserEventsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportUserEventsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportUserEventsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportUserEventsRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest), [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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### ImportUserEventsRequest()\n\n public ImportUserEventsRequest()\n\n### ImportUserEventsRequest(ImportUserEventsRequest)\n\n public ImportUserEventsRequest(ImportUserEventsRequest other)\n\nProperties\n----------\n\n### BigquerySource\n\n public BigQuerySource BigquerySource { get; set; }\n\nBigQuery input source.\n\n### ErrorConfig\n\n public ImportErrorConfig ErrorConfig { get; set; }\n\nThe desired location of errors incurred during the Import. Cannot be set\nfor inline user event imports.\n\n### GcsSource\n\n public GcsSource GcsSource { get; set; }\n\nCloud Storage location for the input content.\n\n### InlineSource\n\n public ImportUserEventsRequest.Types.InlineSource InlineSource { get; set; }\n\nThe Inline source for the input content for UserEvents.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Parent DataStore resource name, of the form\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`\n\n### ParentAsDataStoreName\n\n public DataStoreName ParentAsDataStoreName { get; set; }\n\n[DataStoreName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest#Google_Cloud_DiscoveryEngine_V1Beta_ImportUserEventsRequest_Parent) resource name property.\n\n### SourceCase\n\n public ImportUserEventsRequest.SourceOneofCase SourceCase { get; }"]]