public sealed class CreateCertificateTemplateRequest : IMessage<CreateCertificateTemplateRequest>, IEquatable<CreateCertificateTemplateRequest>, IDeepCloneable<CreateCertificateTemplateRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class CreateCertificateTemplateRequest.
Request message for
[CertificateAuthorityService.CreateCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate].
Required. The resource name of the location associated with the
[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate],
in the format projects/*/locations/*.
Optional. An 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"]],[["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\u003eThis document provides reference documentation for the \u003ccode\u003eCreateCertificateTemplateRequest\u003c/code\u003e class within the Google Cloud Security PrivateCA v1 API, detailing its usage and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCertificateTemplateRequest\u003c/code\u003e class is a request message used for creating certificate templates via the \u003ccode\u003eCertificateAuthorityService\u003c/code\u003e, which has implemented interfaces such as \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\u003eThe latest version of the \u003ccode\u003eCreateCertificateTemplateRequest\u003c/code\u003e documentation is version 3.9.0, with prior versions ranging back to 1.0.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eCertificateTemplate\u003c/code\u003e, \u003ccode\u003eCertificateTemplateId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, which are essential for configuring a certificate template creation request, with some of them being required.\u003c/p\u003e\n"],["\u003cp\u003eThe CreateCertificateTemplateRequest has 2 constructors, one public default and another which is public that take another CreateCertificateTemplateRequest object as parameter.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class CreateCertificateTemplateRequest (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest) \n\n public sealed class CreateCertificateTemplateRequest : IMessage\u003cCreateCertificateTemplateRequest\u003e, IEquatable\u003cCreateCertificateTemplateRequest\u003e, IDeepCloneable\u003cCreateCertificateTemplateRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class CreateCertificateTemplateRequest.\n\nRequest message for\n\\[CertificateAuthorityService.CreateCertificateTemplate\\]\\[google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateCertificateTemplateRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateCertificateTemplateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateCertificateTemplateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateCertificateTemplateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest), [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.Security.PrivateCA.V1](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Security.PrivateCA.V1.dll\n\nConstructors\n------------\n\n### CreateCertificateTemplateRequest()\n\n public CreateCertificateTemplateRequest()\n\n### CreateCertificateTemplateRequest(CreateCertificateTemplateRequest)\n\n public CreateCertificateTemplateRequest(CreateCertificateTemplateRequest other)\n\nProperties\n----------\n\n### CertificateTemplate\n\n public CertificateTemplate CertificateTemplate { get; set; }\n\nRequired. A\n\\[CertificateTemplate\\]\\[google.cloud.security.privateca.v1.CertificateTemplate\\]\nwith initial field values.\n\n### CertificateTemplateId\n\n public string CertificateTemplateId { get; set; }\n\nRequired. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the location associated with the\n\\[CertificateTemplate\\]\\[google.cloud.security.privateca.v1.CertificateTemplate\\],\nin the format `projects/*/locations/*`.\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.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CreateCertificateTemplateRequest#Google_Cloud_Security_PrivateCA_V1_CreateCertificateTemplateRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An ID to identify requests. Specify a unique request ID so that\nif you must retry your request, the server will know to ignore the request\nif it has already been completed. The server will guarantee that for at\nleast 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request 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)."]]