GoogleCloudAssetV1Rule.fromJson constructor

GoogleCloudAssetV1Rule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1Rule.fromJson(core.Map json_)
    : this(
        allowAll: json_.containsKey('allowAll')
            ? json_['allowAll'] as core.bool
            : null,
        condition: json_.containsKey('condition')
            ? Expr.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        conditionEvaluation: json_.containsKey('conditionEvaluation')
            ? ConditionEvaluation.fromJson(json_['conditionEvaluation']
                as core.Map<core.String, core.dynamic>)
            : null,
        denyAll: json_.containsKey('denyAll')
            ? json_['denyAll'] as core.bool
            : null,
        enforce: json_.containsKey('enforce')
            ? json_['enforce'] as core.bool
            : null,
        values: json_.containsKey('values')
            ? GoogleCloudAssetV1StringValues.fromJson(
                json_['values'] as core.Map<core.String, core.dynamic>)
            : null,
      );