Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class EncryptionOptions.
Generated from protobuf message google.cloud.sql.v1.ImportContext.SqlBakImportOptions.EncryptionOptions
Namespace
Google \ Cloud \ Sql \ V1 \ ImportContext \ SqlBakImportOptionsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cert_path |
string
Path to the Certificate (.cer) in Cloud Storage, in the form |
↳ pvk_path |
string
Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form |
↳ 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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPvkPassword
Password that encrypts the private key
| Returns | |
|---|---|
| Type | Description |
string |
|
setPvkPassword
Password that encrypts the private key
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|