Google Cloud Sql Admin V1 Client - Class SslCert (0.18.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SslCert.

SslCerts Resource

Generated from protobuf message google.cloud.sql.v1.SslCert

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ kind string

This is always sql#sslCert.

↳ cert_serial_number string

Serial number, as extracted from the certificate.

↳ cert string

PEM representation.

↳ create_time Google\Protobuf\Timestamp

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z

↳ common_name string

User supplied name. Constrained to [a-zA-Z.-_ ]+.

↳ expiration_time Google\Protobuf\Timestamp

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

↳ sha1_fingerprint string

Sha1 Fingerprint.

↳ instance string

Name of the database instance.

↳ self_link string

The URI of this resource.

getKind

This is always sql#sslCert.

Returns
Type Description
string

setKind

This is always sql#sslCert.

Parameter
Name Description
var string
Returns
Type Description
$this

getCertSerialNumber

Serial number, as extracted from the certificate.

Returns
Type Description
string

setCertSerialNumber

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

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z

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

getCommonName

User supplied name. Constrained to [a-zA-Z.-_ ]+.

Returns
Type Description
string

setCommonName

User supplied name. Constrained to [a-zA-Z.-_ ]+.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpirationTime

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasExpirationTime

clearExpirationTime

setExpirationTime

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

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

getSha1Fingerprint

Sha1 Fingerprint.

Returns
Type Description
string

setSha1Fingerprint

Sha1 Fingerprint.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Name of the database instance.

Returns
Type Description
string

setInstance

Name of the database instance.

Parameter
Name Description
var string
Returns
Type Description
$this

The URI of this resource.

Returns
Type Description
string

The URI of this resource.

Parameter
Name Description
var string
Returns
Type Description
$this