AnalyzeOrgPolicyGovernedAssetsResponse.fromJson constructor

AnalyzeOrgPolicyGovernedAssetsResponse.fromJson(
  1. Map json_
)

Implementation

AnalyzeOrgPolicyGovernedAssetsResponse.fromJson(core.Map json_)
    : this(
        constraint: json_.containsKey('constraint')
            ? AnalyzerOrgPolicyConstraint.fromJson(
                json_['constraint'] as core.Map<core.String, core.dynamic>)
            : null,
        governedAssets: json_.containsKey('governedAssets')
            ? (json_['governedAssets'] as core.List)
                .map((value) =>
                    GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );