$GoogleCloudOrgpolicyV2CustomConstraint.fromJson constructor
$GoogleCloudOrgpolicyV2CustomConstraint.fromJson(
- Map json_
Implementation
$GoogleCloudOrgpolicyV2CustomConstraint.fromJson(core.Map json_)
: this(
actionType: json_.containsKey('actionType')
? json_['actionType'] as core.String
: null,
condition: json_.containsKey('condition')
? json_['condition'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
methodTypes: json_.containsKey('methodTypes')
? (json_['methodTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
resourceTypes: json_.containsKey('resourceTypes')
? (json_['resourceTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);