Class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncryptionOptions

Returns a new instance of EncryptionOptions.



2144
2145
2146
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2144

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)


2130
2131
2132
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2130

def cert_path
  @cert_path
end

#pvk_passwordString

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

Returns:

  • (String)


2135
2136
2137
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2135

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)


2142
2143
2144
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2142

def pvk_path
  @pvk_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2149
2150
2151
2152
2153
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2149

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