Google Cloud Redis V1beta1 Client - Class TlsCertificate (1.9.0)

Reference documentation and code samples for the Google Cloud Redis V1beta1 Client class TlsCertificate.

TlsCertificate Resource

Generated from protobuf message google.cloud.redis.v1beta1.TlsCertificate

Namespace

Google \ Cloud \ Redis \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ serial_number string

Serial number, as extracted from the certificate.

↳ cert string

PEM representation.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the certificate was created in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

↳ expire_time Google\Protobuf\Timestamp

Output only. The time when the certificate expires in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

↳ sha1_fingerprint string

Sha1 Fingerprint of the certificate.

getSerialNumber

Serial number, as extracted from the certificate.

Returns
TypeDescription
string

setSerialNumber

Serial number, as extracted from the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCert

PEM representation.

Returns
TypeDescription
string

setCert

PEM representation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the certificate was created in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the certificate was created in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

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

getExpireTime

Output only. The time when the certificate expires in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Output only. The time when the certificate expires in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.

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

getSha1Fingerprint

Sha1 Fingerprint of the certificate.

Returns
TypeDescription
string

setSha1Fingerprint

Sha1 Fingerprint of the certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this