Class: Google::Apis::DatamigrationV1::AlloyDbSettings
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::AlloyDbSettings
 
- 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 creating an AlloyDB cluster.
Instance Attribute Summary collapse
- 
  
    
      #encryption_config  ⇒ Google::Apis::DatamigrationV1::EncryptionConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). 
- 
  
    
      #initial_user  ⇒ Google::Apis::DatamigrationV1::UserPassword 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The username/password for a database user. 
- 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Labels for the AlloyDB cluster created by DMS. 
- 
  
    
      #primary_instance_settings  ⇒ Google::Apis::DatamigrationV1::PrimaryInstanceSettings 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Settings for the cluster's primary instance Corresponds to the JSON property primaryInstanceSettings.
- 
  
    
      #vpc_network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AlloyDbSettings 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AlloyDbSettings. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ AlloyDbSettings
Returns a new instance of AlloyDbSettings.
| 88 89 90 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 88 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#encryption_config ⇒ Google::Apis::DatamigrationV1::EncryptionConfig
EncryptionConfig describes the encryption config of a cluster that is
encrypted with a CMEK (customer-managed encryption key).
Corresponds to the JSON property encryptionConfig
| 60 61 62 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 60 def encryption_config @encryption_config end | 
#initial_user ⇒ Google::Apis::DatamigrationV1::UserPassword
The username/password for a database user. Used for specifying initial users
at cluster creation time.
Corresponds to the JSON property initialUser
| 66 67 68 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 66 def initial_user @initial_user end | 
#labels ⇒ Hash<String,String>
Labels for the AlloyDB cluster created by DMS. An object containing a list of '
key', 'value' pairs.
Corresponds to the JSON property labels
| 72 73 74 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 72 def labels @labels end | 
#primary_instance_settings ⇒ Google::Apis::DatamigrationV1::PrimaryInstanceSettings
Settings for the cluster's primary instance
Corresponds to the JSON property primaryInstanceSettings
| 77 78 79 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 77 def primary_instance_settings @primary_instance_settings end | 
#vpc_network ⇒ String
Required. The resource link for the VPC network in which cluster resources are
created and from which they are accessible via Private IP. The network must
belong to the same project as the cluster. It is specified in the form: "
projects/project_number/global/networks/network_id". This is required to
create a cluster.
Corresponds to the JSON property vpcNetwork
| 86 87 88 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 86 def vpc_network @vpc_network end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 93 94 95 96 97 98 99 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 93 def update!(**args) @encryption_config = args[:encryption_config] if args.key?(:encryption_config) @initial_user = args[:initial_user] if args.key?(:initial_user) @labels = args[:labels] if args.key?(:labels) @primary_instance_settings = args[:primary_instance_settings] if args.key?(:primary_instance_settings) @vpc_network = args[:vpc_network] if args.key?(:vpc_network) end |