GoogleCloudDataplexV1ZoneDiscoverySpec.fromJson constructor

GoogleCloudDataplexV1ZoneDiscoverySpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1ZoneDiscoverySpec.fromJson(core.Map json_)
    : this(
        csvOptions: json_.containsKey('csvOptions')
            ? GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions.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')
            ? GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions.fromJson(
                json_['jsonOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? json_['schedule'] as core.String
            : null,
      );