class Google::Apis::DatamigrationV1beta1::CloudSqlConnectionProfile
Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
Attributes
cloud_sql_id[RW]
Output only. The Cloud SQL instance ID that this connection profile is associated with. Corresponds to the JSON property `cloudSqlId` @return [String]
private_ip[RW]
Output only. The Cloud SQL database instance's private IP. Corresponds to the JSON property `privateIp` @return [String]
public_ip[RW]
Output only. The Cloud SQL database instance's public IP. Corresponds to the JSON property `publicIp` @return [String]
settings[RW]
Settings for creating a Cloud SQL database instance. Corresponds to the JSON property `settings` @return [Google::Apis::DatamigrationV1beta1::CloudSqlSettings]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 206 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datamigration_v1beta1/classes.rb, line 211 def update!(**args) @cloud_sql_id = args[:cloud_sql_id] if args.key?(:cloud_sql_id) @private_ip = args[:private_ip] if args.key?(:private_ip) @public_ip = args[:public_ip] if args.key?(:public_ip) @settings = args[:settings] if args.key?(:settings) end