GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson constructor

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson(
    core.Map json_)
    : this(
        access: json_.containsKey('access')
            ? json_['access'] as core.String
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => GoogleRpcStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        explainedPolicies: json_.containsKey('explainedPolicies')
            ? (json_['explainedPolicies'] as core.List)
                .map((value) =>
                    GoogleCloudPolicytroubleshooterV1ExplainedPolicy.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );