Class: Google::Apis::MigrationcenterV1::DatabaseDeploymentDetails

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

The details of a database deployment asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabaseDeploymentDetails

Returns a new instance of DatabaseDeploymentDetails.



1165
1166
1167
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1165

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

Instance Attribute Details

#aggregated_statsGoogle::Apis::MigrationcenterV1::DatabaseDeploymentDetailsAggregatedStats

Aggregated stats for the database deployment. Corresponds to the JSON property aggregatedStats



1123
1124
1125
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1123

def aggregated_stats
  @aggregated_stats
end

#editionString

Optional. The database deployment edition. Corresponds to the JSON property edition

Returns:

  • (String)


1128
1129
1130
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1128

def edition
  @edition
end

#generated_idString

Optional. The database deployment generated ID. Corresponds to the JSON property generatedId

Returns:

  • (String)


1133
1134
1135
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1133

def generated_id
  @generated_id
end

#manual_unique_idString

Optional. A manual unique ID set by the user. Corresponds to the JSON property manualUniqueId

Returns:

  • (String)


1138
1139
1140
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1138

def manual_unique_id
  @manual_unique_id
end

#mysqlGoogle::Apis::MigrationcenterV1::MysqlDatabaseDeployment

Specific details for a Mysql database deployment. Corresponds to the JSON property mysql



1143
1144
1145
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1143

def mysql
  @mysql
end

#postgresqlGoogle::Apis::MigrationcenterV1::PostgreSqlDatabaseDeployment

Specific details for a PostgreSQL database deployment. Corresponds to the JSON property postgresql



1148
1149
1150
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1148

def postgresql
  @postgresql
end

#sql_serverGoogle::Apis::MigrationcenterV1::SqlServerDatabaseDeployment

Specific details for a Microsoft SQL Server database deployment. Corresponds to the JSON property sqlServer



1153
1154
1155
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1153

def sql_server
  @sql_server
end

#topologyGoogle::Apis::MigrationcenterV1::DatabaseDeploymentTopology

Details of database deployment's topology. Corresponds to the JSON property topology



1158
1159
1160
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1158

def topology
  @topology
end

#versionString

Optional. The database deployment version. Corresponds to the JSON property version

Returns:

  • (String)


1163
1164
1165
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1163

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1170

def update!(**args)
  @aggregated_stats = args[:aggregated_stats] if args.key?(:aggregated_stats)
  @edition = args[:edition] if args.key?(:edition)
  @generated_id = args[:generated_id] if args.key?(:generated_id)
  @manual_unique_id = args[:manual_unique_id] if args.key?(:manual_unique_id)
  @mysql = args[:mysql] if args.key?(:mysql)
  @postgresql = args[:postgresql] if args.key?(:postgresql)
  @sql_server = args[:sql_server] if args.key?(:sql_server)
  @topology = args[:topology] if args.key?(:topology)
  @version = args[:version] if args.key?(:version)
end