Google Cloud Sql Admin V1 Client - Class CustomerManagedCertificateConfig (1.17.0)

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

Customer managed certificate SSL configuration.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bundle string

Output only. The name of the customer managed certificate configuration. This name will be used to identify a certificate bundle.

↳ intent int

Required. The intent for this customer managed certificate configuration.

↳ primary_dns_record DNSEntry

DNS name associated with the primary instance in a replication topology. This is needed to insert a DNS entry in a replica VM.

↳ customer_managed_certificates array<CustomerManagedCertificate>

Required. The server CA certificate, client key and client certificate. You can specify up to 3 certificates in a bundle.

getBundle

Output only. The name of the customer managed certificate configuration.

This name will be used to identify a certificate bundle.

Returns
Type Description
string

setBundle

Output only. The name of the customer managed certificate configuration.

This name will be used to identify a certificate bundle.

Parameter
Name Description
var string
Returns
Type Description
$this

getIntent

Required. The intent for this customer managed certificate configuration.

Returns
Type Description
int Enum of type Intent.

setIntent

Required. The intent for this customer managed certificate configuration.

Parameter
Name Description
var int

Enum of type Intent.

Returns
Type Description
$this

getPrimaryDnsRecord

DNS name associated with the primary instance in a replication topology.

This is needed to insert a DNS entry in a replica VM.

Returns
Type Description
DNSEntry|null

hasPrimaryDnsRecord

clearPrimaryDnsRecord

setPrimaryDnsRecord

DNS name associated with the primary instance in a replication topology.

This is needed to insert a DNS entry in a replica VM.

Parameter
Name Description
var DNSEntry
Returns
Type Description
$this

getCustomerManagedCertificates

Required. The server CA certificate, client key and client certificate. You can specify up to 3 certificates in a bundle.

Returns
Type Description
Google\Protobuf\RepeatedField<CustomerManagedCertificate>

setCustomerManagedCertificates

Required. The server CA certificate, client key and client certificate. You can specify up to 3 certificates in a bundle.

Parameter
Name Description
var array<CustomerManagedCertificate>
Returns
Type Description
$this