Class: Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Cloud SQL for MySQL database shape.
Instance Attribute Summary collapse
-
#backup_storage_gb ⇒ Fixnum
Output only.
-
#edition ⇒ String
Output only.
-
#egress_gb_per_month ⇒ Fixnum
Output only.
-
#logical_core_count ⇒ Fixnum
Output only.
-
#memory_mb ⇒ Fixnum
Output only.
-
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
-
#version ⇒ String
Output only.
-
#zone_availability ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlForMySqlShape
constructor
A new instance of CloudSqlForMySqlShape.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlForMySqlShape
Returns a new instance of CloudSqlForMySqlShape.
1162 1163 1164 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_storage_gb ⇒ Fixnum
Output only. Predicted backup storage size in GiB.
Corresponds to the JSON property backupStorageGb
1125 1126 1127 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1125 def backup_storage_gb @backup_storage_gb end |
#edition ⇒ String
Output only. Cloud SQL edition.
Corresponds to the JSON property edition
1130 1131 1132 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1130 def edition @edition end |
#egress_gb_per_month ⇒ Fixnum
Output only. Predicted Network Out traffic GiB per month.
Corresponds to the JSON property egressGbPerMonth
1135 1136 1137 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1135 def egress_gb_per_month @egress_gb_per_month end |
#logical_core_count ⇒ Fixnum
Output only. Number of logical cores.
Corresponds to the JSON property logicalCoreCount
1140 1141 1142 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1140 def logical_core_count @logical_core_count end |
#memory_mb ⇒ Fixnum
Output only. Predicted amount of memory in MiB.
Corresponds to the JSON property memoryMb
1145 1146 1147 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1145 def memory_mb @memory_mb end |
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
Corresponds to the JSON property storage
1150 1151 1152 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1150 def storage @storage end |
#version ⇒ String
Output only. MySQL version to be used on the Cloud SQL for MySQL instance.
Corresponds to the JSON property version
1155 1156 1157 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1155 def version @version end |
#zone_availability ⇒ String
Output only. Cloud SQL zone availability.
Corresponds to the JSON property zoneAvailability
1160 1161 1162 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1160 def zone_availability @zone_availability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1167 def update!(**args) @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb) @edition = args[:edition] if args.key?(:edition) @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month) @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @storage = args[:storage] if args.key?(:storage) @version = args[:version] if args.key?(:version) @zone_availability = args[:zone_availability] if args.key?(:zone_availability) end |