CloudSqlSettings constructor

CloudSqlSettings({
  1. CloudSqlSettings_SqlDatabaseVersion? databaseVersion,
  2. Map<String, String>? userLabels,
  3. String? tier,
  4. Int64Value? storageAutoResizeLimit,
  5. CloudSqlSettings_SqlActivationPolicy? activationPolicy,
  6. SqlIpConfig? ipConfig,
  7. BoolValue? autoStorageIncrease,
  8. Map<String, String>? databaseFlags,
  9. CloudSqlSettings_SqlDataDiskType? dataDiskType,
  10. Int64Value? dataDiskSizeGb,
  11. String? zone,
  12. String? sourceId,
  13. bool? rootPasswordSet,
  14. String? collation,
  15. String? cmekKeyName,
  16. CloudSqlSettings_SqlAvailabilityType? availabilityType,
  17. 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;
}