class Google::Apis::DatastreamV1::OracleProfile

Oracle database profile.

Attributes

connection_attributes[RW]

Connection string attributes Corresponds to the JSON property ‘connectionAttributes` @return [Hash<String,String>]

database_service[RW]

Required. Database for the Oracle connection. Corresponds to the JSON property ‘databaseService` @return [String]

hostname[RW]

Required. Hostname for the Oracle connection. Corresponds to the JSON property ‘hostname` @return [String]

password[RW]

Required. Password for the Oracle connection. Corresponds to the JSON property ‘password` @return [String]

port[RW]

Port for the Oracle connection, default value is 1521. Corresponds to the JSON property ‘port` @return [Fixnum]

username[RW]

Required. Username for the Oracle connection. Corresponds to the JSON property ‘username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 1355
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastream_v1/classes.rb, line 1360
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