OrganizationSecurityHealthAnalyticsSettingCustomModuleArgs.fromMap constructor

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

Implementation

factory OrganizationSecurityHealthAnalyticsSettingCustomModuleArgs.fromMap(Map<String, dynamic> map) {
  return OrganizationSecurityHealthAnalyticsSettingCustomModuleArgs(
    customConfig: (() { final guardedValue = map['customConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudSecuritycenterV1CustomConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    displayName: (() { final guardedValue = map['displayName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    enablementState: (() { final guardedValue = map['enablementState']; if (guardedValue == null) return null; return pulumi.Input.fromValue(OrganizationSecurityHealthAnalyticsSettingCustomModuleEnablementState.fromValue(guardedValue as String)); })(),
    name: (() { final guardedValue = map['name']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    organizationId: pulumi.Input.fromValue(map['organizationId'] as String),
  );
}