Class: Google::Apis::DatastreamV1alpha1::OracleProfile

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

Overview

Oracle database profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleProfile

Returns a new instance of OracleProfile.



1400
1401
1402
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1400

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

Instance Attribute Details

#connection_attributesHash<String,String>

Connection string attributes Corresponds to the JSON property connectionAttributes

Returns:

  • (Hash<String,String>)


1373
1374
1375
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1373

def connection_attributes
  @connection_attributes
end

#database_serviceString

Required. Database for the Oracle connection. Corresponds to the JSON property databaseService

Returns:

  • (String)


1378
1379
1380
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1378

def database_service
  @database_service
end

#hostnameString

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

Returns:

  • (String)


1383
1384
1385
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1383

def hostname
  @hostname
end

#passwordString

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

Returns:

  • (String)


1388
1389
1390
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1388

def password
  @password
end

#portFixnum

Port for the Oracle connection, default value is 1521. Corresponds to the JSON property port

Returns:

  • (Fixnum)


1393
1394
1395
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1393

def port
  @port
end

#usernameString

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

Returns:

  • (String)


1398
1399
1400
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1398

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1405
1406
1407
1408
1409
1410
1411
1412
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1405

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