Class: Google::Apis::DatamigrationV1::OracleAsmConfig

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

Overview

Configuration for Oracle Automatic Storage Management (ASM) connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleAsmConfig

Returns a new instance of OracleAsmConfig.



3390
3391
3392
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3390

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

Instance Attribute Details

#asm_serviceString

Required. ASM service name for the Oracle ASM connection. Corresponds to the JSON property asmService

Returns:

  • (String)


3357
3358
3359
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3357

def asm_service
  @asm_service
end

#hostnameString

Required. Hostname for the Oracle ASM connection. Corresponds to the JSON property hostname

Returns:

  • (String)


3362
3363
3364
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3362

def hostname
  @hostname
end

#passwordString

Required. Input only. Password for the Oracle ASM connection. Corresponds to the JSON property password

Returns:

  • (String)


3367
3368
3369
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3367

def password
  @password
end

#password_setBoolean Also known as: password_set?

Output only. Indicates whether a new password is included in the request. Corresponds to the JSON property passwordSet

Returns:

  • (Boolean)


3372
3373
3374
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3372

def password_set
  @password_set
end

#portFixnum

Required. Port for the Oracle ASM connection. Corresponds to the JSON property port

Returns:

  • (Fixnum)


3378
3379
3380
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3378

def port
  @port
end

#sslGoogle::Apis::DatamigrationV1::SslConfig

SSL configuration information. Corresponds to the JSON property ssl



3383
3384
3385
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3383

def ssl
  @ssl
end

#usernameString

Required. Username for the Oracle ASM connection. Corresponds to the JSON property username

Returns:

  • (String)


3388
3389
3390
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3388

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3395
3396
3397
3398
3399
3400
3401
3402
3403
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3395

def update!(**args)
  @asm_service = args[:asm_service] if args.key?(:asm_service)
  @hostname = args[:hostname] if args.key?(:hostname)
  @password = args[:password] if args.key?(:password)
  @password_set = args[:password_set] if args.key?(:password_set)
  @port = args[:port] if args.key?(:port)
  @ssl = args[:ssl] if args.key?(:ssl)
  @username = args[:username] if args.key?(:username)
end