GoogleCloudDataplexV1StorageFormat.fromJson constructor

GoogleCloudDataplexV1StorageFormat.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1StorageFormat.fromJson(core.Map json_)
    : this(
        compressionFormat: json_.containsKey('compressionFormat')
            ? json_['compressionFormat'] as core.String
            : null,
        csv: json_.containsKey('csv')
            ? GoogleCloudDataplexV1StorageFormatCsvOptions.fromJson(
                json_['csv'] as core.Map<core.String, core.dynamic>)
            : null,
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        iceberg: json_.containsKey('iceberg')
            ? GoogleCloudDataplexV1StorageFormatIcebergOptions.fromJson(
                json_['iceberg'] as core.Map<core.String, core.dynamic>)
            : null,
        json: json_.containsKey('json')
            ? GoogleCloudDataplexV1StorageFormatJsonOptions.fromJson(
                json_['json'] as core.Map<core.String, core.dynamic>)
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
      );