public sealed class RevokeCertificateRequest : IMessage<RevokeCertificateRequest>, IEquatable<RevokeCertificateRequest>, IDeepCloneable<RevokeCertificateRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class RevokeCertificateRequest.
Request message for
[CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate].
Required. The resource name for this
[Certificate][google.cloud.security.privateca.v1.Certificate] in the format
projects/*/locations/*/caPools/*/certificates/*.
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\u003eThe latest version available for \u003ccode\u003eRevokeCertificateRequest\u003c/code\u003e is 3.9.0, but versions dating back to 1.0.0 are accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRevokeCertificateRequest\u003c/code\u003e is a class in the Google.Cloud.Security.PrivateCA.V1 namespace within the Certificate Authority v1 API and serves as the request message for certificate revocation.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<RevokeCertificateRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<RevokeCertificateRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRevokeCertificateRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eCertificateName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eReason\u003c/code\u003e (RevocationReason), and \u003ccode\u003eRequestId\u003c/code\u003e, to manage the revocation process.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for \u003ccode\u003eRevokeCertificateRequest\u003c/code\u003e include a default constructor and one that accepts another \u003ccode\u003eRevokeCertificateRequest\u003c/code\u003e object for cloning purposes.\u003c/p\u003e\n"]]],[],null,["# Certificate Authority v1 API - Class RevokeCertificateRequest (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.RevokeCertificateRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.9.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.8.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.7.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.6.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.5.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.4.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.3.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.2.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.1.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/3.0.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.3.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.2.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.1.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/2.0.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/1.0.0/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest) \n\n public sealed class RevokeCertificateRequest : IMessage\u003cRevokeCertificateRequest\u003e, IEquatable\u003cRevokeCertificateRequest\u003e, IDeepCloneable\u003cRevokeCertificateRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Authority v1 API class RevokeCertificateRequest.\n\nRequest message for\n\\[CertificateAuthorityService.RevokeCertificate\\]\\[google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RevokeCertificateRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RevokeCertificateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RevokeCertificateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RevokeCertificateRequest](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest), [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### RevokeCertificateRequest()\n\n public RevokeCertificateRequest()\n\n### RevokeCertificateRequest(RevokeCertificateRequest)\n\n public RevokeCertificateRequest(RevokeCertificateRequest other)\n\nProperties\n----------\n\n### CertificateName\n\n public CertificateName CertificateName { get; set; }\n\n[CertificateName](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CertificateName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.RevokeCertificateRequest#Google_Cloud_Security_PrivateCA_V1_RevokeCertificateRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name for this\n\\[Certificate\\]\\[google.cloud.security.privateca.v1.Certificate\\] in the format\n`projects/*/locations/*/caPools/*/certificates/*`.\n\n### Reason\n\n public RevocationReason Reason { get; set; }\n\nRequired. The\n\\[RevocationReason\\]\\[google.cloud.security.privateca.v1.RevocationReason\\] for\nrevoking this certificate.\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)."]]