Class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Instance Attribute Summary collapse
-
#cert_path ⇒ String
Path to the Certificate (.cer) in Cloud Storage, in the form
gs://bucketName/ fileName. -
#keep_encrypted ⇒ Boolean
(also: #keep_encrypted?)
Optional.
-
#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.
Constructor Details
#initialize(**args) ⇒ EncryptionOptions
Returns a new instance of EncryptionOptions.
2750 2751 2752 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2750 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
2730 2731 2732 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2730 def cert_path @cert_path end |
#keep_encrypted ⇒ Boolean Also known as: keep_encrypted?
Optional. Whether the imported file remains encrypted.
Corresponds to the JSON property keepEncrypted
2735 2736 2737 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2735 def keep_encrypted @keep_encrypted end |
#pvk_password ⇒ String
Password that encrypts the private key
Corresponds to the JSON property pvkPassword
2741 2742 2743 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2741 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
2748 2749 2750 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2748 def pvk_path @pvk_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2755 2756 2757 2758 2759 2760 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2755 def update!(**args) @cert_path = args[:cert_path] if args.key?(:cert_path) @keep_encrypted = args[:keep_encrypted] if args.key?(:keep_encrypted) @pvk_password = args[:pvk_password] if args.key?(:pvk_password) @pvk_path = args[:pvk_path] if args.key?(:pvk_path) end |