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 : IMessage<Certificate>, IEquatable<Certificate>, IDeepCloneable<Certificate>, IBufferMessage, IMessage

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

Defines TLS certificate.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.md.txt), [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.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Certificate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.md.txt)

## Assembly

Google.Cloud.CertificateManager.V1.dll

## Constructors

### Certificate()

    public Certificate()

### Certificate(Certificate)

    public Certificate(Certificate other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Certificate` |

## Properties

### CertificateName

    public CertificateName CertificateName { get; set; }

[CertificateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.md.txt#Google_Cloud_CertificateManager_V1_Certificate_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of a Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Description

    public string Description { get; set; }

Optional. One or more paragraphs of text description of a certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ExpireTime

    public Timestamp ExpireTime { get; set; }

Output only. The expiry timestamp of a Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Labels

    public MapField<string, string> Labels { get; }

Optional. Set of labels associated with a Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Managed

    public Certificate.Types.ManagedCertificate Managed { get; set; }

If set, contains configuration and state of a managed certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateTypesManagedCertificate` |   |

### ManagedIdentity

    public Certificate.Types.ManagedIdentityCertificate ManagedIdentity { get; set; }

If set, contains configuration and state of a managed identity
certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateTypesManagedIdentityCertificate` |   |

### Name

    public string Name { get; set; }

Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
`projects/*/locations/*/certificates/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PemCertificate

    public string PemCertificate { get; set; }

Output only. The PEM-encoded certificate chain.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SanDnsnames

    public RepeatedField<string> SanDnsnames { get; }

Output only. The list of Subject Alternative Names of dnsName type defined
in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
haven't been provisioned yet have this field populated with a value of the
managed.domains field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Scope

    public Certificate.Types.Scope Scope { get; set; }

Optional. Immutable. The scope of the certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateTypesScope` |   |

### SelfManaged

    public Certificate.Types.SelfManagedCertificate SelfManaged { get; set; }

If set, defines data of a self-managed certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateTypesSelfManagedCertificate` |   |

### Tags

    public MapField<string, string> Tags { get; }

Optional. Input only. Immutable. Tag keys/values directly bound to this
resource. For example:
"123/environment": "production",
"123/costCenter": "marketing"

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### TypeCase

    public Certificate.TypeOneofCase TypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CertificateTypeOneofCase` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of a Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### UsedBy

    public RepeatedField<Certificate.Types.UsedBy> UsedBy { get; }

Output only. The list of resources that use this Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldCertificateTypesUsedBy` |   |