Class: Google::Apis::DatamigrationV1::PrimaryInstanceSettings
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::PrimaryInstanceSettings
 
- 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
Settings for the cluster's primary instance
Instance Attribute Summary collapse
- 
  
    
      #database_flags  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Labels for the AlloyDB primary instance created by DMS. 
- 
  
    
      #machine_config  ⇒ Google::Apis::DatamigrationV1::MachineConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    MachineConfig describes the configuration of a machine. 
- 
  
    
      #private_ip  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PrimaryInstanceSettings 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PrimaryInstanceSettings. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ PrimaryInstanceSettings
Returns a new instance of PrimaryInstanceSettings.
| 3600 3601 3602 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3600 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#database_flags ⇒ Hash<String,String>
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and
instances. See the AlloyDB documentation for how these can be used.
Corresponds to the JSON property databaseFlags
| 3575 3576 3577 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3575 def database_flags @database_flags end | 
#id ⇒ String
Required. The ID of the AlloyDB primary instance. The ID must satisfy the
regex expression "[a-z0-9-]+".
Corresponds to the JSON property id
| 3581 3582 3583 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3581 def id @id end | 
#labels ⇒ Hash<String,String>
Labels for the AlloyDB primary instance created by DMS. An object containing a
list of 'key', 'value' pairs.
Corresponds to the JSON property labels
| 3587 3588 3589 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3587 def labels @labels end | 
#machine_config ⇒ Google::Apis::DatamigrationV1::MachineConfig
MachineConfig describes the configuration of a machine.
Corresponds to the JSON property machineConfig
| 3592 3593 3594 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3592 def machine_config @machine_config end | 
#private_ip ⇒ String
Output only. The private IP address for the Instance. This is the connection
endpoint for an end-user application.
Corresponds to the JSON property privateIp
| 3598 3599 3600 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3598 def private_ip @private_ip end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3605 3606 3607 3608 3609 3610 3611 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3605 def update!(**args) @database_flags = args[:database_flags] if args.key?(:database_flags) @id = args[:id] if args.key?(:id) @labels = args[:labels] if args.key?(:labels) @machine_config = args[:machine_config] if args.key?(:machine_config) @private_ip = args[:private_ip] if args.key?(:private_ip) end |