Google Cloud Sql Admin V1beta4 Client - Class EncryptionOptions (0.10.0)

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

Generated from protobuf message google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions

Namespace

Google \ Cloud \ Sql \ V1beta4 \ ImportContext \ SqlBakImportOptions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cert_path string

Path to the Certificate (.cer) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

↳ pvk_path string

Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

↳ pvk_password string

Password that encrypts the private key

getCertPath

Path to the Certificate (.cer) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

Returns
TypeDescription
string

setCertPath

Path to the Certificate (.cer) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPvkPath

Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

Returns
TypeDescription
string

setPvkPath

Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form gs://bucketName/fileName. The instance must have write permissions to the bucket and read access to the file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPvkPassword

Password that encrypts the private key

Returns
TypeDescription
string

setPvkPassword

Password that encrypts the private key

Parameter
NameDescription
var string
Returns
TypeDescription
$this