public sealed class CertificateMapEntry : IMessage<CertificateMapEntry>, IEquatable<CertificateMapEntry>, IDeepCloneable<CertificateMapEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Manager v1 API class CertificateMapEntry.
public RepeatedField<string> Certificates { get; }
A set of Certificates defines for the given hostname. There can be
defined up to four certificates in each Certificate Map Entry. Each
certificate must match pattern projects/*/locations/*/certificates/*.
A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression
(*.example.com) for a set of hostnames with common suffix. Used as
Server Name Indication (SNI) for selecting a proper certificate.
A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.
[[["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 page provides documentation for the \u003ccode\u003eCertificateMapEntry\u003c/code\u003e class within the Google Cloud Certificate Manager v1 API, with the latest version being 2.8.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCertificateMapEntry\u003c/code\u003e defines a specific entry within a certificate map, used for managing and associating certificates with hostnames or matchers.\u003c/p\u003e\n"],["\u003cp\u003eKey features of \u003ccode\u003eCertificateMapEntry\u003c/code\u003e include properties for defining a set of certificates, specifying a hostname or matcher, setting labels, and viewing timestamps of creation and updates.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, facilitating its use in various .NET environments.\u003c/p\u003e\n"],["\u003cp\u003eThere are different versions of this class, with links provided to previous releases from 2.7.0 all the way to 1.0.0-beta02.\u003c/p\u003e\n"]]],[],null,["# Certificate Manager v1 API - Class CertificateMapEntry (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.7.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.6.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.5.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.4.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.3.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.2.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.1.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.0.0/Google.Cloud.CertificateManager.V1.CertificateMapEntry)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/1.0.0-beta02/Google.Cloud.CertificateManager.V1.CertificateMapEntry) \n\n public sealed class CertificateMapEntry : IMessage\u003cCertificateMapEntry\u003e, IEquatable\u003cCertificateMapEntry\u003e, IDeepCloneable\u003cCertificateMapEntry\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Manager v1 API class CertificateMapEntry.\n\nDefines a certificate map entry. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CertificateMapEntry \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CertificateMapEntry](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CertificateMapEntry](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CertificateMapEntry](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry), [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.CertificateManager.V1](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CertificateManager.V1.dll\n\nConstructors\n------------\n\n### CertificateMapEntry()\n\n public CertificateMapEntry()\n\n### CertificateMapEntry(CertificateMapEntry)\n\n public CertificateMapEntry(CertificateMapEntry other)\n\nProperties\n----------\n\n### CertificateMapEntryName\n\n public CertificateMapEntryName CertificateMapEntryName { get; set; }\n\n[CertificateMapEntryName](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntryName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry#Google_Cloud_CertificateManager_V1_CertificateMapEntry_Name) resource name property.\n\n### Certificates\n\n public RepeatedField\u003cstring\u003e Certificates { get; }\n\nA set of Certificates defines for the given `hostname`. There can be\ndefined up to four certificates in each Certificate Map Entry. Each\ncertificate must match pattern `projects/*/locations/*/certificates/*`.\n\n### CertificatesAsCertificateNames\n\n public ResourceNameList\u003cCertificateName\u003e CertificatesAsCertificateNames { get; }\n\n[CertificateName](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateName)-typed view over the [Certificates](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CertificateMapEntry#Google_Cloud_CertificateManager_V1_CertificateMapEntry_Certificates) resource name property.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The creation timestamp of a Certificate Map Entry.\n\n### Description\n\n public string Description { get; set; }\n\nOne or more paragraphs of text description of a certificate map entry.\n\n### HasHostname\n\n public bool HasHostname { get; }\n\nGets whether the \"hostname\" field is set\n\n### HasMatcher\n\n public bool HasMatcher { get; }\n\nGets whether the \"matcher\" field is set\n\n### Hostname\n\n public string Hostname { get; set; }\n\nA Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression\n(`*.example.com`) for a set of hostnames with common suffix. Used as\nServer Name Indication (SNI) for selecting a proper certificate.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nSet of labels associated with a Certificate Map Entry.\n\n### MatchCase\n\n public CertificateMapEntry.MatchOneofCase MatchCase { get; }\n\n### Matcher\n\n public CertificateMapEntry.Types.Matcher Matcher { get; set; }\n\nA predefined matcher for particular cases, other than SNI selection.\n\n### Name\n\n public string Name { get; set; }\n\nA user-defined name of the Certificate Map Entry. Certificate Map Entry\nnames must be unique globally and match pattern\n`projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.\n\n### State\n\n public ServingState State { get; set; }\n\nOutput only. A serving state of this Certificate Map Entry.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The update timestamp of a Certificate Map Entry."]]