GoogleCloudPolicysimulatorV1OrgPolicyViolation.fromJson constructor
GoogleCloudPolicysimulatorV1OrgPolicyViolation.fromJson(
- Map json_
Implementation
GoogleCloudPolicysimulatorV1OrgPolicyViolation.fromJson(core.Map json_)
: this(
customConstraint: json_.containsKey('customConstraint')
? GoogleCloudOrgpolicyV2CustomConstraint.fromJson(
json_['customConstraint']
as core.Map<core.String, core.dynamic>)
: null,
error: json_.containsKey('error')
? GoogleRpcStatus.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
resource: json_.containsKey('resource')
? GoogleCloudPolicysimulatorV1ResourceContext.fromJson(
json_['resource'] as core.Map<core.String, core.dynamic>)
: null,
);