AttributeContext_Resource constructor

AttributeContext_Resource({
  1. String? service,
  2. String? name,
  3. String? type,
  4. Map<String, String>? labels,
})

Implementation

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