SimulateSecurityHealthAnalyticsCustomModuleRequest.fromJson constructor

SimulateSecurityHealthAnalyticsCustomModuleRequest.fromJson(
  1. Map json_
)

Implementation

SimulateSecurityHealthAnalyticsCustomModuleRequest.fromJson(core.Map json_)
    : this(
        customConfig: json_.containsKey('customConfig')
            ? GoogleCloudSecuritycenterV1CustomConfig.fromJson(
                json_['customConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        resource: json_.containsKey('resource')
            ? SimulatedResource.fromJson(
                json_['resource'] as core.Map<core.String, core.dynamic>)
            : null,
      );