GoogleCloudAssetV1GovernedContainer.fromJson constructor

GoogleCloudAssetV1GovernedContainer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1GovernedContainer.fromJson(core.Map json_)
    : this(
        consolidatedPolicy: json_.containsKey('consolidatedPolicy')
            ? AnalyzerOrgPolicy.fromJson(json_['consolidatedPolicy']
                as core.Map<core.String, core.dynamic>)
            : 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,
        policyBundle: json_.containsKey('policyBundle')
            ? (json_['policyBundle'] as core.List)
                .map((value) => AnalyzerOrgPolicy.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
      );