Class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EncryptionOptions

Returns a new instance of EncryptionOptions



1246
1247
1248
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1246

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

Instance Attribute Details

#cert_pathString

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

Returns:

  • (String)


1232
1233
1234
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1232

def cert_path
  @cert_path
end

#pvk_passwordString

Password that encrypts the private key Corresponds to the JSON property pvkPassword

Returns:

  • (String)


1237
1238
1239
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1237

def pvk_password
  @pvk_password
end

#pvk_pathString

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

Returns:

  • (String)


1244
1245
1246
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1244

def pvk_path
  @pvk_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1251
1252
1253
1254
1255
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1251

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