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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDescription

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

Returns
TypeDescription
string

setDescription

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Set of labels associated with a Certificate Map Entry.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a Certificate Map Entry.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getMatcher

A predefined matcher for particular cases, other than SNI selection.

Returns
TypeDescription
int

hasMatcher

setMatcher

A predefined matcher for particular cases, other than SNI selection.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this

getState

Output only. A serving state of this Certificate Map Entry.

Returns
TypeDescription
int

setState

Output only. A serving state of this Certificate Map Entry.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMatch

Returns
TypeDescription
string