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;
}