GoogleIamV2DenyRule.fromJson constructor

GoogleIamV2DenyRule.fromJson(
  1. Map json_
)

Implementation

GoogleIamV2DenyRule.fromJson(core.Map json_)
    : this(
        denialCondition: json_.containsKey('denialCondition')
            ? GoogleTypeExpr.fromJson(json_['denialCondition']
                as core.Map<core.String, core.dynamic>)
            : null,
        deniedPermissions: json_.containsKey('deniedPermissions')
            ? (json_['deniedPermissions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        deniedPrincipals: json_.containsKey('deniedPrincipals')
            ? (json_['deniedPrincipals'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        exceptionPermissions: json_.containsKey('exceptionPermissions')
            ? (json_['exceptionPermissions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        exceptionPrincipals: json_.containsKey('exceptionPrincipals')
            ? (json_['exceptionPrincipals'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );