GoogleCloudPolicysimulatorV1ReplayConfig.fromJson constructor

GoogleCloudPolicysimulatorV1ReplayConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ReplayConfig.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, value) => core.MapEntry(
                  key,
                  GoogleIamV1Policy.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );