LogMetric constructor
LogMetric({
- required String name,
- String description = '',
- required String filter,
- String bucketName = '',
- bool disabled = false,
- MetricDescriptor? metricDescriptor,
- String valueExtractor = '',
- Map<
String, String> labelExtractors = const {}, - Distribution_BucketOptions? bucketOptions,
- Timestamp? createTime,
- Timestamp? updateTime,
- 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);