Class: Google::Apis::DatamigrationV1::SqlServerEncryptionOptions
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SqlServerEncryptionOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Encryption settings for the SQL Server database.
Instance Attribute Summary collapse
-
#cert_path ⇒ String
Required.
-
#pvk_password ⇒ String
Required.
-
#pvk_path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerEncryptionOptions
constructor
A new instance of SqlServerEncryptionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerEncryptionOptions
Returns a new instance of SqlServerEncryptionOptions.
4780 4781 4782 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4780 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert_path ⇒ String
Required. Path to certificate.
Corresponds to the JSON property certPath
4768 4769 4770 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4768 def cert_path @cert_path end |
#pvk_password ⇒ String
Required. Input only. Private key password.
Corresponds to the JSON property pvkPassword
4773 4774 4775 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4773 def pvk_password @pvk_password end |
#pvk_path ⇒ String
Required. Path to certificate private key.
Corresponds to the JSON property pvkPath
4778 4779 4780 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4778 def pvk_path @pvk_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4785 4786 4787 4788 4789 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4785 def update!(**args) @cert_path = args[:cert_path] if args.key?(:cert_path) @pvk_password = args[:pvk_password] if args.key?(:pvk_password) @pvk_path = args[:pvk_path] if args.key?(:pvk_path) end |