public sealed class CreateDataAgentRequest : IMessage<CreateDataAgentRequest>, IEquatable<CreateDataAgentRequest>, IDeepCloneable<CreateDataAgentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class CreateDataAgentRequest.
Optional. Id of the requesting object. Must be unique within the parent.
The allowed format is: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
If not provided, the server will auto-generate a value for the id.
Optional. An optional 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-09-04 UTC."],[],[],null,["# Data Analytics API with Gemini v1beta API - Class CreateDataAgentRequest (1.0.0-beta01)\n\n public sealed class CreateDataAgentRequest : IMessage\u003cCreateDataAgentRequest\u003e, IEquatable\u003cCreateDataAgentRequest\u003e, IDeepCloneable\u003cCreateDataAgentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class CreateDataAgentRequest.\n\nMessage for creating a DataAgent. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateDataAgentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateDataAgentRequest](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.CreateDataAgentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateDataAgentRequest](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.CreateDataAgentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateDataAgentRequest](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.CreateDataAgentRequest), [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.GeminiDataAnalytics.V1Beta](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.GeminiDataAnalytics.V1Beta.dll\n\nConstructors\n------------\n\n### CreateDataAgentRequest()\n\n public CreateDataAgentRequest()\n\n### CreateDataAgentRequest(CreateDataAgentRequest)\n\n public CreateDataAgentRequest(CreateDataAgentRequest other)\n\nProperties\n----------\n\n### DataAgent\n\n public DataAgent DataAgent { get; set; }\n\nRequired. The resource being created.\n\n### DataAgentId\n\n public string DataAgentId { get; set; }\n\nOptional. Id of the requesting object.\nMust be unique within the parent.\nThe allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Value for parent.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.CreateDataAgentRequest#Google_Cloud_GeminiDataAnalytics_V1Beta_CreateDataAgentRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that 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\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from 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)."]]