MonitoredResource constructor

MonitoredResource({
  1. String? type,
  2. Map<String, String>? labels,
})

Implementation

factory MonitoredResource({
  $core.String? type,
  $core.Map<$core.String, $core.String>? labels,
}) {
  final _result = create();
  if (type != null) {
    _result.type = type;
  }
  if (labels != null) {
    _result.labels.addAll(labels);
  }
  return _result;
}