toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'aggregationPeriod': ?aggregationPeriod,
    'alertThreshold': ?alertThreshold,
    'disableAlert': ?disableAlert,
    'displayName': ?displayName,
    'durationThreshold': ?durationThreshold,
    'metricType': ?pulumi.Input.mapOptionalInputValue<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType, String>(metricType, (value) => value.wireValue),
    'onlyFinalAttempt': ?onlyFinalAttempt,
    'thresholdType': ?pulumi.Input.mapOptionalInputValue<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType, String>(thresholdType, (value) => value.wireValue),
    'thresholdValue': ?pulumi.Input.mapOptionalInputValue<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue, Map<String, dynamic>>(thresholdValue, (value) => value.toMap()),
  };
}