GoogleCloudDataplexV1AssetDiscoverySpec.fromJson constructor

GoogleCloudDataplexV1AssetDiscoverySpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1AssetDiscoverySpec.fromJson(core.Map json_)
    : this(
        csvOptions: json_.containsKey('csvOptions')
            ? GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions.fromJson(
                json_['csvOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        excludePatterns: json_.containsKey('excludePatterns')
            ? (json_['excludePatterns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includePatterns: json_.containsKey('includePatterns')
            ? (json_['includePatterns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        jsonOptions: json_.containsKey('jsonOptions')
            ? GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions.fromJson(
                json_['jsonOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? json_['schedule'] as core.String
            : null,
      );