2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0-beta02

    public sealed class Certificate.Types.SelfManagedCertificate : IMessage<Certificate.Types.SelfManagedCertificate>, IEquatable<Certificate.Types.SelfManagedCertificate>, IDeepCloneable<Certificate.Types.SelfManagedCertificate>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Manager v1 API class Certificate.Types.SelfManagedCertificate.

Certificate data for a SelfManaged Certificate.
SelfManaged Certificates are uploaded by the user. Updating such
certificates before they expire remains the user's responsibility.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Certificate.Types.SelfManagedCertificate

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CertificateManager.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1)

## Assembly

Google.Cloud.CertificateManager.V1.dll

## Constructors

### SelfManagedCertificate()

    public SelfManagedCertificate()

### SelfManagedCertificate(SelfManagedCertificate)

    public SelfManagedCertificate(Certificate.Types.SelfManagedCertificate other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificatehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate` |

## Properties

### PemCertificate

    public string PemCertificate { get; set; }

Optional. Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PemPrivateKey

    public string PemPrivateKey { get; set; }

Optional. Input only. The PEM-encoded private key of the leaf
certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |