Class: Google::Apis::DatamigrationV1::SqlServerEncryptionOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerEncryptionOptions

Returns a new instance of SqlServerEncryptionOptions.



5045
5046
5047
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5045

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cert_pathString

Required. Path to certificate. Corresponds to the JSON property certPath

Returns:

  • (String)


5033
5034
5035
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5033

def cert_path
  @cert_path
end

#pvk_passwordString

Required. Input only. Private key password. Corresponds to the JSON property pvkPassword

Returns:

  • (String)


5038
5039
5040
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5038

def pvk_password
  @pvk_password
end

#pvk_pathString

Required. Path to certificate private key. Corresponds to the JSON property pvkPath

Returns:

  • (String)


5043
5044
5045
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5043

def pvk_path
  @pvk_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5050
5051
5052
5053
5054
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5050

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