IamPolicyAnalysisResult.fromJson constructor

IamPolicyAnalysisResult.fromJson(
  1. Map json_
)

Implementation

IamPolicyAnalysisResult.fromJson(core.Map json_)
    : this(
        accessControlLists: json_.containsKey('accessControlLists')
            ? (json_['accessControlLists'] as core.List)
                .map((value) => GoogleCloudAssetV1AccessControlList.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        attachedResourceFullName:
            json_.containsKey('attachedResourceFullName')
                ? json_['attachedResourceFullName'] as core.String
                : null,
        fullyExplored: json_.containsKey('fullyExplored')
            ? json_['fullyExplored'] as core.bool
            : null,
        iamBinding: json_.containsKey('iamBinding')
            ? Binding.fromJson(
                json_['iamBinding'] as core.Map<core.String, core.dynamic>)
            : null,
        identityList: json_.containsKey('identityList')
            ? GoogleCloudAssetV1IdentityList.fromJson(
                json_['identityList'] as core.Map<core.String, core.dynamic>)
            : null,
      );