def by_named_location_id(self,named_location_id: str) -> NamedLocationItemRequestBuilder:
        """
        Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity.
        param named_location_id: The unique identifier of namedLocation
        Returns: NamedLocationItemRequestBuilder
        """
        if named_location_id is None:
            raise TypeError("named_location_id cannot be null.")
        from .item.named_location_item_request_builder import NamedLocationItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["namedLocation%2Did"] = named_location_id
        return NamedLocationItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity.
        param named_location_id: The unique identifier of namedLocation
        Returns: NamedLocationItemRequestBuilder
        
msgraph/generated/identity/conditional_access/named_locations/named_locations_request_builder.py