GoogleCloudSecuritycenterV1CustomConfig.fromJson constructor

GoogleCloudSecuritycenterV1CustomConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudSecuritycenterV1CustomConfig.fromJson(core.Map json_)
    : this(
        customOutput: json_.containsKey('customOutput')
            ? GoogleCloudSecuritycenterV1CustomOutputSpec.fromJson(
                json_['customOutput'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        predicate: json_.containsKey('predicate')
            ? Expr.fromJson(
                json_['predicate'] as core.Map<core.String, core.dynamic>)
            : null,
        recommendation: json_.containsKey('recommendation')
            ? json_['recommendation'] as core.String
            : null,
        resourceSelector: json_.containsKey('resourceSelector')
            ? GoogleCloudSecuritycenterV1ResourceSelector.fromJson(
                json_['resourceSelector']
                    as core.Map<core.String, core.dynamic>)
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
      );