BasicServiceResponse constructor

const BasicServiceResponse({
  1. required Input<Map<String, String>> serviceLabels,
  2. required Input<String> serviceType,
})

Creates a new BasicServiceResponse. serviceLabels Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). serviceType The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).

Implementation

const BasicServiceResponse({
  required this.serviceLabels,
  required this.serviceType,
});