GoogleCloudDatacatalogV1SearchCatalogRequestScope.fromJson constructor

GoogleCloudDatacatalogV1SearchCatalogRequestScope.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogV1SearchCatalogRequestScope.fromJson(core.Map json_)
    : this(
        includeGcpPublicDatasets:
            json_.containsKey('includeGcpPublicDatasets')
                ? json_['includeGcpPublicDatasets'] as core.bool
                : null,
        includeOrgIds: json_.containsKey('includeOrgIds')
            ? (json_['includeOrgIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includeProjectIds: json_.containsKey('includeProjectIds')
            ? (json_['includeProjectIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includePublicTagTemplates:
            json_.containsKey('includePublicTagTemplates')
                ? json_['includePublicTagTemplates'] as core.bool
                : null,
        restrictedLocations: json_.containsKey('restrictedLocations')
            ? (json_['restrictedLocations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        starredOnly: json_.containsKey('starredOnly')
            ? json_['starredOnly'] as core.bool
            : null,
      );