Class: Google::Apis::SqladminV1::ImportContext::TdeImportOptions

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

Overview

Optional. Import parameters specific to SQL Server TDE certificates

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TdeImportOptions

Returns a new instance of TdeImportOptions.



2906
2907
2908
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2906

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

Instance Attribute Details

#certificate_pathString

Required. Path to the TDE certificate public key in the form gs://bucketName/ fileName. The instance must have read access to the file. Applicable only for SQL Server instances. Corresponds to the JSON property certificatePath

Returns:

  • (String)


2887
2888
2889
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2887

def certificate_path
  @certificate_path
end

#nameString

Required. Certificate name. Applicable only for SQL Server instances. Corresponds to the JSON property name

Returns:

  • (String)


2892
2893
2894
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2892

def name
  @name
end

#private_key_passwordString

Required. Password that encrypts the private key. Corresponds to the JSON property privateKeyPassword

Returns:

  • (String)


2897
2898
2899
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2897

def private_key_password
  @private_key_password
end

#private_key_pathString

Required. Path to the TDE certificate private key in the form gs://bucketName/ fileName. The instance must have read access to the file. Applicable only for SQL Server instances. Corresponds to the JSON property privateKeyPath

Returns:

  • (String)


2904
2905
2906
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2904

def private_key_path
  @private_key_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2911
2912
2913
2914
2915
2916
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2911

def update!(**args)
  @certificate_path = args[:certificate_path] if args.key?(:certificate_path)
  @name = args[:name] if args.key?(:name)
  @private_key_password = args[:private_key_password] if args.key?(:private_key_password)
  @private_key_path = args[:private_key_path] if args.key?(:private_key_path)
end