GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue.fromMap constructor
GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue.fromMap()
Implementation
factory GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue.fromMap(Map<String, dynamic> map) {
return GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue(
absolute: (() { final guardedValue = map['absolute']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
percentage: (() { final guardedValue = map['percentage']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as int); })(),
);
}