Class: Google::Apis::DatastreamV1alpha1::DiscoverConnectionProfileRequest

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

Request message for 'discover' ConnectionProfile request.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_profileGoogle::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_nameString

A reference to an existing ConnectionProfile. Corresponds to the JSON property connectionProfileName

Returns:

  • (String)


255
256
257
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 255

def connection_profile_name
  @connection_profile_name
end

#mysql_rdbmsGoogle::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_rdbmsGoogle::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_depthFixnum

The number of hierarchy levels below the current level to be retrieved. Corresponds to the JSON property recursionDepth

Returns:

  • (Fixnum)


270
271
272
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 270

def recursion_depth
  @recursion_depth
end

#recursiveBoolean 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

Returns:

  • (Boolean)


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