Class RevokeCertificateRequest (2.0.0)

public sealed class RevokeCertificateRequest : IMessage<RevokeCertificateRequest>, IEquatable<RevokeCertificateRequest>, IDeepCloneable<RevokeCertificateRequest>, IBufferMessage, IMessage

Request message for [CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate].

Inheritance

Object > RevokeCertificateRequest

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

RevokeCertificateRequest()

public RevokeCertificateRequest()

RevokeCertificateRequest(RevokeCertificateRequest)

public RevokeCertificateRequest(RevokeCertificateRequest other)
Parameter
NameDescription
otherRevokeCertificateRequest

Properties

CertificateName

public CertificateName CertificateName { get; set; }

CertificateName-typed view over the Name resource name property.

Property Value
TypeDescription
CertificateName

Name

public string Name { get; set; }

Required. The resource name for this [Certificate][google.cloud.security.privateca.v1.Certificate] in the format projects/*/locations/*/caPools/*/certificates/*.

Property Value
TypeDescription
String

Reason

public RevocationReason Reason { get; set; }

Required. The [RevocationReason][google.cloud.security.privateca.v1.RevocationReason] for revoking this certificate.

Property Value
TypeDescription
RevocationReason

RequestId

public string RequestId { get; set; }

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 t he 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).

Property Value
TypeDescription
String