CloudSqlSettings constructor
CloudSqlSettings({
- CloudSqlSettings_SqlDatabaseVersion? databaseVersion,
- Map<
String, String> ? userLabels, - String? tier,
- Int64Value? storageAutoResizeLimit,
- CloudSqlSettings_SqlActivationPolicy? activationPolicy,
- SqlIpConfig? ipConfig,
- BoolValue? autoStorageIncrease,
- Map<
String, String> ? databaseFlags, - CloudSqlSettings_SqlDataDiskType? dataDiskType,
- Int64Value? dataDiskSizeGb,
- String? zone,
- String? sourceId,
- bool? rootPasswordSet,
- String? collation,
- String? cmekKeyName,
- CloudSqlSettings_SqlAvailabilityType? availabilityType,
- String? secondaryZone,
Implementation
factory CloudSqlSettings({
CloudSqlSettings_SqlDatabaseVersion? databaseVersion,
$core.Map<$core.String, $core.String>? userLabels,
$core.String? tier,
$45.Int64Value? storageAutoResizeLimit,
CloudSqlSettings_SqlActivationPolicy? activationPolicy,
SqlIpConfig? ipConfig,
$45.BoolValue? autoStorageIncrease,
$core.Map<$core.String, $core.String>? databaseFlags,
CloudSqlSettings_SqlDataDiskType? dataDiskType,
$45.Int64Value? dataDiskSizeGb,
$core.String? zone,
$core.String? sourceId,
$core.bool? rootPasswordSet,
$core.String? collation,
$core.String? cmekKeyName,
CloudSqlSettings_SqlAvailabilityType? availabilityType,
$core.String? secondaryZone,
}) {
final $result = create();
if (databaseVersion != null) {
$result.databaseVersion = databaseVersion;
}
if (userLabels != null) {
$result.userLabels.addAll(userLabels);
}
if (tier != null) {
$result.tier = tier;
}
if (storageAutoResizeLimit != null) {
$result.storageAutoResizeLimit = storageAutoResizeLimit;
}
if (activationPolicy != null) {
$result.activationPolicy = activationPolicy;
}
if (ipConfig != null) {
$result.ipConfig = ipConfig;
}
if (autoStorageIncrease != null) {
$result.autoStorageIncrease = autoStorageIncrease;
}
if (databaseFlags != null) {
$result.databaseFlags.addAll(databaseFlags);
}
if (dataDiskType != null) {
$result.dataDiskType = dataDiskType;
}
if (dataDiskSizeGb != null) {
$result.dataDiskSizeGb = dataDiskSizeGb;
}
if (zone != null) {
$result.zone = zone;
}
if (sourceId != null) {
$result.sourceId = sourceId;
}
if (rootPasswordSet != null) {
$result.rootPasswordSet = rootPasswordSet;
}
if (collation != null) {
$result.collation = collation;
}
if (cmekKeyName != null) {
$result.cmekKeyName = cmekKeyName;
}
if (availabilityType != null) {
$result.availabilityType = availabilityType;
}
if (secondaryZone != null) {
$result.secondaryZone = secondaryZone;
}
return $result;
}