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

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

Request message for SqlSslCertsService.UpdateCustomerManagedCertificate.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Required. Cloud SQL instance ID. This does not include the project ID.

↳ project string

Required. Project ID of the project that contains the instance.

↳ customer_managed_certificate_config CustomerManagedCertificateConfig

Required. The customer managed certificate bundle SSL configuration to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to be updated.

↳ allow_missing bool

Optional. If set to true, and the customer managed certificate bundle configuration is not found, a new customer managed certificate bundle configuration will be created. In this situation, update_mask is ignored.

↳ certificate_bundle string

Required. Name tag of the customer managed certificate bundle to update. It must start with a letter, be alphanumeric, and have a maximum length of 10 characters.

getInstance

Required. Cloud SQL instance ID. This does not include the project ID.

Returns
Type Description
string

setInstance

Required. Cloud SQL instance ID. This does not include the project ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Required. Project ID of the project that contains the instance.

Returns
Type Description
string

setProject

Required. Project ID of the project that contains the instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomerManagedCertificateConfig

Required. The customer managed certificate bundle SSL configuration to update.

Returns
Type Description
CustomerManagedCertificateConfig|null

hasCustomerManagedCertificateConfig

clearCustomerManagedCertificateConfig

setCustomerManagedCertificateConfig

Required. The customer managed certificate bundle SSL configuration to update.

Parameter
Name Description
var CustomerManagedCertificateConfig
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to be updated.

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

getAllowMissing

Optional. If set to true, and the customer managed certificate bundle configuration is not found, a new customer managed certificate bundle configuration will be created. In this situation, update_mask is ignored.

Returns
Type Description
bool

setAllowMissing

Optional. If set to true, and the customer managed certificate bundle configuration is not found, a new customer managed certificate bundle configuration will be created. In this situation, update_mask is ignored.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCertificateBundle

Required. Name tag of the customer managed certificate bundle to update. It must start with a letter, be alphanumeric, and have a maximum length of 10 characters.

Returns
Type Description
string

setCertificateBundle

Required. Name tag of the customer managed certificate bundle to update. It must start with a letter, be alphanumeric, and have a maximum length of 10 characters.

Parameter
Name Description
var string
Returns
Type Description
$this