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.
3259 3260 3261 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3259 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`
3252 3253 3254 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3252 def kms_key @kms_key end |
#provider ⇒ String
Optional. The provider of the encryption key.
Corresponds to the JSON property provider
3257 3258 3259 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3257 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3264 3265 3266 3267 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3264 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @provider = args[:provider] if args.key?(:provider) end |