Reference documentation and code samples for the Google Cloud Redis V1 Client class TlsCertificate.
TlsCertificate Resource
Generated from protobuf message google.cloud.redis.v1.TlsCertificate
Namespace
Google \ Cloud \ Redis \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ expire_time |
Google\Protobuf\Timestamp
Output only. The time when the certificate expires in RFC 3339 format, for example |
↳ sha1_fingerprint |
string
Sha1 Fingerprint of the certificate. |
getSerialNumber
Serial number, as extracted from the certificate.
Returns | |
---|---|
Type | Description |
string |
setSerialNumber
Serial number, as extracted from the certificate.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCert
PEM representation.
Returns | |
---|---|
Type | Description |
string |
setCert
PEM representation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. The time when the certificate was created in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getExpireTime
Output only. The time when the certificate expires in RFC
3339 format, for example
2020-05-18T00:00:00.094Z
.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getSha1Fingerprint
Sha1 Fingerprint of the certificate.
Returns | |
---|---|
Type | Description |
string |
setSha1Fingerprint
Sha1 Fingerprint of the certificate.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |