DataRetentionConfig.fromJson constructor

DataRetentionConfig.fromJson(
  1. Map json_
)

Implementation

DataRetentionConfig.fromJson(core.Map json_)
    : this(
        airflowMetadataRetentionConfig:
            json_.containsKey('airflowMetadataRetentionConfig')
                ? AirflowMetadataRetentionPolicyConfig.fromJson(
                    json_['airflowMetadataRetentionConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        taskLogsRetentionConfig: json_.containsKey('taskLogsRetentionConfig')
            ? TaskLogsRetentionConfig.fromJson(
                json_['taskLogsRetentionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );