Class: Google::Apis::DatastreamV1::ConnectionProfile

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

A set of reusable connection configurations to be used as a source or destination for a stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionProfile

Returns a new instance of ConnectionProfile.



330
331
332
# File 'lib/google/apis/datastream_v1/classes.rb', line 330

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bigquery_profileGoogle::Apis::DatastreamV1::BigQueryProfile

BigQuery warehouse profile. Corresponds to the JSON property bigqueryProfile



261
262
263
# File 'lib/google/apis/datastream_v1/classes.rb', line 261

def bigquery_profile
  @bigquery_profile
end

#create_timeString

Output only. The create time of the resource. Corresponds to the JSON property createTime

Returns:

  • (String)


266
267
268
# File 'lib/google/apis/datastream_v1/classes.rb', line 266

def create_time
  @create_time
end

#display_nameString

Required. Display name. Corresponds to the JSON property displayName

Returns:

  • (String)


271
272
273
# File 'lib/google/apis/datastream_v1/classes.rb', line 271

def display_name
  @display_name
end

#forward_ssh_connectivityGoogle::Apis::DatastreamV1::ForwardSshTunnelConnectivity

Forward SSH Tunnel connectivity. Corresponds to the JSON property forwardSshConnectivity



276
277
278
# File 'lib/google/apis/datastream_v1/classes.rb', line 276

def forward_ssh_connectivity
  @forward_ssh_connectivity
end

#gcs_profileGoogle::Apis::DatastreamV1::GcsProfile

Cloud Storage bucket profile. Corresponds to the JSON property gcsProfile



281
282
283
# File 'lib/google/apis/datastream_v1/classes.rb', line 281

def gcs_profile
  @gcs_profile
end

#labelsHash<String,String>

Labels. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


286
287
288
# File 'lib/google/apis/datastream_v1/classes.rb', line 286

def labels
  @labels
end

#mysql_profileGoogle::Apis::DatastreamV1::MysqlProfile

MySQL database profile. Corresponds to the JSON property mysqlProfile



291
292
293
# File 'lib/google/apis/datastream_v1/classes.rb', line 291

def mysql_profile
  @mysql_profile
end

#nameString

Output only. The resource's name. Corresponds to the JSON property name

Returns:

  • (String)


296
297
298
# File 'lib/google/apis/datastream_v1/classes.rb', line 296

def name
  @name
end

#oracle_profileGoogle::Apis::DatastreamV1::OracleProfile

Oracle database profile. Corresponds to the JSON property oracleProfile



301
302
303
# File 'lib/google/apis/datastream_v1/classes.rb', line 301

def oracle_profile
  @oracle_profile
end

#postgresql_profileGoogle::Apis::DatastreamV1::PostgresqlProfile

PostgreSQL database profile. Corresponds to the JSON property postgresqlProfile



306
307
308
# File 'lib/google/apis/datastream_v1/classes.rb', line 306

def postgresql_profile
  @postgresql_profile
end

#private_connectivityGoogle::Apis::DatastreamV1::PrivateConnectivity

Private Connectivity Corresponds to the JSON property privateConnectivity



311
312
313
# File 'lib/google/apis/datastream_v1/classes.rb', line 311

def private_connectivity
  @private_connectivity
end

#sql_server_profileGoogle::Apis::DatastreamV1::SqlServerProfile

SQLServer database profile Corresponds to the JSON property sqlServerProfile



316
317
318
# File 'lib/google/apis/datastream_v1/classes.rb', line 316

def sql_server_profile
  @sql_server_profile
end

#static_service_ip_connectivityGoogle::Apis::DatastreamV1::StaticServiceIpConnectivity

Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. Corresponds to the JSON property staticServiceIpConnectivity



323
324
325
# File 'lib/google/apis/datastream_v1/classes.rb', line 323

def static_service_ip_connectivity
  @static_service_ip_connectivity
end

#update_timeString

Output only. The update time of the resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


328
329
330
# File 'lib/google/apis/datastream_v1/classes.rb', line 328

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'lib/google/apis/datastream_v1/classes.rb', line 335

def update!(**args)
  @bigquery_profile = args[:bigquery_profile] if args.key?(:bigquery_profile)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
  @gcs_profile = args[:gcs_profile] if args.key?(:gcs_profile)
  @labels = args[:labels] if args.key?(:labels)
  @mysql_profile = args[:mysql_profile] if args.key?(:mysql_profile)
  @name = args[:name] if args.key?(:name)
  @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile)
  @postgresql_profile = args[:postgresql_profile] if args.key?(:postgresql_profile)
  @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity)
  @sql_server_profile = args[:sql_server_profile] if args.key?(:sql_server_profile)
  @static_service_ip_connectivity = args[:static_service_ip_connectivity] if args.key?(:static_service_ip_connectivity)
  @update_time = args[:update_time] if args.key?(:update_time)
end