public sealed class CreateContactRequest : IMessage<CreateContactRequest>, IEquatable<CreateContactRequest>, IDeepCloneable<CreateContactRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Essential Contacts v1 API class CreateContactRequest.
[[["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\u003eCreateContactRequest\u003c/code\u003e class is used to send a request to create a contact through the Essential Contacts v1 API.\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, showcasing its functionality within the Google Cloud .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateContactRequest\u003c/code\u003e class includes properties for setting the contact details, which requires an email address and language tag, as well as specifying the parent resource for the contact.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property allows flexibility to apply the contact to an organization, folder, or project, through its string value or respective name-typed views like \u003ccode\u003eFolderName\u003c/code\u003e, \u003ccode\u003eOrganizationName\u003c/code\u003e, or \u003ccode\u003eProjectName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API for CreateContactRequest is version 2.5.0, with previous versions available dating back to 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Essential Contacts v1 API - Class CreateContactRequest (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/2.4.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/2.3.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/2.2.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/2.1.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/2.0.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/1.1.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/1.0.0/Google.Cloud.EssentialContacts.V1.CreateContactRequest) \n\n public sealed class CreateContactRequest : IMessage\u003cCreateContactRequest\u003e, IEquatable\u003cCreateContactRequest\u003e, IDeepCloneable\u003cCreateContactRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Essential Contacts v1 API class CreateContactRequest.\n\nRequest message for the CreateContact method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateContactRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateContactRequest](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateContactRequest](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateContactRequest](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest), [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.EssentialContacts.V1](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.EssentialContacts.V1.dll\n\nConstructors\n------------\n\n### CreateContactRequest()\n\n public CreateContactRequest()\n\n### CreateContactRequest(CreateContactRequest)\n\n public CreateContactRequest(CreateContactRequest other)\n\nProperties\n----------\n\n### Contact\n\n public Contact Contact { get; set; }\n\nRequired. The contact to create. Must specify an email address and language\ntag.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource to save this contact for.\nFormat: organizations/{organization_id}, folders/{folder_id} or\nprojects/{project_id}\n\n### ParentAsFolderName\n\n public FolderName ParentAsFolderName { get; set; }\n\n[FolderName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/FolderName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest#Google_Cloud_EssentialContacts_V1_CreateContactRequest_Parent) resource name property.\n\n### ParentAsOrganizationName\n\n public OrganizationName ParentAsOrganizationName { get; set; }\n\n[OrganizationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/OrganizationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest#Google_Cloud_EssentialContacts_V1_CreateContactRequest_Parent) resource name property.\n\n### ParentAsProjectName\n\n public ProjectName ParentAsProjectName { get; set; }\n\n[ProjectName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/ProjectName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest#Google_Cloud_EssentialContacts_V1_CreateContactRequest_Parent) resource name property.\n\n### ParentAsResourceName\n\n public IResourceName ParentAsResourceName { get; set; }\n\n[IResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/IResourceName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.CreateContactRequest#Google_Cloud_EssentialContacts_V1_CreateContactRequest_Parent) resource name property."]]