Class: Google::Apis::DatastreamV1::ConnectionProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::ConnectionProfile
- 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
-
#bigquery_profile ⇒ Google::Apis::DatastreamV1::BigQueryProfile
BigQuery warehouse profile.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#forward_ssh_connectivity ⇒ Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
-
#gcs_profile ⇒ Google::Apis::DatastreamV1::GcsProfile
Cloud Storage bucket profile.
-
#labels ⇒ Hash<String,String>
Labels.
-
#mysql_profile ⇒ Google::Apis::DatastreamV1::MysqlProfile
MySQL database profile.
-
#name ⇒ String
Output only.
-
#oracle_profile ⇒ Google::Apis::DatastreamV1::OracleProfile
Oracle database profile.
-
#postgresql_profile ⇒ Google::Apis::DatastreamV1::PostgresqlProfile
PostgreSQL database profile.
-
#private_connectivity ⇒ Google::Apis::DatastreamV1::PrivateConnectivity
Private Connectivity Corresponds to the JSON property
privateConnectivity
. -
#sql_server_profile ⇒ Google::Apis::DatastreamV1::SqlServerProfile
SQLServer database profile.
-
#static_service_ip_connectivity ⇒ Google::Apis::DatastreamV1::StaticServiceIpConnectivity
Static IP address connectivity.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionProfile
constructor
A new instance of ConnectionProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionProfile
Returns a new instance of ConnectionProfile.
368 369 370 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_profile ⇒ Google::Apis::DatastreamV1::BigQueryProfile
BigQuery warehouse profile.
Corresponds to the JSON property bigqueryProfile
299 300 301 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 299 def bigquery_profile @bigquery_profile end |
#create_time ⇒ String
Output only. The create time of the resource.
Corresponds to the JSON property createTime
304 305 306 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 304 def create_time @create_time end |
#display_name ⇒ String
Required. Display name.
Corresponds to the JSON property displayName
309 310 311 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 309 def display_name @display_name end |
#forward_ssh_connectivity ⇒ Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
Corresponds to the JSON property forwardSshConnectivity
314 315 316 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 314 def forward_ssh_connectivity @forward_ssh_connectivity end |
#gcs_profile ⇒ Google::Apis::DatastreamV1::GcsProfile
Cloud Storage bucket profile.
Corresponds to the JSON property gcsProfile
319 320 321 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 319 def gcs_profile @gcs_profile end |
#labels ⇒ Hash<String,String>
Labels.
Corresponds to the JSON property labels
324 325 326 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 324 def labels @labels end |
#mysql_profile ⇒ Google::Apis::DatastreamV1::MysqlProfile
MySQL database profile. Next ID: 7.
Corresponds to the JSON property mysqlProfile
329 330 331 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 329 def mysql_profile @mysql_profile end |
#name ⇒ String
Output only. The resource's name.
Corresponds to the JSON property name
334 335 336 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 334 def name @name end |
#oracle_profile ⇒ Google::Apis::DatastreamV1::OracleProfile
Oracle database profile. Next ID: 10.
Corresponds to the JSON property oracleProfile
339 340 341 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 339 def oracle_profile @oracle_profile end |
#postgresql_profile ⇒ Google::Apis::DatastreamV1::PostgresqlProfile
PostgreSQL database profile.
Corresponds to the JSON property postgresqlProfile
344 345 346 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 344 def postgresql_profile @postgresql_profile end |
#private_connectivity ⇒ Google::Apis::DatastreamV1::PrivateConnectivity
Private Connectivity
Corresponds to the JSON property privateConnectivity
349 350 351 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 349 def private_connectivity @private_connectivity end |
#sql_server_profile ⇒ Google::Apis::DatastreamV1::SqlServerProfile
SQLServer database profile. Next ID: 8.
Corresponds to the JSON property sqlServerProfile
354 355 356 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 354 def sql_server_profile @sql_server_profile end |
#static_service_ip_connectivity ⇒ Google::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
361 362 363 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 361 def static_service_ip_connectivity @static_service_ip_connectivity end |
#update_time ⇒ String
Output only. The update time of the resource.
Corresponds to the JSON property updateTime
366 367 368 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 366 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 373 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 |