GoogleCloudPolicysimulatorV1beta1ReplayConfig.fromJson constructor

GoogleCloudPolicysimulatorV1beta1ReplayConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicysimulatorV1beta1ReplayConfig.fromJson(core.Map _json)
    : this(
        logSource: _json.containsKey('logSource')
            ? _json['logSource'] as core.String
            : null,
        policyOverlay: _json.containsKey('policyOverlay')
            ? (_json['policyOverlay'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, item) => core.MapEntry(
                  key,
                  GoogleIamV1Policy.fromJson(
                      item as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );