GoogleCloudDatacatalogV1Taxonomy.fromJson constructor

GoogleCloudDatacatalogV1Taxonomy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogV1Taxonomy.fromJson(core.Map json_)
    : this(
        activatedPolicyTypes: json_.containsKey('activatedPolicyTypes')
            ? (json_['activatedPolicyTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policyTagCount: json_.containsKey('policyTagCount')
            ? json_['policyTagCount'] as core.int
            : null,
        service: json_.containsKey('service')
            ? GoogleCloudDatacatalogV1TaxonomyService.fromJson(
                json_['service'] as core.Map<core.String, core.dynamic>)
            : null,
        taxonomyTimestamps: json_.containsKey('taxonomyTimestamps')
            ? GoogleCloudDatacatalogV1SystemTimestamps.fromJson(
                json_['taxonomyTimestamps']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );