GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope.fromJson constructor

GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope.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<core.String>((value) => value as core.String)
                .toList()
            : null,
        includeProjectIds: _json.containsKey('includeProjectIds')
            ? (_json['includeProjectIds'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        restrictedLocations: _json.containsKey('restrictedLocations')
            ? (_json['restrictedLocations'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );