Class: Google::Apis::DatastreamV1::OracleProfile

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

Overview

Oracle database profile. Next ID: 10.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleProfile

Returns a new instance of OracleProfile.



1843
1844
1845
# File 'lib/google/apis/datastream_v1/classes.rb', line 1843

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>)


1799
1800
1801
# File 'lib/google/apis/datastream_v1/classes.rb', line 1799

def connection_attributes
  @connection_attributes
end

#database_serviceString

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

Returns:

  • (String)


1804
1805
1806
# File 'lib/google/apis/datastream_v1/classes.rb', line 1804

def database_service
  @database_service
end

#hostnameString

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

Returns:

  • (String)


1809
1810
1811
# File 'lib/google/apis/datastream_v1/classes.rb', line 1809

def hostname
  @hostname
end

#oracle_asm_configGoogle::Apis::DatastreamV1::OracleAsmConfig

Configuration for Oracle Automatic Storage Management (ASM) connection. Corresponds to the JSON property oracleAsmConfig



1814
1815
1816
# File 'lib/google/apis/datastream_v1/classes.rb', line 1814

def oracle_asm_config
  @oracle_asm_config
end

#oracle_ssl_configGoogle::Apis::DatastreamV1::OracleSslConfig

Oracle SSL configuration information. Corresponds to the JSON property oracleSslConfig



1819
1820
1821
# File 'lib/google/apis/datastream_v1/classes.rb', line 1819

def oracle_ssl_config
  @oracle_ssl_config
end

#passwordString

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field. Corresponds to the JSON property password

Returns:

  • (String)


1825
1826
1827
# File 'lib/google/apis/datastream_v1/classes.rb', line 1825

def password
  @password
end

#portFixnum

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

Returns:

  • (Fixnum)


1830
1831
1832
# File 'lib/google/apis/datastream_v1/classes.rb', line 1830

def port
  @port
end

#secret_manager_stored_passwordString

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field. Corresponds to the JSON property secretManagerStoredPassword

Returns:

  • (String)


1836
1837
1838
# File 'lib/google/apis/datastream_v1/classes.rb', line 1836

def secret_manager_stored_password
  @secret_manager_stored_password
end

#usernameString

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

Returns:

  • (String)


1841
1842
1843
# File 'lib/google/apis/datastream_v1/classes.rb', line 1841

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/google/apis/datastream_v1/classes.rb', line 1848

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)
  @oracle_asm_config = args[:oracle_asm_config] if args.key?(:oracle_asm_config)
  @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
  @password = args[:password] if args.key?(:password)
  @port = args[:port] if args.key?(:port)
  @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
  @username = args[:username] if args.key?(:username)
end