GoogleCloudSecuritycenterV1CustomConfig.fromJson constructor
GoogleCloudSecuritycenterV1CustomConfig.fromJson(
- 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_['description'] as core.String?,
predicate: json_.containsKey('predicate')
? Expr.fromJson(
json_['predicate'] as core.Map<core.String, core.dynamic>)
: null,
recommendation: json_['recommendation'] as core.String?,
resourceSelector: json_.containsKey('resourceSelector')
? GoogleCloudSecuritycenterV1ResourceSelector.fromJson(
json_['resourceSelector']
as core.Map<core.String, core.dynamic>)
: null,
severity: json_['severity'] as core.String?,
);