GoogleCloudDatacatalogV1beta1GcsFilesetSpec.fromJson constructor

GoogleCloudDatacatalogV1beta1GcsFilesetSpec.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1GcsFilesetSpec.fromJson(core.Map _json)
    : this(
        filePatterns: _json.containsKey('filePatterns')
            ? (_json['filePatterns'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        sampleGcsFileSpecs: _json.containsKey('sampleGcsFileSpecs')
            ? (_json['sampleGcsFileSpecs'] as core.List)
                .map<GoogleCloudDatacatalogV1beta1GcsFileSpec>((value) =>
                    GoogleCloudDatacatalogV1beta1GcsFileSpec.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );