ServiceConfig constructor
Implementation
factory ServiceConfig({
$core.String? name,
$core.String? namespace,
$core.String? type,
$43.Struct? attributes,
$core.Iterable<$core.String>? dependsOn,
$core.String? model,
$core.String? api,
$core.Iterable<ResourceLevelServiceConfig>? serviceConfigs,
LogConfiguration? logConfiguration,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (namespace != null) {
$result.namespace = namespace;
}
if (type != null) {
$result.type = type;
}
if (attributes != null) {
$result.attributes = attributes;
}
if (dependsOn != null) {
$result.dependsOn.addAll(dependsOn);
}
if (model != null) {
$result.model = model;
}
if (api != null) {
$result.api = api;
}
if (serviceConfigs != null) {
$result.serviceConfigs.addAll(serviceConfigs);
}
if (logConfiguration != null) {
$result.logConfiguration = logConfiguration;
}
return $result;
}