Class: Google::Apis::SqlV1beta4::ImportContext::BakImportOptions::EncryptionOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqlV1beta4::ImportContext::BakImportOptions::EncryptionOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sql_v1beta4/classes.rb,
generated/google/apis/sql_v1beta4/representations.rb,
generated/google/apis/sql_v1beta4/representations.rb
Instance Attribute Summary collapse
-
#cert_path ⇒ String
Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName
. -
#pvk_password ⇒ String
Password that encrypts the private key Corresponds to the JSON property
pvkPassword
. -
#pvk_path ⇒ String
Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form
gs://bucketName/fileName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionOptions
constructor
A new instance of EncryptionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EncryptionOptions
Returns a new instance of EncryptionOptions.
1305 1306 1307 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert_path ⇒ String
Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/fileName
. The instance must have
write permissions to the bucket and read access to the file.
Corresponds to the JSON property certPath
1291 1292 1293 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1291 def cert_path @cert_path end |
#pvk_password ⇒ String
Password that encrypts the private key
Corresponds to the JSON property pvkPassword
1296 1297 1298 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1296 def pvk_password @pvk_password end |
#pvk_path ⇒ String
Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
form gs://bucketName/fileName
. The instance must have
write permissions to the bucket and read access to the file.
Corresponds to the JSON property pvkPath
1303 1304 1305 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1303 def pvk_path @pvk_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1310 1311 1312 1313 1314 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1310 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 |