GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource.fromJson constructor

GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource.fromJson(
    core.Map json_)
    : this(
        assetType: json_.containsKey('assetType')
            ? json_['assetType'] as core.String
            : null,
        effectiveTags: json_.containsKey('effectiveTags')
            ? (json_['effectiveTags'] as core.List)
                .map((value) => EffectiveTagDetails.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        folders: json_.containsKey('folders')
            ? (json_['folders'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fullResourceName: json_.containsKey('fullResourceName')
            ? json_['fullResourceName'] as core.String
            : null,
        organization: json_.containsKey('organization')
            ? json_['organization'] as core.String
            : null,
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
      );