GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts.fromJson constructor
GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts.fromJson(
- Map json_
Implementation
GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts.fromJson(
core.Map json_)
: this(
compliant: json_.containsKey('compliant')
? json_['compliant'] as core.int
: null,
errors:
json_.containsKey('errors') ? json_['errors'] as core.int : null,
noncompliant: json_.containsKey('noncompliant')
? json_['noncompliant'] as core.int
: null,
scanned: json_.containsKey('scanned')
? json_['scanned'] as core.int
: null,
unenforced: json_.containsKey('unenforced')
? json_['unenforced'] as core.int
: null,
);