GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset.fromJson constructor
GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset.fromJson(
- Map json_
Implementation
GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset.fromJson(
core.Map json_)
: this(
consolidatedPolicy: json_.containsKey('consolidatedPolicy')
? AnalyzerOrgPolicy.fromJson(json_['consolidatedPolicy']
as core.Map<core.String, core.dynamic>)
: null,
governedIamPolicy: json_.containsKey('governedIamPolicy')
? GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
.fromJson(json_['governedIamPolicy']
as core.Map<core.String, core.dynamic>)
: null,
governedResource: json_.containsKey('governedResource')
? GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
.fromJson(json_['governedResource']
as core.Map<core.String, core.dynamic>)
: null,
policyBundle: json_.containsKey('policyBundle')
? (json_['policyBundle'] as core.List)
.map((value) => AnalyzerOrgPolicy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);