Google Cloud Certificate Manager V1 Client - Class CertificateMapEntry (1.0.1)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class CertificateMapEntry.

Defines a certificate map entry.

Generated from protobuf message google.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 pattern projects/*/locations/*/certificateMaps/*/certificateMapEntries/*.

↳ description string

One or more paragraphs of text description of a certificate map entry.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation timestamp of a Certificate Map Entry.

↳ update_time Google\Protobuf\Timestamp

Output only. The update timestamp of a Certificate Map Entry.

↳ labels array|Google\Protobuf\Internal\MapField

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 given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/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 pattern projects/*/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 pattern projects/*/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.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of a Certificate Map Entry.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The update timestamp of a Certificate Map Entry.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update timestamp of a Certificate Map Entry.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Set of labels associated with a Certificate Map Entry.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a Certificate Map Entry.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getHostname

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 given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCertificates

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/*.

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.

Parameter
Name Description
var int
Returns
Type Description
$this

getMatch

Returns
Type Description
string