Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class CertificateMapEntry.
Defines a certificate map entry.
Generated from protobuf messagegoogle.cloud.certificatemanager.v1.CertificateMapEntry
Namespace
Google \ Cloud \ CertificateManager \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match patternprojects/*/locations/*/certificateMaps/*/certificateMapEntries/*.
↳ description
string
One or more paragraphs of text description of a certificate map entry.
Set of labels associated with a Certificate Map Entry.
↳ hostname
string
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.
↳ matcher
int
A predefined matcher for particular cases, other than SNI selection.
↳ certificates
array
A set of Certificates defines for the givenhostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match patternprojects/*/locations/*/certificates/*.
↳ state
int
Output only. A serving state of this Certificate Map Entry.
getName
A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match patternprojects/*/locations/*/certificateMaps/*/certificateMapEntries/*.
Returns
Type
Description
string
setName
A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match patternprojects/*/locations/*/certificateMaps/*/certificateMapEntries/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
One or more paragraphs of text description of a certificate map entry.
Returns
Type
Description
string
setDescription
One or more paragraphs of text description of a certificate map entry.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The creation timestamp of a Certificate Map Entry.
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.
Returns
Type
Description
string
hasHostname
setHostname
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getMatcher
A predefined matcher for particular cases, other than SNI selection.
Returns
Type
Description
int
hasMatcher
setMatcher
A predefined matcher for particular cases, other than SNI selection.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getCertificates
A set of Certificates defines for the givenhostname. There can be
defined up to four certificates in each Certificate Map Entry. Each
certificate must match patternprojects/*/locations/*/certificates/*.
A set of Certificates defines for the givenhostname. There can be
defined up to four certificates in each Certificate Map Entry. Each
certificate must match patternprojects/*/locations/*/certificates/*.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getState
Output only. A serving state of this Certificate Map Entry.
Returns
Type
Description
int
setState
Output only. A serving state of this Certificate Map Entry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Certificate Manager V1 Client - Class CertificateMapEntry (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-certificate-manager/latest/V1.CertificateMapEntry)\n- [1.0.3](/php/docs/reference/cloud-certificate-manager/1.0.3/V1.CertificateMapEntry)\n- [0.7.3](/php/docs/reference/cloud-certificate-manager/0.7.3/V1.CertificateMapEntry)\n- [0.6.0](/php/docs/reference/cloud-certificate-manager/0.6.0/V1.CertificateMapEntry)\n- [0.5.2](/php/docs/reference/cloud-certificate-manager/0.5.2/V1.CertificateMapEntry)\n- [0.4.2](/php/docs/reference/cloud-certificate-manager/0.4.2/V1.CertificateMapEntry)\n- [0.3.7](/php/docs/reference/cloud-certificate-manager/0.3.7/V1.CertificateMapEntry) \nReference documentation and code samples for the Google Cloud Certificate Manager V1 Client class CertificateMapEntry.\n\nDefines a certificate map entry.\n\nGenerated from protobuf message `google.cloud.certificatemanager.v1.CertificateMapEntry`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CertificateManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\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### setName\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### getDescription\n\nOne or more paragraphs of text description of a certificate map entry.\n\n### setDescription\n\nOne or more paragraphs of text description of a certificate map entry.\n\n### getCreateTime\n\nOutput only. The creation timestamp of a Certificate Map Entry.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation timestamp of a Certificate Map Entry.\n\n### getUpdateTime\n\nOutput only. The update timestamp of a Certificate Map Entry.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The update timestamp of a Certificate Map Entry.\n\n### getLabels\n\nSet of labels associated with a Certificate Map Entry.\n\n### setLabels\n\nSet of labels associated with a Certificate Map Entry.\n\n### getHostname\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### hasHostname\n\n### setHostname\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### getMatcher\n\nA predefined matcher for particular cases, other than SNI selection.\n\n### hasMatcher\n\n### setMatcher\n\nA predefined matcher for particular cases, other than SNI selection.\n\n### getCertificates\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### setCertificates\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### getState\n\nOutput only. A serving state of this Certificate Map Entry.\n\n### setState\n\nOutput only. A serving state of this Certificate Map Entry.\n\n### getMatch"]]