GoogleCloudAssetV1AccessControlList.fromJson constructor

GoogleCloudAssetV1AccessControlList.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1AccessControlList.fromJson(core.Map json_)
    : this(
        accesses: json_.containsKey('accesses')
            ? (json_['accesses'] as core.List)
                .map((value) => GoogleCloudAssetV1Access.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        conditionEvaluation: json_.containsKey('conditionEvaluation')
            ? ConditionEvaluation.fromJson(json_['conditionEvaluation']
                as core.Map<core.String, core.dynamic>)
            : null,
        resourceEdges: json_.containsKey('resourceEdges')
            ? (json_['resourceEdges'] as core.List)
                .map((value) => GoogleCloudAssetV1Edge.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        resources: json_.containsKey('resources')
            ? (json_['resources'] as core.List)
                .map((value) => GoogleCloudAssetV1Resource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );