Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class EncryptionKey.
The encryption key used to encrypt the Autonomous Database.
Generated from protobuf message google.cloud.oracledatabase.v1.EncryptionKey
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ provider |
int
Optional. The provider of the encryption key. |
↳ kms_key |
string
Optional. The KMS key used to encrypt the Autonomous Database. This field is required if the provider is GOOGLE_MANAGED. The name of the KMS key resource in the following format: |
getProvider
Optional. The provider of the encryption key.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Provider. |
setProvider
Optional. The provider of the encryption key.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Provider. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKmsKey
Optional. The KMS key used to encrypt the Autonomous Database.
This field is required if the provider is GOOGLE_MANAGED.
The name of the KMS key resource in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKmsKey
Optional. The KMS key used to encrypt the Autonomous Database.
This field is required if the provider is GOOGLE_MANAGED.
The name of the KMS key resource in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|