Class: Google::Apis::DatamigrationV1::AlloyDbConnectionProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::AlloyDbConnectionProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
Required.
-
#settings ⇒ Google::Apis::DatamigrationV1::AlloyDbSettings
Settings for creating an AlloyDB cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlloyDbConnectionProfile
constructor
A new instance of AlloyDbConnectionProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlloyDbConnectionProfile
Returns a new instance of AlloyDbConnectionProfile.
41 42 43 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_id ⇒ String
Required. The AlloyDB cluster ID that this connection profile is associated
with.
Corresponds to the JSON property clusterId
34 35 36 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 34 def cluster_id @cluster_id end |
#settings ⇒ Google::Apis::DatamigrationV1::AlloyDbSettings
Settings for creating an AlloyDB cluster.
Corresponds to the JSON property settings
39 40 41 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 39 def settings @settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 46 def update!(**args) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @settings = args[:settings] if args.key?(:settings) end |