GoogleCloudPolicysimulatorV1beta1AccessStateDiff.fromJson constructor

GoogleCloudPolicysimulatorV1beta1AccessStateDiff.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicysimulatorV1beta1AccessStateDiff.fromJson(core.Map _json)
    : this(
        accessChange: _json.containsKey('accessChange')
            ? _json['accessChange'] as core.String
            : null,
        baseline: _json.containsKey('baseline')
            ? GoogleCloudPolicysimulatorV1beta1ExplainedAccess.fromJson(
                _json['baseline'] as core.Map<core.String, core.dynamic>)
            : null,
        simulated: _json.containsKey('simulated')
            ? GoogleCloudPolicysimulatorV1beta1ExplainedAccess.fromJson(
                _json['simulated'] as core.Map<core.String, core.dynamic>)
            : null,
      );