MonitoredResourceMetadata constructor

MonitoredResourceMetadata({
  1. Struct? systemLabels,
  2. Map<String, String>? userLabels,
})

Implementation

factory MonitoredResourceMetadata({
  $1.Struct? systemLabels,
  $core.Map<$core.String, $core.String>? userLabels,
}) {
  final _result = create();
  if (systemLabels != null) {
    _result.systemLabels = systemLabels;
  }
  if (userLabels != null) {
    _result.userLabels.addAll(userLabels);
  }
  return _result;
}