Google Cloud Sql Admin V1beta4 Client - Class SslCert (0.7.0)

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

SslCerts Resource

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

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setKind

This is always sql#sslCert.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCertSerialNumber

Serial number, as extracted from the certificate.

Returns
TypeDescription
string

setCertSerialNumber

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

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCommonName

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

Returns
TypeDescription
string

setCommonName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpirationTime

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSha1Fingerprint

Sha1 Fingerprint.

Returns
TypeDescription
string

setSha1Fingerprint

Sha1 Fingerprint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

Name of the database instance.

Returns
TypeDescription
string

setInstance

Name of the database instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

The URI of this resource.

Returns
TypeDescription
string

The URI of this resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this