GoogleCloudPolicytroubleshooterV1ExplainedPolicy.fromJson constructor

GoogleCloudPolicytroubleshooterV1ExplainedPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicytroubleshooterV1ExplainedPolicy.fromJson(core.Map json_)
    : this(
        access: json_.containsKey('access')
            ? json_['access'] as core.String
            : null,
        bindingExplanations: json_.containsKey('bindingExplanations')
            ? (json_['bindingExplanations'] as core.List)
                .map((value) =>
                    GoogleCloudPolicytroubleshooterV1BindingExplanation
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        fullResourceName: json_.containsKey('fullResourceName')
            ? json_['fullResourceName'] as core.String
            : null,
        policy: json_.containsKey('policy')
            ? GoogleIamV1Policy.fromJson(
                json_['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        relevance: json_.containsKey('relevance')
            ? json_['relevance'] as core.String
            : null,
      );