AuthzPolicyAuthzRuleFromRequestSource.fromJson constructor

AuthzPolicyAuthzRuleFromRequestSource.fromJson(
  1. Map json_
)

Implementation

AuthzPolicyAuthzRuleFromRequestSource.fromJson(core.Map json_)
    : this(
        principals: (json_['principals'] as core.List?)
            ?.map((value) => AuthzPolicyAuthzRuleStringMatch.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        resources: (json_['resources'] as core.List?)
            ?.map((value) => AuthzPolicyAuthzRuleRequestResource.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );