GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy.fromJson constructor

GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy.fromJson(
    core.Map json_)
    : this(
        assetType: json_.containsKey('assetType')
            ? json_['assetType'] as core.String
            : null,
        attachedResource: json_.containsKey('attachedResource')
            ? json_['attachedResource'] as core.String
            : null,
        folders: json_.containsKey('folders')
            ? (json_['folders'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        organization: json_.containsKey('organization')
            ? json_['organization'] as core.String
            : null,
        policy: json_.containsKey('policy')
            ? Policy.fromJson(
                json_['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
      );