LogMetric constructor

LogMetric({
  1. required String name,
  2. String description = '',
  3. required String filter,
  4. String bucketName = '',
  5. bool disabled = false,
  6. MetricDescriptor? metricDescriptor,
  7. String valueExtractor = '',
  8. Map<String, String> labelExtractors = const {},
  9. Distribution_BucketOptions? bucketOptions,
  10. Timestamp? createTime,
  11. Timestamp? updateTime,
  12. LogMetric_ApiVersion version = LogMetric_ApiVersion.$default,
})

Implementation

LogMetric({
  required this.name,
  this.description = '',
  required this.filter,
  this.bucketName = '',
  this.disabled = false,
  this.metricDescriptor,
  this.valueExtractor = '',
  this.labelExtractors = const {},
  this.bucketOptions,
  this.createTime,
  this.updateTime,
  this.version = LogMetric_ApiVersion.$default,
}) : super(fullyQualifiedName);