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.



236
237
238
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 236

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



207
208
209
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 207

def connection_profile
  @connection_profile
end

#connection_profile_nameString

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

Returns:

  • (String)


212
213
214
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 212

def connection_profile_name
  @connection_profile_name
end

#mysql_rdbmsGoogle::Apis::DatastreamV1alpha1::MysqlRdbms

MySQL database structure Corresponds to the JSON property mysqlRdbms



217
218
219
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 217

def mysql_rdbms
  @mysql_rdbms
end

#oracle_rdbmsGoogle::Apis::DatastreamV1alpha1::OracleRdbms

Oracle database structure. Corresponds to the JSON property oracleRdbms



222
223
224
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 222

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)


227
228
229
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 227

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)


233
234
235
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 233

def recursive
  @recursive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



241
242
243
244
245
246
247
248
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 241

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