Class: Google::Apis::DatastreamV1alpha1::DiscoverConnectionProfileRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::DiscoverConnectionProfileRequest
- 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
Request message for 'discover' ConnectionProfile request.
Instance Attribute Summary collapse
-
#connection_profile ⇒ Google::Apis::DatastreamV1alpha1::ConnectionProfile
An ad-hoc ConnectionProfile configuration.
-
#connection_profile_name ⇒ String
A reference to an existing ConnectionProfile.
-
#mysql_rdbms ⇒ Google::Apis::DatastreamV1alpha1::MysqlRdbms
MySQL database structure Corresponds to the JSON property
mysqlRdbms
. -
#oracle_rdbms ⇒ Google::Apis::DatastreamV1alpha1::OracleRdbms
Oracle database structure.
-
#recursion_depth ⇒ Fixnum
The number of hierarchy levels below the current level to be retrieved.
-
#recursive ⇒ Boolean
(also: #recursive?)
Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiscoverConnectionProfileRequest
constructor
A new instance of DiscoverConnectionProfileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiscoverConnectionProfileRequest
Returns a new instance of DiscoverConnectionProfileRequest.
279 280 281 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_profile ⇒ Google::Apis::DatastreamV1alpha1::ConnectionProfile
An ad-hoc ConnectionProfile configuration.
Corresponds to the JSON property connectionProfile
250 251 252 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 250 def connection_profile @connection_profile end |
#connection_profile_name ⇒ String
A reference to an existing ConnectionProfile.
Corresponds to the JSON property connectionProfileName
255 256 257 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 255 def connection_profile_name @connection_profile_name end |
#mysql_rdbms ⇒ Google::Apis::DatastreamV1alpha1::MysqlRdbms
MySQL database structure
Corresponds to the JSON property mysqlRdbms
260 261 262 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 260 def mysql_rdbms @mysql_rdbms end |
#oracle_rdbms ⇒ Google::Apis::DatastreamV1alpha1::OracleRdbms
Oracle database structure.
Corresponds to the JSON property oracleRdbms
265 266 267 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 265 def oracle_rdbms @oracle_rdbms end |
#recursion_depth ⇒ Fixnum
The number of hierarchy levels below the current level to be retrieved.
Corresponds to the JSON property recursionDepth
270 271 272 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 270 def recursion_depth @recursion_depth end |
#recursive ⇒ Boolean Also known as: recursive?
Whether to retrieve the full hierarchy of data objects (TRUE) or only the
current level (FALSE).
Corresponds to the JSON property recursive
276 277 278 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 276 def recursive @recursive end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
284 285 286 287 288 289 290 291 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 284 def update!(**args) @connection_profile = args[:connection_profile] if args.key?(:connection_profile) @connection_profile_name = args[:connection_profile_name] if args.key?(:connection_profile_name) @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms) @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms) @recursion_depth = args[:recursion_depth] if args.key?(:recursion_depth) @recursive = args[:recursive] if args.key?(:recursive) end |