Class: Google::Apis::MigrationcenterV1::PostgreSqlDatabaseDeployment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Specific details for a PostgreSQL database deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgreSqlDatabaseDeployment

Returns a new instance of PostgreSqlDatabaseDeployment.



4261
4262
4263
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4261

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#propertiesArray<Google::Apis::MigrationcenterV1::PostgreSqlProperty>

Optional. List of PostgreSql properties. Corresponds to the JSON property properties



4254
4255
4256
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4254

def properties
  @properties
end

#settingsArray<Google::Apis::MigrationcenterV1::PostgreSqlSetting>

Optional. List of PostgreSql settings. Corresponds to the JSON property settings



4259
4260
4261
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4259

def settings
  @settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4266
4267
4268
4269
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4266

def update!(**args)
  @properties = args[:properties] if args.key?(:properties)
  @settings = args[:settings] if args.key?(:settings)
end