GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse.fromMap constructor

GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse(
    aggregationPeriod: pulumi.Input.fromValue(map['aggregationPeriod'] as String),
    alertThreshold: pulumi.Input.fromValue(map['alertThreshold'] as int),
    disableAlert: pulumi.Input.fromValue(map['disableAlert'] as bool),
    displayName: pulumi.Input.fromValue(map['displayName'] as String),
    durationThreshold: pulumi.Input.fromValue(map['durationThreshold'] as String),
    metricType: pulumi.Input.fromValue(map['metricType'] as String),
    onlyFinalAttempt: pulumi.Input.fromValue(map['onlyFinalAttempt'] as bool),
    thresholdType: pulumi.Input.fromValue(map['thresholdType'] as String),
    thresholdValue: pulumi.Input.fromValue(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponse.fromMap((map['thresholdValue']! as Map).cast<String, dynamic>())),
  );
}