Class: Google::Apis::OracledatabaseV1::EncryptionKey
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::EncryptionKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
The encryption key used to encrypt the Autonomous Database.
Instance Attribute Summary collapse
-
#kms_key ⇒ String
Optional.
-
#provider ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionKey
constructor
A new instance of EncryptionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionKey
Returns a new instance of EncryptionKey.
3026 3027 3028 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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: projects/project/locations/location/keyRings/
key_ring/cryptoKeys/crypto_key`.
Corresponds to the JSON propertykmsKey`
3019 3020 3021 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3019 def kms_key @kms_key end |
#provider ⇒ String
Optional. The provider of the encryption key.
Corresponds to the JSON property provider
3024 3025 3026 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3024 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3031 3032 3033 3034 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3031 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @provider = args[:provider] if args.key?(:provider) end |